Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- This test is prefixed with `chromium.` because the equivalent version | |
| 3 available in Web Platform Tests is known to cause timeout errors in the | |
| 4 Chromium automated build system. They should be maintained only to preserve | |
| 5 test converage until the corresponding versions in Web Platform Tests can be | |
| 6 made to pass consistently. See | |
| 7 https://codereview.chromium.org/2805313003/ --> | |
|
Marijn Kruisselbrink
2017/04/27 17:05:23
link to bug rather than codereview?
mike3
2017/04/27 18:27:19
Acknowledged.
| |
| 2 <script src="../resources/testharness.js"></script> | 8 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 9 <script src="../resources/testharnessreport.js"></script> |
| 4 <script src="resources/test-helpers.js"></script> | 10 <script src="resources/test-helpers.js"></script> |
| 5 <script> | 11 <script> |
| 6 promise_test(function(t) { | 12 promise_test(function(t) { |
| 7 var script = | 13 var script = |
| 8 'resources/fetch-event-respond-with-stops-propagation-worker.js'; | 14 'resources/fetch-event-respond-with-stops-propagation-worker.js'; |
| 9 var scope = 'resources/simple.html'; | 15 var scope = 'resources/simple.html'; |
| 10 | 16 |
| 11 return service_worker_unregister_and_register(t, script, scope) | 17 return service_worker_unregister_and_register(t, script, scope) |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 25 | 31 |
| 26 worker.postMessage({port: channel.port2}, [channel.port2]); | 32 worker.postMessage({port: channel.port2}, [channel.port2]); |
| 27 return saw_message; | 33 return saw_message; |
| 28 }) | 34 }) |
| 29 .then(function(message) { | 35 .then(function(message) { |
| 30 assert_equals(message, 'PASS'); | 36 assert_equals(message, 'PASS'); |
| 31 return service_worker_unregister_and_done(t, scope); | 37 return service_worker_unregister_and_done(t, scope); |
| 32 }) | 38 }) |
| 33 }, 'respondWith() invokes stopImmediatePropagation()'); | 39 }, 'respondWith() invokes stopImmediatePropagation()'); |
| 34 </script> | 40 </script> |
| OLD | NEW |