[Jslib] SQL XPCOM Methods

Gordan Bobic gordan at bobich.net
Wed Mar 30 17:04:44 EST 2005


Stephen Knight wrote:
> Gordan Bobic wrote:
> [snip]
> 
>>
>>
>> mozISqlService
>> mozISqlRequestObserver
>> mozISqlResultEnumerator
>> mozISqlResultPgsql
>> mozISqlInputStream
>> mozISqlConnectionPgsql
>> mozISqlResult
>> mozISqlRequest
>> mozISqlDataSource
>> mozISqlConnection
>>
>>
>>> js> for (var list in Components.classes)
>>>      if (/sql/i.test(list))
>>>        print(list);
>>
>>
>>
>> That comes up empty. :-(
> 
> 
> Does "chrome://sqltest/content/" work correctly?  (I've never run it 
> myself, so I have no idea as to good vs. bad resposne).

"The file /content/sqltest.xul cannot be found. Please check the 
location and try again."

I take it that's a bad response...

> Considering the info on this page 
> (http://www.mozilla.org/projects/sql/), it doesn't look like sql support 
> is automatically built in to mozilla.  However, 
> https://addons.update.mozilla.org/extensions/moreinfo.php?application=mozilla&version=1.7&os=all&category=Developer%20Tools&numpg=10&id=409 
> 
> states that Mozilla 1.7 is required.

I am aware of that, and I did install the component via XPI from 
addons.update.mozilla.org.

Gordan


More information about the Jslib mailing list