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

Unified Diff: LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html

Issue 468753003: SW tests update (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 467133002 and fix test 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/serviceworkerobject-scripturl.html
diff --git a/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html b/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
index 670e8d53d7ff29288c5921f318742db47902545f..1a0771a01cf4fb7f039611da250c251e30b6a826 100644
--- a/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
+++ b/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
@@ -10,6 +10,9 @@ function url_test(name, url) {
async_test(function(t) {
var expectedURL = normalizeURL(url);
service_worker_unregister_and_register(t, url, scope)
+ .then(function(registration) {
+ return wait_for_update(t, registration);
+ })
.then(t.step_func(function(worker) {
assert_equals(worker.scriptURL, expectedURL,
'Returned ServiceWorker object should have scriptURL');

Powered by Google App Engine
This is Rietveld 408576698