Index: LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
diff --git a/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html b/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
index 3ea489192f7243e499e99e1980c4d655cac4887d..688fc0cec481a2de6eec56fee555affb2303987a 100644 |
--- a/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
+++ b/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
@@ -15,9 +15,19 @@ promise_test(function(t) { |
}) |
.then(function() { return with_iframe(scope); }) |
.then(function(frame) { |
+ var expected_events_seen = [ |
+ 'updatefound', |
+ 'install', |
+ 'statechange(installed)', |
+ 'statechange(activating)', |
+ 'activate', |
+ 'statechange(activated)', |
+ 'fetch', |
+ ]; |
+ |
assert_equals( |
frame.contentDocument.body.textContent, |
- 'PASS', |
+ expected_events_seen.toString(), |
'Service Worker should respond to fetch'); |
frame.remove(); |
return service_worker_unregister_and_done(t, scope); |