Hi Igor,

Can you please help me to understand the point - "Only script running in chrome 
(basically, in FireFox extensions) can
access XPCOM components". Excuse for my ignorance.

I was able to use SQLite in Internet Explorer using client side ADO. I am 
looking for a similar solution for Firefox.
Is there any way in which I can achieve this without using any Firefox 
extensions?

Thanks,
Ujval

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Tandetnik
Sent: Tuesday, June 10, 2008 5:32 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Accessing SQLite from Javascript in Firefox

"Ujval Mysore" <[EMAIL PROTECTED]>
wrote in message
news:[EMAIL PROTECTED]
> Has anyone tried accessing SQLite from Javascript in Firefox?
>
> I found an Sqlite helper library for Mozilla at
> http://codesnippets.joyent.com/posts/show/1030 .
>
> But when I try to execute the same, firefox throws the following
> exception
> uncaught exception: Permission denied to get property
> UnnamedClass.classes
>
> Any clues what this exception means?

Only script running in chrome (basically, in FireFox extensions) can
access XPCOM components, including Mozilla Storage ones. Script running
on an HTML page cannot, for security reasons. Hence "permission denied".

Igor Tandetnik



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to