| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="/resources/testharness.js"></script> | 2 <script src="/resources/testharness.js"></script> |
| 3 <script src="/resources/testharnessreport.js"></script> | 3 <script src="/resources/testharnessreport.js"></script> |
| 4 <script src="resources/get-host-info.sub.js"></script> | 4 <script src="/common/get-host-info.sub.js"></script> |
| 5 <script src="resources/test-helpers.sub.js"></script> | 5 <script src="resources/test-helpers.sub.js"></script> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 var worker = 'resources/fetch-event-test-worker.js'; | 8 var worker = 'resources/fetch-event-test-worker.js'; |
| 9 | 9 |
| 10 async_test(function(t) { | 10 async_test(function(t) { |
| 11 var scope = 'resources/simple.html?string'; | 11 var scope = 'resources/simple.html?string'; |
| 12 service_worker_unregister_and_register(t, worker, scope) | 12 service_worker_unregister_and_register(t, worker, scope) |
| 13 .then(function(reg) { | 13 .then(function(reg) { |
| 14 return wait_for_state(t, reg.installing, 'activated'); | 14 return wait_for_state(t, reg.installing, 'activated'); |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 }) | 656 }) |
| 657 .then(function() { | 657 .then(function() { |
| 658 frame.remove(); | 658 frame.remove(); |
| 659 return service_worker_unregister_and_done(t, scope); | 659 return service_worker_unregister_and_done(t, scope); |
| 660 }) | 660 }) |
| 661 .catch(unreached_rejection(t)); | 661 .catch(unreached_rejection(t)); |
| 662 }, 'Service Worker responds to fetch event with the correct integrity_metadata
'); | 662 }, 'Service Worker responds to fetch event with the correct integrity_metadata
'); |
| 663 | 663 |
| 664 </script> | 664 </script> |
| 665 </body> | 665 </body> |
| OLD | NEW |