Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: LayoutTests/http/tests/serviceworker/unregister.html

Issue 466723002: ServiceWorker: Enable ServiceWorkerRegistration and update layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@updatefound
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/unregister.html
diff --git a/LayoutTests/http/tests/serviceworker/unregister.html b/LayoutTests/http/tests/serviceworker/unregister.html
index cadeb871b9330dd61f3673b3afdd1c362ba9d328..1aa8417543a7ff4ce558e81de1f925aba341e567 100644
--- a/LayoutTests/http/tests/serviceworker/unregister.html
+++ b/LayoutTests/http/tests/serviceworker/unregister.html
@@ -44,6 +44,9 @@ async_test(function(t) {
async_test(function(t) {
var state_promise;
service_worker_unregister_and_register(t, 'resources/empty-worker.js')
+ .then(function(registration) {
+ return wait_for_update(t, registration);
+ })
.then(function(sw) {
state_promise = wait_for_state(t, sw, 'redundant');
return navigator.serviceWorker.unregister();
« no previous file with comments | « LayoutTests/http/tests/serviceworker/state.html ('k') | LayoutTests/http/tests/serviceworker/unregister-controller.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698