| Index: LayoutTests/http/tests/serviceworker/ready.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/ready.html b/LayoutTests/http/tests/serviceworker/ready.html
|
| index ad9dac0901706cc7e09da2cbb009fb20e2d2b32e..e0080032dfd6d57cf102a71e4832d586f1061b54 100644
|
| --- a/LayoutTests/http/tests/serviceworker/ready.html
|
| +++ b/LayoutTests/http/tests/serviceworker/ready.html
|
| @@ -33,7 +33,7 @@ async_test(function(t) {
|
|
|
| service_worker_unregister_and_register(t, url, scope)
|
| .then(function(registration) {
|
| - return wait_for_activated(t, registration);
|
| + return wait_for_state(t, registration.installing, 'activated');
|
| })
|
| .then(function() { return with_iframe(scope); })
|
| .then(function(f) {
|
| @@ -99,7 +99,7 @@ async_test(function(t) {
|
| service_worker_unregister_and_register(t, url, scope)
|
| .then(function(r) {
|
| registration = r;
|
| - return wait_for_activated(t, registration);
|
| + return wait_for_state(t, r.installing, 'activated');
|
| })
|
| .then(function() { return with_iframe(scope); })
|
| .then(function(f) {
|
|
|