| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Service Worker: FetchEvent for css image</title> | 2 <title>Service Worker: FetchEvent for css image</title> |
| 3 <script src="/resources/testharness.js"></script> | 3 <script src="/resources/testharness.js"></script> |
| 4 <script src="/resources/testharnessreport.js"></script> | 4 <script src="/resources/testharnessreport.js"></script> |
| 5 <script src="resources/get-host-info.sub.js"></script> | 5 <script src="/common/get-host-info.sub.js"></script> |
| 6 <script src="resources/test-helpers.sub.js?pipe=sub"></script> | 6 <script src="resources/test-helpers.sub.js?pipe=sub"></script> |
| 7 <script> | 7 <script> |
| 8 var SCOPE = 'resources/fetch-request-resources-iframe.https.html'; | 8 var SCOPE = 'resources/fetch-request-resources-iframe.https.html'; |
| 9 var SCRIPT = 'resources/fetch-request-resources-worker.js'; | 9 var SCRIPT = 'resources/fetch-request-resources-worker.js'; |
| 10 var host_info = get_host_info(); | 10 var host_info = get_host_info(); |
| 11 var LOCAL_URL = | 11 var LOCAL_URL = |
| 12 host_info['HTTPS_ORIGIN'] + base_path() + 'resources/dummy?test'; | 12 host_info['HTTPS_ORIGIN'] + base_path() + 'resources/dummy?test'; |
| 13 var REMOTE_URL = | 13 var REMOTE_URL = |
| 14 host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/dummy?test'; | 14 host_info['HTTPS_REMOTE_ORIGIN'] + base_path() + 'resources/dummy?test'; |
| 15 | 15 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 .then(function() { | 167 .then(function() { |
| 168 css_image_set_test(expected_results, frame, LOCAL_URL + Date.now(), | 168 css_image_set_test(expected_results, frame, LOCAL_URL + Date.now(), |
| 169 'shapeOutside', 'cors', 'same-origin'); | 169 'shapeOutside', 'cors', 'same-origin'); |
| 170 css_image_set_test(expected_results, frame, REMOTE_URL + Date.now(), | 170 css_image_set_test(expected_results, frame, REMOTE_URL + Date.now(), |
| 171 'shapeOutside', 'cors', 'same-origin'); | 171 'shapeOutside', 'cors', 'same-origin'); |
| 172 }) | 172 }) |
| 173 .catch(unreached_rejection(t)); | 173 .catch(unreached_rejection(t)); |
| 174 }, 'Verify FetchEvent for css image-set (shapeOutside).'); | 174 }, 'Verify FetchEvent for css image-set (shapeOutside).'); |
| 175 | 175 |
| 176 </script> | 176 </script> |
| OLD | NEW |