Index: LayoutTests/http/tests/serviceworker/fetch-access-control.html |
diff --git a/LayoutTests/http/tests/serviceworker/fetch-access-control.html b/LayoutTests/http/tests/serviceworker/fetch-access-control.html |
index 86a3f0de583bcd9daf988d9fe1223edf663708e2..e9ef0a81385ea3def368e5d6fa9298efd4f430d5 100644 |
--- a/LayoutTests/http/tests/serviceworker/fetch-access-control.html |
+++ b/LayoutTests/http/tests/serviceworker/fetch-access-control.html |
@@ -518,6 +518,9 @@ test.step(function() { |
workerScript, |
SCOPE); |
}) |
+ .then(function(registration) { |
+ return wait_for_update(test, registration); |
+ }) |
.then(function(sw) { |
worker = sw; |
var messageChannel = new MessageChannel(); |