[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-security
Subject:    Re: Script getting denied
From:       Martin Honnen <mahotrash () yahoo ! de>
Date:       2004-04-23 11:02:43
Message-ID: c6at4n$1453 () ripley ! netscape ! com
[Download RAW message or body]



Aaron Leventhal wrote:

> I keep getting a privilege error in my nsIAccessible test page, even 
> though it uses
>  netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
> 
> http://www.mozilla.org/projects/ui/accessibility/Javascript-nsIAccessible.html 
> 
> 
> Error: uncaught exception: A script from "http://www.mozilla.org" was 
> denied UniversalXPConnect privileges.
> 
> It works when I run it from my local hard drive.

You need to sign your script if you want to ask for privileges to be 
granted in a page loaded via HTTP.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/

_______________________________________________
Mozilla-security mailing list
Mozilla-security@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-security
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic