| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <head> | 2 <head> |
| 3 <meta name="timeout" content="long"></meta> | 3 <meta name="timeout" content="long"></meta> |
| 4 <script src = "/resources/testharness.js"></script> | 4 <script src = "/resources/testharness.js"></script> |
| 5 <script src = "/resources/testharnessreport.js"></script> | 5 <script src = "/resources/testharnessreport.js"></script> |
| 6 <script src = "/resources/get-host-info.js?pipe=sub"></script> | 6 <script src = "/resources/get-host-info.js?pipe=sub"></script> |
| 7 <script src = "/serviceworker/resources/test-helpers.js"></script> | 7 <script src = "/serviceworker/resources/test-helpers.js"></script> |
| 8 <script src = "/fetch/resources/fetch-test-options.js"></script> | 8 <script src = "/fetch/resources/fetch-test-options.js"></script> |
| 9 <script src = "/fetch/resources/fetch-test-helpers.js"></script> | 9 <script src = "/fetch/resources/fetch-test-helpers.js"></script> |
| 10 <script src = "/fetch/resources/thorough-util.js"></script> | 10 <script src = "/fetch/resources/thorough-util.js"></script> |
| 11 <script> | 11 <script> |
| 12 function onlyOnServiceWorkerProxiedTest(checkFuncs) { | 12 function onlyOnServiceWorkerProxiedTest(checkFuncs) { |
| 13 return checkFuncs; | 13 return checkFuncs; |
| 14 } | 14 } |
| 15 </script> | 15 </script> |
| 16 <script src = "/fetch/script-tests/thorough/auth-nocors.js?"></script> | 16 <script src = "/fetch/script-tests/thorough/scheme-data.js?"></script> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 <script> | 19 <script> |
| 20 var host_info = get_host_info(); | 20 var host_info = get_host_info(); |
| 21 function start(t) { | 21 function start(t) { |
| 22 executeServiceWorkerProxiedTests(TEST_TARGETS); | 22 executeServiceWorkerProxiedTests(TEST_TARGETS); |
| 23 t.done(); | 23 t.done(); |
| 24 } | 24 } |
| 25 function init(test) { | 25 function init(test) { |
| 26 return login(test, host_info["HTTP_ORIGIN"], host_info["HTTP_REMOTE_ORIGIN"]) | 26 return login(test, host_info["HTTP_ORIGIN"], host_info["HTTP_REMOTE_ORIGIN"]) |
| 27 .then(function() { | 27 .then(function() { |
| 28 return login(test, host_info["HTTPS_ORIGIN"], | 28 return login(test, host_info["HTTPS_ORIGIN"], |
| 29 host_info["HTTPS_REMOTE_ORIGIN"]); | 29 host_info["HTTPS_REMOTE_ORIGIN"]); |
| 30 }); | 30 }); |
| 31 } | 31 } |
| 32 | 32 |
| 33 </script> | 33 </script> |
| 34 <script src = "/fetch/resources/init.js"></script> | 34 <script src = "/fetch/resources/init.js"></script> |
| 35 </body> | 35 </body> |
| OLD | NEW |