gecko-dev/testing/mochitest
Paolo Amadini 585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
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
2017-06-18 08:05:06 +01:00
..
BrowserTestUtils Bug 1351358 Part 6 prologue: Allow BrowserTestUtils.waitForNewTab to optionally wait for the page in the new tab to load. r=Gijs 2017-05-18 12:08:57 +01:00
MochiKit Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8 2017-04-12 11:10:00 +01:00
chrome
dynamic
embed
manifests Bug 1352333 - remove autophone webrtc test manifests, r=dminor. 2017-04-20 14:13:34 -07:00
pywebsocket
ssltunnel Bug 1338086 - Remove useless else blocks in order to reduce complexity testing/mochitest/ssltunnel/ r=jmaher 2017-02-09 10:53:11 +01:00
static
tests Bug 1048446 - [python-test] Create a mochitest selftest harness, r=jmaher 2017-05-31 13:52:01 -04:00
Makefile.in Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian,bustage-fix 2017-05-03 19:20:58 +02:00
README.txt
ShutdownLeaksCollector.jsm Bug 1256472 - Make ShutdownLeaksCollector do more aggressive GCing and CCing to avoid erroneous shutdown leak reports in tests. r=mccr8 2017-03-18 12:48:42 -04:00
__init__.py
bisection.py
bootstrap.js Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
browser-harness.xul Backed out changeset 6da58c7bb247 (bug 1365649) for frequently failing devtools/client/netmonitor/test/browser_net_simple-request-data.js. r=backout 2017-05-28 11:32:16 +02:00
browser-test-overlay.xul
browser-test.js Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop 2017-06-18 08:05:06 +01:00
chrome-harness.js
chunkifyTests.js
gen_template.pl
harness.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
install.rdf
jar.mn Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
jetpack-addon-harness.js Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
jetpack-addon-overlay.xul
jetpack-package-harness.js
jetpack-package-overlay.xul
leaks.py Bug 1355834 - Report LLVM symbolizer OOMs as errors. r=jgraham 2017-04-12 11:01:24 -07:00
mach_commands.py Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik 2017-04-07 14:53:19 -04:00
mach_test_package_commands.py Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher 2017-01-31 11:53:36 -05:00
manifest.webapp
manifestLibrary.js
mochitest-e10s-utils.js
mochitest_options.py Bug 1048446 - [mochitest] Check for a modules dir in the parent directory even if there is a build, r=gbrown 2017-05-29 14:29:43 -04:00
moz.build Bug 1332084 - Add smoketest for geckoview_example - add harness; r=jmaher 2017-04-11 09:21:39 -06:00
nested_setup.js
pywebsocket_wrapper.py
redirect.html Bug 1260312 - Retry mochitest-chrome redirection to improve reliability; r=jmaher 2017-05-19 12:06:14 -06:00
rungeckoview.py Bug 1332084 - Add smoketest for geckoview_example - add harness; r=jmaher 2017-04-11 09:21:39 -06:00
runrobocop.py Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher 2017-06-15 12:10:59 -04:00
runtests.py Bug 1048446 - [mozlog] Don't re-use existing loggers when calling mozlog.commandline.setup_logging a second time, r=jgraham 2017-05-29 14:23:04 -04:00
runtestsremote.py Bug 1366129 - Improve cleanup of android mochitest environment before starting tests; r=jmaher 2017-05-25 07:32:46 -06:00
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.