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 aff54eefc6fb4a68cf9e4408557ac07162bea817..6267a7cb0661e8d75beb85162f3484e8925bdc3e 100644 |
--- a/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html |
+++ b/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html |
@@ -17,8 +17,8 @@ function url_test(name, url) { |
assert_equals(worker.scriptURL, expectedURL, |
'Returned ServiceWorker object should have scriptURL'); |
service_worker_unregister_and_done(t, scope); |
- })); |
- t.done(); |
+ })) |
+ .catch(unreached_rejection(t)); |
}, 'Verify the scriptURL property: ' + name); |
} |