gecko-dev/testing
jugglinmike 9e157c27ca Bug 1493409 [wpt PR 13163] - [service-workers] Return value in cleanup, a=testonly
Automatic update from web-platform-tests[service-workers] Return value in cleanup (#13163)

Previously, many tests un-registered service workers using the
testharness.js API `add_cleanup` without returning the promise which
tracked the operation. While this ensured the operation was started at
the completion of the test, it did not guarantee that the operation
would be completed before the test was considered "complete."

In automation scenarios where many tests are executed in rapid
succession, this enabled a race condition: the navigation could
interrupt the un-registration process. In order to account for the
possibility of registrations that persisted from previous test failures,
the tests included "setup" code to defensively un-register such workers.

The `Test#add_cleanup` method was recently extended to support
asynchronous "clean up" operations [1]. Use that API to ensure tests are
not considered "complete" until after service worker un-registration is
done.

[1] https://github.com/web-platform-tests/wpt/pull/8748
--

wpt-commits: 7897f9d5beff624590d2fc254d2a7eca6e2b1e8f
wpt-pr: 13163
2018-09-27 09:56:03 +00:00
..
awsy
config
crashtest
firefox-ui Bug 1491243 - remove feed bits from puppeteer page info code, r=whimboo 2018-09-18 06:06:28 +00:00
geckodriver Merge inbound to mozilla-central. a=merge 2018-09-27 00:52:12 +03:00
gtest
jsshell Bug 1488689 - Add Octane shell benchmark to raptor. r=ahal 2018-09-08 11:00:16 +00:00
marionette Backed out changeset f8d681cc1d4c (bug 1473814) for marionette failures on /marionette_harness/tests/unit/test_switch_frame.py. CLOSED TREE 2018-09-27 03:34:36 +03:00
mochitest Bug 1426822 - Avoid intermittent failure to initialize android mochitests; r=jmaher 2018-09-26 08:28:20 -06:00
modules
mozbase Bug 1488554: Part 4 - Make FirefoxRunner pass --wait-for-browser on Windows; r=ahal 2018-09-26 19:11:55 +00:00
mozharness Bug 1493943 - Don't download grcov twice on Windows. r=jmaher 2018-09-26 15:23:19 +01:00
profiles Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham 2018-09-24 16:33:14 +00:00
raptor Bug 1458242 - add DOMContentFlushed to tp6 as a measurement. r=rwood 2018-09-14 13:51:05 +00:00
runtimes Bug 1438857 - Remove the Flash plugin infobar. r=Felipe 2018-09-06 14:50:16 +00:00
specialpowers Bug 1188256 part 6 - Expose PromiseDebugging to plain mochitest via SpecialPowers. r=bzbarsky 2018-09-14 22:43:54 +00:00
talos Bug 1493867 follow-up: avoid loading firstrun page during damp tests r=kmag 2018-09-26 16:46:35 -07:00
tools
tps Bug 1492341 - Bump mozrunner version to 7.0.2; r=tcsc 2018-09-20 16:33:56 +00:00
web-platform Bug 1493409 [wpt PR 13163] - [service-workers] Return value in cleanup, a=testonly 2018-09-27 09:56:03 +00:00
webdriver bug 1453292: webdriver, geckodriver: remove elementTap command r=whimboo 2018-09-26 09:49:03 +00:00
xpcshell Bug 1473513 - Backed out changeset d72f6ff37ca6 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE 2018-09-25 19:34:26 +03:00
cppunittest.ini
mach_commands.py Bug 1481449 - Require at least one test argument for 'mach test'; r=ahal 2018-08-31 09:59:07 -06:00
moz.build
README.txt
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk bug 1490119: Build separate updater that always embeds dep certificates. r=ted,firefox-build-system-reviewers 2018-09-21 10:07:27 +00:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff