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..fc4128f06de7b89dd5ed32838a2374f5c53fc3af 100644 |
--- a/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
+++ b/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html |
@@ -15,9 +15,18 @@ promise_test(function(t) { |
}) |
.then(function() { return with_iframe(scope); }) |
.then(function(frame) { |
+ var eventsSeen = []; |
falken
2015/01/28 13:47:24
nit: events_seen, even better expected_events_seen
nhiroki
2015/01/28 14:25:05
Done.
|
+ eventsSeen.push('updatefound'); |
+ eventsSeen.push('install'); |
+ eventsSeen.push('statechange(installed)'); |
+ eventsSeen.push('statechange(activating)'); |
+ eventsSeen.push('activate'); |
+ eventsSeen.push('statechange(activated)'); |
+ eventsSeen.push('fetch'); |
+ |
assert_equals( |
frame.contentDocument.body.textContent, |
- 'PASS', |
+ eventsSeen.toString(), |
'Service Worker should respond to fetch'); |
frame.remove(); |
return service_worker_unregister_and_done(t, scope); |