зеркало из https://github.com/mozilla/gecko-dev.git
31e39883db
SpecialPowers.loadChromeScript() sends a script to the child process, then creates a sandbox, and runs the script in that sandbox. There are various sandboxOptions that can be passed when creating a sandbox, and it would be nice to have that functionality for loadChromeScript. I just need this for wantGlobalProperties, but I might as well make it as general as possible. I'm not sure all of the types it can take can actually be serialized across processes, but I guess that's okay. MozReview-Commit-ID: GoJjXdjizFk --HG-- extra : rebase_source : 9c2bc190dbf5a080978953cffd64205e8b816367 |
||
---|---|---|
.. | ||
empty.html | ||
file_loadinfo_redirectchain.sjs | ||
method.sjs | ||
mochitest.ini | ||
partial_content.sjs | ||
redirect.sjs | ||
redirect_idn.html | ||
redirect_idn.html^headers^ | ||
rel_preconnect.sjs | ||
signed_web_packaged_app.sjs | ||
test_arraybufferinputstream.html | ||
test_idn_redirect.html | ||
test_loadinfo_redirectchain.html | ||
test_partially_cached_content.html | ||
test_redirect_ref.html | ||
test_rel_preconnect.html | ||
test_uri_scheme.html | ||
test_user_agent_overrides.html | ||
test_user_agent_updates.html | ||
test_user_agent_updates_reset.html | ||
test_viewsource_unlinkable.html | ||
test_xhr_method_case.html | ||
user_agent.sjs | ||
user_agent_update.sjs | ||
web_packaged_app.sjs |