зеркало из https://github.com/mozilla/gecko-dev.git
585fbe6cec
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore. MozReview-Commit-ID: 1beGB5GG8Ty --HG-- extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94 extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685 extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71 |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
MochiKit | ||
chrome | ||
dynamic | ||
embed | ||
manifests | ||
pywebsocket | ||
ssltunnel | ||
static | ||
tests | ||
Makefile.in | ||
README.txt | ||
ShutdownLeaksCollector.jsm | ||
__init__.py | ||
bisection.py | ||
bootstrap.js | ||
browser-harness.xul | ||
browser-test-overlay.xul | ||
browser-test.js | ||
chrome-harness.js | ||
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_options.py | ||
moz.build | ||
nested_setup.js | ||
pywebsocket_wrapper.py | ||
redirect.html | ||
rungeckoview.py | ||
runrobocop.py | ||
runtests.py | ||
runtestsremote.py | ||
server.js | ||
shutdown-leaks-collector.js | ||
start_desktop.js |
README.txt
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.