Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-css-images.https.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698