| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Service Worker: Fetch Event Redirect Handling</title> | 2 <title>Service Worker: Fetch Event Redirect Handling</title> |
| 3 <meta name=timeout content=long> | 3 <meta name=timeout content=long> |
| 4 <script src="/resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="resources/testharness-helpers.js"></script> | 5 <script src="resources/testharness-helpers.js"></script> |
| 6 <script src="/resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 <script src="resources/get-host-info.sub.js"></script> | 7 <script src="/common/get-host-info.sub.js"></script> |
| 8 <script src="resources/test-helpers.sub.js"></script> | 8 <script src="resources/test-helpers.sub.js"></script> |
| 9 <body> | 9 <body> |
| 10 <script> | 10 <script> |
| 11 | 11 |
| 12 // ------------------------ | 12 // ------------------------ |
| 13 // Utilities for testing non-navigation requests that are intercepted with | 13 // Utilities for testing non-navigation requests that are intercepted with |
| 14 // a redirect. | 14 // a redirect. |
| 15 | 15 |
| 16 var host_info = get_host_info(); | 16 var host_info = get_host_info(); |
| 17 var worker = 'resources/fetch-rewrite-worker.js'; | 17 var worker = 'resources/fetch-rewrite-worker.js'; |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 }, | 1093 }, |
| 1094 // should reject because requests with 'error' RequestRedirect cannot be | 1094 // should reject because requests with 'error' RequestRedirect cannot be |
| 1095 // redirected. | 1095 // redirected. |
| 1096 should_reject: true | 1096 should_reject: true |
| 1097 }); | 1097 }); |
| 1098 }, 'Non-navigation, error redirect, no-cors mode Request redirected to ' + | 1098 }, 'Non-navigation, error redirect, no-cors mode Request redirected to ' + |
| 1099 'cors with credentials should fail interception and response should not ' + | 1099 'cors with credentials should fail interception and response should not ' + |
| 1100 'be redirected'); | 1100 'be redirected'); |
| 1101 </script> | 1101 </script> |
| 1102 </body> | 1102 </body> |
| OLD | NEW |