46 bytes, text/x-phabricator-request
|Details | Review|
This task is split off from here: https://bugzilla.mozilla.org/show_bug.cgi?id=1472303#c12
Since the fix for bug 1472303 wouldn't solve this case, it needs its own implementation.
Summary: Add WPT test for calling ServiceWorkerRegistration.update() while service worker is installing → Throw reject with InvalidStateError when calling ServiceWorkerRegistration.update() while service worker is installing
The service workers spec mandates that calling ServiceWorkerRegistration.update() on a registration whose newest worker is in the 'installing' state fail immediately. This commit implements this requirement and tests it.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/9a70e5374176 Reject calls to update() while service worker in 'installing' state r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13452 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks: Github PR https://github.com/web-platform-tests/wpt/pull/13452 * ci/circleci: No Config Found (https://circleci.com/gh/web-platform-tests/wpt/4?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.