Bug 1501551 [wpt PR 13692] - ServiceWorker: Add new tests for updating the registrati...
commit5d6734807db36a47f8340e52438e9ecf167a2297
authorAsami Doi <asamidoi@google.com>
Fri, 9 Nov 2018 15:46:45 +0000 (9 15:46 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 10 Nov 2018 09:02:09 +0000 (10 09:02 +0000)
treeb71481219dd287ce4ce63a4b43e8b98c00428e51
parent096c5859850592698dcb13078d62b7da6048f474
Bug 1501551 [wpt PR 13692] - ServiceWorker: Add new tests for updating the registration with different script type., a=testonly

Automatic update from web-platform-testsServiceWorker: Add new tests for updating the registration with
different script type.

These tests check that a registration is updated correctly with
different script type. At first Service Worker is register as classic
script type, then it is re-registered as module script type, and
vice versa. A main script is also updated at the same time.

Bug: 824647
Change-Id: I3ab9391791508662de8dc73ac932a6105c4d7fe6
Reviewed-on: https://chromium-review.googlesource.com/c/1295763
Commit-Queue: Asami Doi <asamidoi@google.com>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602650}

--

wpt-commits: f7f9cb8d3d6076d840d28af8f0c8fe15c7200cff
wpt-pr: 13692
testing/web-platform/tests/service-workers/service-worker/resources/imported-classic-script.js [new file with mode: 0644]
testing/web-platform/tests/service-workers/service-worker/resources/imported-module-script.js [new file with mode: 0644]
testing/web-platform/tests/service-workers/service-worker/resources/update-registration-with-type.py [new file with mode: 0644]
testing/web-platform/tests/service-workers/service-worker/update-registration-with-type.https.html [new file with mode: 0644]