Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

xpconnect broken after upgrading to xulrunner1928 from xulrunner1907

25 views
Skip to first unread message

sden...@rocketmail.com

unread,
Oct 16, 2012, 11:53:39 PM10/16/12
to
I have a system that leverages xulrunner1907 on Solaris 10 that works fine for using embedding xulrunner in a C++ application. XPConnect is used in javascript to access custom XPCOM C++ components. I load html files from "file://". I've worked through all the deployment issues dealing with:

preferences:
security.fileuri.strict_origin_policy = false
javascript file updates to allow xpcom access:
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

But now we're porting to Linux and I'm upgrading to xulrunner1928 on RedHat Linux and I'm getting script denial errors:
script from file:// was denied UniversalXPConnect privileges

Any ideas of where to start looking? I can see xpconnect/chrome.manifest changes with gecko2.0, but I don't think I should have to do those upgrades since I'm still working with xulrunner 1.9.2.8.

sden...@rocketmail.com

unread,
Oct 17, 2012, 12:02:15 AM10/17/12
to
***********
Also, I do also have the system preferences set to enable UniversalXPConnect:
pref("capability.principal.codebase.p0.granted",
"UniversalXPConnect");
pref("capability.principal.codebase.p0.id", "file://");
0 new messages