Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script src="resources/test-helpers.js"></script> | |
| 5 <body> | |
| 6 <script> | |
| 7 var worker = 'resources/fetch-event-client-attribute-test-worker.js'; | |
| 8 | |
| 9 var scope = 'resources/simple.html'; | |
| 10 promise_test(function(test) { | |
| 11 return service_worker_unregister_and_register(test, worker, scope) | |
| 12 .then(function(registration) { | |
| 13 return wait_for_state(test, registration.installing, 'activated'); | |
| 14 }) | |
| 15 .then(function() { return with_iframe(scope); }) | |
| 16 .then(function(frame) { | |
| 17 assert_equals(frame.contentDocument.body.textContent, "top-level", "f rameType should be top-level"); | |
|
jsbell
2015/05/06 16:21:26
Interesting... given the table in fetch.spec.whatw
jsbell
2015/05/06 16:21:26
Please wrap to 80 columns (e.g. break after the "t
falken
2015/05/07 04:06:03
Can you file a bug if it's an existing bug?
Paritosh Kumar
2015/05/07 16:46:54
I'm not updating on this now, first we will have t
falken
2015/05/08 22:20:25
Can you elaborate on this? It looks like you're te
Paritosh Kumar
2015/05/12 11:52:28
I investigated this issue and found that, this is
| |
| 18 frame.remove(); | |
| 19 add_completion_callback(function() { | |
|
falken
2015/05/07 04:06:03
I don't think you need this since you call service
Paritosh Kumar
2015/05/07 16:46:54
Yes, Not Required. Thanks.
| |
| 20 registration.unregister(); | |
| 21 }); | |
| 22 return service_worker_unregister_and_done(test, scope); | |
| 23 }); | |
| 24 }, 'Service Worker responds to fetch event with client frameType'); | |
|
falken
2015/05/07 04:06:03
this indentation is 2 spaces too many
Paritosh Kumar
2015/05/07 16:46:54
Done.
| |
| 25 | |
| 26 </script> | |
| 27 </body> | |
| OLD | NEW |