зеркало из https://github.com/mozilla/gecko-dev.git
b904b2d437
Prior to this change, SpecialPowers used the extension id to identiy extension instances in inter-process messaging. This required that an id be allocated from the content process side when loadExtension() was called, but that made it impossible to test code that exercises the code path in the AddonManager that allocates ids for extensions that do not include an id in the manifest (it also made the loadExtension() api clunky). With this change, SpecialPowers allocates an internal identifier for messaging, but this identifier is separate from extension ids. Confusingly, we still store the actual extension id in an id property on the object returned by loadExtension(), but there are enough tests that reference this that it would be unnecessarily disruptive to get rid of it so it stays for now... MozReview-Commit-ID: G6xk1mBJJL8 --HG-- extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7 extra : source : e8818ef3c28489e196d1db92cabf224861b693c9 |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
MochiKit | ||
chrome | ||
dynamic | ||
embed | ||
manifests | ||
pywebsocket | ||
ssltunnel | ||
static | ||
tests | ||
Makefile.in | ||
README.txt | ||
ShutdownLeaksCollector.jsm | ||
bisection.py | ||
bootstrap.js | ||
browser-harness.xul | ||
browser-test-overlay.xul | ||
browser-test.js | ||
browser.eslintrc | ||
cc-analyzer.js | ||
chrome-harness.js | ||
chrome.eslintrc | ||
chunkifyTests.js | ||
gen_template.pl | ||
harness.xul | ||
install.rdf | ||
jar.mn | ||
jetpack-addon-harness.js | ||
jetpack-addon-overlay.xul | ||
jetpack-package-harness.js | ||
jetpack-package-overlay.xul | ||
leaks.py | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
manifest.webapp | ||
manifestLibrary.js | ||
mochitest-e10s-utils.js | ||
mochitest.eslintrc | ||
mochitest_options.py | ||
moz.build | ||
nested_setup.js | ||
pywebsocket_wrapper.py | ||
redirect.html | ||
runrobocop.py | ||
runtests.py | ||
runtestsb2g.py | ||
runtestsremote.py | ||
server.js | ||
shutdown-leaks-collector.js | ||
start_b2g.js | ||
start_desktop.js |
README.txt
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.