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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-redirect.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: Fetch Event Redirect Handling</title> 2 <title>Service Worker: Fetch Event Redirect Handling</title>
3 <meta name=timeout content=long> 3 <meta name=timeout content=long>
4 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="resources/testharness-helpers.js"></script> 5 <script src="resources/testharness-helpers.js"></script>
6 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 <script src="resources/get-host-info.sub.js"></script> 7 <script src="/common/get-host-info.sub.js"></script>
8 <script src="resources/test-helpers.sub.js"></script> 8 <script src="resources/test-helpers.sub.js"></script>
9 <body> 9 <body>
10 <script> 10 <script>
11 11
12 // ------------------------ 12 // ------------------------
13 // Utilities for testing non-navigation requests that are intercepted with 13 // Utilities for testing non-navigation requests that are intercepted with
14 // a redirect. 14 // a redirect.
15 15
16 var host_info = get_host_info(); 16 var host_info = get_host_info();
17 var worker = 'resources/fetch-rewrite-worker.js'; 17 var worker = 'resources/fetch-rewrite-worker.js';
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 }, 1093 },
1094 // should reject because requests with 'error' RequestRedirect cannot be 1094 // should reject because requests with 'error' RequestRedirect cannot be
1095 // redirected. 1095 // redirected.
1096 should_reject: true 1096 should_reject: true
1097 }); 1097 });
1098 }, 'Non-navigation, error redirect, no-cors mode Request redirected to ' + 1098 }, 'Non-navigation, error redirect, no-cors mode Request redirected to ' +
1099 'cors with credentials should fail interception and response should not ' + 1099 'cors with credentials should fail interception and response should not ' +
1100 'be redirected'); 1100 'be redirected');
1101 </script> 1101 </script>
1102 </body> 1102 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698