Mitchell,

It turns out that I needed to add       
netscape.security.PrivilegeManager.enablePrivilege
        ("UniversalXPConnect");
back into the function that was creating accessing the socket
Interface.
Otherwise those lines added to ther prefs.js file were the ticket.

Thanks Again for the help,

James Warner
[EMAIL PROTECTED]

Mitchell Stoltz <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> James,
>     Remote chrome is a proposed feature that hasn't actually been 
> implemented yet. It is possible to configure Mozilla to allow remote XUL 
> files (loaded as content, not as chrome) to call XPCOM interfaces. Try 
> adding these lines to the prefs.js file in your user profile directory 
> while Mozilla is not running:
> 
> user_pref("signed.applets.codebase_principal_support", true);
> user_pref("capability.principal.codebase.fullaccess.id", 
> "http://myhost.com:1234";);
> user_pref("capability.principal.codebase.fullaccess.granted", 
> "UniversalXPConnect");
> 
> Replace "http://myhost.com:1234"; with the hostname and port from which 
> your xul content will be served. "http://localhost:1234"; should work 
> fine if that's what you're using.
>      good luck,
>            Mitch Stoltz
> 
> 
> James Warner wrote:
> 
> > I apologize if this question has already been answered completely, but
> > I've been unable to find any definitive documentation and my own Xul
> > experiments have left me somewhat confused.
> > 
> > Anyway, my question is whether it is possible to disable the security
> > manager so that Xul files can be sent over an http url and then
> > execute XpCom style interface's inside of the JavaScript code
> > associated with that Xul file.  I know that I can use chrome to
> > accomplish such a thing if the chrome is set up properly inside of the
> > mozilla chrome directory, but that is a different thing entirely than
> > doing it over http.  Anyway ideally what I would like to be able to do
> > is get the Xul Data over http and post it back to another application
> > listening on a different Socket.  I have seen references to remote
> > chrome, which looks like it allows for sending Xul remotely, but I am
> > wondering what setup is required to allow remote chrome and if it
> > allows for executing XpConnect/XpCom interfaces or if that is
> > prohibited as well?
> > 
> > BTW I do realize that from a Web Browser security standpoint this is
> > not a desirable thing to do, but from the implementation of a
> > generalized application's development toolkit it would seem that being
> > able to do something like this would be desirable (at least for my
> > current project it seem's like a great thing to do).
> > 
> > Thank's in Advance for the Input,
> > 
> > James Warner
> > mailto:[EMAIL PROTECTED]
> >

Reply via email to