| 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 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <script> | 10 <script> |
| 11 var host_info = get_host_info(); | 11 var host_info = get_host_info(); |
| 12 function start(t) { | 12 function start(t) { |
| 13 service_worker_test( | 13 service_worker_test( |
| 14 '/fetch/script-tests/thorough/auth.js?-base-https-other-https', | 14 '/fetch/script-tests/thorough/scheme-data.js?-other-https', |
| 15 'auth'); | 15 'scheme-data'); |
| 16 t.done(); | 16 t.done(); |
| 17 } | 17 } |
| 18 function init(test) { | 18 function init(test) { |
| 19 return login(test, host_info['HTTP_ORIGIN'], host_info['HTTP_REMOTE_ORIGIN']) | 19 return login(test, host_info['HTTP_ORIGIN'], host_info['HTTP_REMOTE_ORIGIN']) |
| 20 .then(function() { | 20 .then(function() { |
| 21 return login(test, host_info['HTTPS_ORIGIN'], | 21 return login(test, host_info['HTTPS_ORIGIN'], |
| 22 host_info['HTTPS_REMOTE_ORIGIN']); }); | 22 host_info['HTTPS_REMOTE_ORIGIN']); }); |
| 23 } | 23 } |
| 24 </script> | 24 </script> |
| 25 <script src = "/fetch/resources/init.js"></script> | 25 <script src = "/fetch/resources/init.js"></script> |
| 26 </body> | 26 </body> |
| OLD | NEW |