| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
 |   2 <!-- This test is prefixed with `chromium.` because the equivalent version | 
 |   3   available in Web Platform Tests is known to cause timeout errors in the | 
 |   4   Chromium automated build system. This version should be maintained only to | 
 |   5   preserve test coverage until the corresponding version in Web Platform Tests | 
 |   6   can be made to pass consistently. See https://crbug.com/658997 --> | 
|   2 <title>Service Worker: CSS's base URL must be the request URL even when fetched 
    from other URL</title> |   7 <title>Service Worker: CSS's base URL must be the request URL even when fetched 
    from other URL</title> | 
|   3 <script src="../resources/testharness.js"></script> |   8 <script src="../resources/testharness.js"></script> | 
|   4 <script src="../resources/testharnessreport.js"></script> |   9 <script src="../resources/testharnessreport.js"></script> | 
|   5 <script src="../resources/get-host-info.js?pipe=sub"></script> |  10 <script src="../resources/get-host-info.js?pipe=sub"></script> | 
|   6 <script src="resources/test-helpers.js"></script> |  11 <script src="resources/test-helpers.js"></script> | 
|   7 <script> |  12 <script> | 
|   8 async_test(function(t) { |  13 async_test(function(t) { | 
|   9     var SCOPE = 'resources/fetch-request-css-base-url-iframe.html'; |  14     var SCOPE = 'resources/fetch-request-css-base-url-iframe.html'; | 
|  10     var SCRIPT = 'resources/fetch-request-css-base-url-worker.js'; |  15     var SCRIPT = 'resources/fetch-request-css-base-url-worker.js'; | 
|  11     var worker; |  16     var worker; | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|  42                 {port: channel.port2}, [channel.port2]); |  47                 {port: channel.port2}, [channel.port2]); | 
|  43             }); |  48             }); | 
|  44         }) |  49         }) | 
|  45       .then(function() { return with_iframe(SCOPE); }) |  50       .then(function() { return with_iframe(SCOPE); }) | 
|  46       .then(function(f) { |  51       .then(function(f) { | 
|  47           frame = f; |  52           frame = f; | 
|  48         }) |  53         }) | 
|  49       .catch(unreached_rejection(t)); |  54       .catch(unreached_rejection(t)); | 
|  50   }, 'CSS\'s base URL must be the request URL even when fetched from other URL.'
    ); |  55   }, 'CSS\'s base URL must be the request URL even when fetched from other URL.'
    ); | 
|  51 </script> |  56 </script> | 
| OLD | NEW |