Re: newbie UniversalXPConnect problem

Phil Wilson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Thanks Christian,

I'm trying to run my file locally, and it will always be run locally.

The privilege is refused when I try and run it locally - whether it be 
from within my file manager or through a local webserver.

Of course, in typical newbie style, "It worked yesterday" and I really 
don't see what I'm doing wrong.

My code is this:

try
{ 
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
}
catch (e)
{
   alert("Universal Connect was refused");
}

and the exception is always thrown.

Christian Biesinger wrote:
> Phil Wilson wrote:
> 
>> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
> 
> 
> To use that, that code must either be a local file, a signed script, or 
> codebase principal support must be enabled (with a pref:
> user_pref("signed.applets.codebase_principal_support", true);
> )
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.