Michael Vincent van Rantwijk, MultiZilla wrote: > Yeah, I already looked at it, and I think that this JS equivalent is > what it does (hopefully) right? > > const Cc = Components.classes; > const Ci = Components.interfaces; > var secMan = > Cc["@mozilla.org/scriptsecuritymanager;1"].getService(Ci.nsIScriptSecurityManager); > > > channel.owner = secMan.getCodebasePrincipal(aURI);
Looks right, yes. -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
