Gaetano Bigliardi wrote:
but the problem is thet when I do:

netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');

there is an error like this:

Error: [Exception... "'enablePrivilege not granted' when calling method:
[nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]

You probably need to sign your script. See http://www.mozilla.org/projects/security/components/signed-scripts.html


David Bradley




Reply via email to