Re: Xulrunner upgrade from 1.9 to 6.0.2
Rohit Sarpotdar <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <4d4f3895-8313-41ed-b24d-5afeffa156ff@i28g2000yqn.googlegroups.com> |
netscape.security.PrivilegeManager.enablePrivilege( "UniversalXPConnect" ); const Cc = Components.classes; const Ci = Components.interfaces; var uri = Cc["@mozilla.org/network/io-service; 1"].getService(Ci.nsIIOService).newURI(domainUrl, null, null); Cc["@mozilla.org/permissionmanager; 1"].getService(Ci.nsIPermissionManager).add(uri, "allowXULXBL", 1); here domainUrl is your url which you want to whitelist. Thanks to Remote XUL manager extension. I deduced this code from that extension. :) This was required to whitelist my domain url ! While launching remote url you can put this code before window.open(); @Pernot : yes that was required. Thanks. A top level chrome.manifest with one line to point to internal chrome.manifest. Right now, i'm having trouble using tree component. Do I need to do anything else? On jconsole its again showing security error. What permissions should it need?