| Index: LayoutTests/http/tests/serviceworker/interfaces.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/interfaces.html b/LayoutTests/http/tests/serviceworker/interfaces.html
|
| index 6a82d26a7f7a3ce1613daa80dd76c95f5257731b..7c3a6f1bf6c2af84334e274f1c446330d2442374 100644
|
| --- a/LayoutTests/http/tests/serviceworker/interfaces.html
|
| +++ b/LayoutTests/http/tests/serviceworker/interfaces.html
|
| @@ -18,12 +18,10 @@ test(function() {
|
| async_test(function(t) {
|
| var EVENT_HANDLER = 'object';
|
| var scope = 'resources/scope/interfaces-and-attributes';
|
| - var registration;
|
|
|
| service_worker_unregister_and_register(
|
| t, 'resources/empty-worker.js', scope)
|
| - .then(function(r) {
|
| - registration = r;
|
| + .then(function(registration) {
|
| verify_interface(
|
| 'ServiceWorkerRegistration', registration,
|
| {
|
| @@ -34,11 +32,8 @@ async_test(function(t) {
|
| unregister: 'function',
|
| onupdatefound: EVENT_HANDLER
|
| });
|
| - return wait_for_update(t, registration);
|
| - })
|
| - .then(function(worker) {
|
| verify_interface(
|
| - 'ServiceWorker', worker,
|
| + 'ServiceWorker', registration.installing,
|
| {
|
| scriptURL: 'string',
|
| state: 'string',
|
|
|