Index: LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html |
diff --git a/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html b/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html |
index 8dd6eb008ad2fafa2790a69a69b2304d93265f14..6fde4097a0f1d7386d918381c4ad23dfe745f1ff 100644 |
--- a/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html |
+++ b/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html |
@@ -21,10 +21,7 @@ async_test(function(t) { |
return 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'); |
+ return wait_for_state(t, registration.installing, 'activated'); |
}) |
.then(function() { return with_iframe(SCOPE); }) |
.then(function(frame) { |