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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-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: FetchEvent for resources</title> 2 <title>Service Worker: FetchEvent for resources</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/testharnessreport.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <script src="resources/get-host-info.sub.js"></script> 6 <script src="/common/get-host-info.sub.js"></script>
7 <script src="resources/test-helpers.sub.js"></script> 7 <script src="resources/test-helpers.sub.js"></script>
8 <script> 8 <script>
9 9
10 function assert_resolves(promise, description) { 10 function assert_resolves(promise, description) {
11 return promise.catch(function(reason) { 11 return promise.catch(function(reason) {
12 throw new Error(description + ' - ' + reason.message); 12 throw new Error(description + ' - ' + reason.message);
13 }); 13 });
14 } 14 }
15 15
16 function assert_rejects(promise, description) { 16 function assert_rejects(promise, description) {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 'not be redirected with NO-CORS mode.'), 363 'not be redirected with NO-CORS mode.'),
364 ]); 364 ]);
365 }) 365 })
366 .then(function() { 366 .then(function() {
367 frame.remove(); 367 frame.remove();
368 service_worker_unregister_and_done(t, SCOPE); 368 service_worker_unregister_and_done(t, SCOPE);
369 }); 369 });
370 }, 'Verify redirected of Response(Fetch API), Cache API and ServiceWorker ' + 370 }, 'Verify redirected of Response(Fetch API), Cache API and ServiceWorker ' +
371 'FetchEvent.'); 371 'FetchEvent.');
372 </script> 372 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698