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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-resources.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 resources</title> 2 <title>Service Worker: FetchEvent for resources</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 url_count = 0; 8 var url_count = 0;
9 var expected_results = {}; 9 var expected_results = {};
10 10
11 function image_test(frame, url, cross_origin, expected_mode, 11 function image_test(frame, url, cross_origin, expected_mode,
12 expected_credentials) { 12 expected_credentials) {
13 var actual_url = url + (++url_count); 13 var actual_url = url + (++url_count);
14 expected_results[actual_url] = { 14 expected_results[actual_url] = {
15 cross_origin: cross_origin, 15 cross_origin: cross_origin,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 'This is not a valid integrity because it has no dash es', 180 'This is not a valid integrity because it has no dash es',
181 'This is not a valid integrity because it has no dash es'); 181 'This is not a valid integrity because it has no dash es');
182 css_integrity_test(f, LOCAL_URL, 'sha256-', 'sha256-'); 182 css_integrity_test(f, LOCAL_URL, 'sha256-', 'sha256-');
183 css_integrity_test(f, LOCAL_URL, 'sha256-foo?123', 'sha256-foo?123'); 183 css_integrity_test(f, LOCAL_URL, 'sha256-foo?123', 'sha256-foo?123');
184 css_integrity_test(f, LOCAL_URL, 'sha256-foo sha384-abc ', 'sha256-foo s ha384-abc '); 184 css_integrity_test(f, LOCAL_URL, 'sha256-foo sha384-abc ', 'sha256-foo s ha384-abc ');
185 css_integrity_test(f, LOCAL_URL, 'sha256-foo sha256-abc', 'sha256-foo sh a256-abc'); 185 css_integrity_test(f, LOCAL_URL, 'sha256-foo sha256-abc', 'sha256-foo sh a256-abc');
186 }) 186 })
187 .catch(unreached_rejection(t)); 187 .catch(unreached_rejection(t));
188 }, 'Verify FetchEvent for resources.'); 188 }, 'Verify FetchEvent for resources.');
189 </script> 189 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698