How do I make the principal of the XMLDocument match? Is there a way I can set/change the principal after retrieving the XMLDocument?
Thanks, James Boris Zbarsky wrote: > James Newell wrote: > > This did not work as I get errors when my epaedia protocol tries to get the > > "epaedia://packagename/package.xml" itself. I figured that because > > requests for the "package.xml" file are special, and just return the > > document without loading "package.xml", that when another file is > > requested and the XML doc is retrieved within the request that it would > > be successful. > > I'm not sure I follow this... > > > Is there any way I can make the unprivileged script not need > > permissions for this XMLDocument? > > Other than making the principal of the XMLDocument match that of the untrusted > script, not really. > > -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
