| 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.js"></script> |
| 5 <script> | 5 <script> |
| 6 var worker_url = 'resources/simple-intercept-worker.js'; | 6 var worker_url = 'resources/simple-intercept-worker.js'; |
| 7 | 7 |
| 8 async_test(function(t) { | 8 async_test(function(t) { |
| 9 var scope = | 9 var scope = |
| 10 'resources/unregister-controller-page.html?load-before-unregister'; | 10 'resources/unregister-controller-page.html?load-before-unregister'; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 'document should not have a controller'); | 61 'document should not have a controller'); |
| 62 return frame_window.fetch_url('simple.txt'); | 62 return frame_window.fetch_url('simple.txt'); |
| 63 }) | 63 }) |
| 64 .then(function(response) { | 64 .then(function(response) { |
| 65 assert_equals(response, 'a simple text file\n', | 65 assert_equals(response, 'a simple text file\n', |
| 66 'requests should not be intercepted'); | 66 'requests should not be intercepted'); |
| 67 t.done(); | 67 t.done(); |
| 68 }) | 68 }) |
| 69 .catch(unreached_rejection(t)); | 69 .catch(unreached_rejection(t)); |
| 70 }, 'Unregister prevents control of subsequent navigations'); | 70 }, 'Unregister prevents control of subsequent navigations'); |
| 71 |
| 71 </script> | 72 </script> |
| OLD | NEW |