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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-cors-xhr.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/fetch-cors-xhr.html
diff --git a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
index 62842157b5a9450d56f65fc3f8031d8f96776900..84095ed20d9e2f334ba113b747c2df0ba2bfe5f7 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
@@ -9,6 +9,9 @@ async_test(function(t) {
var SCRIPT = 'resources/fetch-rewrite-worker.js';
var host_info = get_host_info();
service_worker_unregister_and_register(t, SCRIPT, SCOPE)
+ .then(function(registration) {
+ return wait_for_update(t, registration);
+ })
.then(function(sw) {
return wait_for_state(t, sw, 'activated');
})
« no previous file with comments | « LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html ('k') | LayoutTests/http/tests/serviceworker/fetch-csp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698