Re: Components.classes problem to load
Raphael Bauduin <[email protected]> Tue, 31 Dec 2002 12:18:24 +0100
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | [ posted via Easynet Belgium ] |
| Message-ID | <[email protected]> |
Discovering som things :-)
To get the needed privileges, I ned to execute this in my script before I
try to access the Components.classes:
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
However, as I'm working with remote scripts,I get
Error: uncaught exception: enablePrivilege not granted
It seems I would have to sign my scripts (with the HTML page) to get it
working, but as everything I access is generated with PHP, this is not an
option (it seems it's not possible to sign only the javascript).
Any idea?
thanks.
Raph