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/test-helpers.js"></script> | 4 <script src="resources/test-helpers.sub.js"></script> |
5 <script> | 5 <script> |
6 var worker_url = 'resources/empty-worker.js'; | 6 var worker_url = 'resources/empty-worker.js'; |
7 | 7 |
8 async_test(function(t) { | 8 async_test(function(t) { |
9 var scope = 'resources/scope/unregister-then-register-new-script-that-exists
'; | 9 var scope = 'resources/scope/unregister-then-register-new-script-that-exists
'; |
10 var new_worker_url = worker_url + '?new'; | 10 var new_worker_url = worker_url + '?new'; |
11 var iframe; | 11 var iframe; |
12 var registration; | 12 var registration; |
13 var new_registration; | 13 var new_registration; |
14 | 14 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 frame.remove(); | 150 frame.remove(); |
151 return registration.unregister(); | 151 return registration.unregister(); |
152 }) | 152 }) |
153 .then(function() { | 153 .then(function() { |
154 t.done(); | 154 t.done(); |
155 }) | 155 }) |
156 .catch(unreached_rejection(t)); | 156 .catch(unreached_rejection(t)); |
157 }, 'Registering a new script URL that fails to install does not resurrect ' + | 157 }, 'Registering a new script URL that fails to install does not resurrect ' + |
158 'an unregistered registration'); | 158 'an unregistered registration'); |
159 </script> | 159 </script> |
OLD | NEW |