On Mon, Aug 18, 2014 at 1:14 PM, Jed Davis <j...@mozilla.com> wrote:

> Bobby Holley <bobbyhol...@gmail.com> writes:
> [...]
> > If you find yourself itching to do something complicated, write a
> > mochitest-chrome test. The default template [2] now generates html files
> > (rather then XUL files), so the ergonomics there should be easier than
> > before.
> >
> > If you don't want to write a mochitest-chrome test for some reason, you
> can
> > also use SpecialPowers.loadChromeScript(uri), which lets mochitest-plain
> > asynchronously load a privileged JS file in its own privileged scope.
>
> On e10s-enabled platforms, does loadChromeScript run the script in the
> parent process?


It operates over the message manager, so I believe that it does:
http://mxr.mozilla.org/mozilla-central/source/testing/specialpowers/content/SpecialPowersObserverAPI.js#346
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to