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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-request-resources.html

Issue 2858093002: Upstream service worker `fetch` test to WPT (Closed)
Patch Set: Created 3 years, 7 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 <!-- This test is prefixed with `chromium.` because the equivalent version
Marijn Kruisselbrink 2017/05/04 18:38:20 is there a bug you can refer to in this comment?
mike3 2017/05/05 16:44:00 Acknowledged.
3 available in Web Platform Tests contains additional assertions which Chromium
4 currently fails. This test should be persisted only to preserve test coverage
5 until such time as the upstream version can be made to pass. -->
2 <title>Service Worker: FetchEvent for resources</title> 6 <title>Service Worker: FetchEvent for resources</title>
3 <script src="../resources/testharness.js"></script> 7 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 8 <script src="../resources/testharnessreport.js"></script>
5 <script src="../resources/get-host-info.js?pipe=sub"></script> 9 <script src="../resources/get-host-info.js?pipe=sub"></script>
6 <script src="resources/test-helpers.js"></script> 10 <script src="resources/test-helpers.js"></script>
7 <script> 11 <script>
8 var url_count = 0; 12 var url_count = 0;
9 var expected_results = {}; 13 var expected_results = {};
10 14
11 function image_test(frame, url, cross_origin, 15 function image_test(frame, url, cross_origin,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 audio_test(f, LOCAL_URL, '', 'no-cors', 'include'); 231 audio_test(f, LOCAL_URL, '', 'no-cors', 'include');
228 audio_test(f, LOCAL_URL, 'anonymous', 'cors', 'same-origin'); 232 audio_test(f, LOCAL_URL, 'anonymous', 'cors', 'same-origin');
229 audio_test(f, LOCAL_URL, 'use-credentials', 'cors', 'include'); 233 audio_test(f, LOCAL_URL, 'use-credentials', 'cors', 'include');
230 audio_test(f, REMOTE_URL, '', 'no-cors', 'include'); 234 audio_test(f, REMOTE_URL, '', 'no-cors', 'include');
231 audio_test(f, REMOTE_URL, 'anonymous', 'cors', 'same-origin'); 235 audio_test(f, REMOTE_URL, 'anonymous', 'cors', 'same-origin');
232 audio_test(f, REMOTE_URL, 'use-credentials', 'cors', 'include'); 236 audio_test(f, REMOTE_URL, 'use-credentials', 'cors', 'include');
233 }) 237 })
234 .catch(unreached_rejection(t)); 238 .catch(unreached_rejection(t));
235 }, 'Verify FetchEvent for resources.'); 239 }, 'Verify FetchEvent for resources.');
236 </script> 240 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698