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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-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: Navigation redirection</title> 2 <title>Service Worker: Navigation redirection</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"></script> 6 <script src="resources/test-helpers.sub.js"></script>
7 <body> 7 <body>
8 <script> 8 <script>
9 var host_info = get_host_info(); 9 var host_info = get_host_info();
10 10
11 // This test registers three Service Workers at SCOPE1, SCOPE2 and 11 // This test registers three Service Workers at SCOPE1, SCOPE2 and
12 // OTHER_ORIGIN_SCOPE. And checks the redirected page's URL and the requests 12 // OTHER_ORIGIN_SCOPE. And checks the redirected page's URL and the requests
13 // which are intercepted by Service Worker while loading redirect page. 13 // which are intercepted by Service Worker while loading redirect page.
14 var BASE_URL = host_info['HTTPS_ORIGIN'] + base_path(); 14 var BASE_URL = host_info['HTTPS_ORIGIN'] + base_path();
15 var OTHER_BASE_URL = host_info['HTTPS_REMOTE_ORIGIN'] + base_path(); 15 var OTHER_BASE_URL = host_info['HTTPS_REMOTE_ORIGIN'] + base_path();
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 [[SCOPE1 + 'sw=opaqueThroughCache&url=' + 440 [[SCOPE1 + 'sw=opaqueThroughCache&url=' +
441 encodeURIComponent(OTHER_ORIGIN_SCOPE)], 441 encodeURIComponent(OTHER_ORIGIN_SCOPE)],
442 [], 442 [],
443 [OTHER_ORIGIN_SCOPE]]); 443 [OTHER_ORIGIN_SCOPE]]);
444 }); 444 });
445 }, 445 },
446 'Redirect to other-origin in-scope with opaque redirect response which ' + 446 'Redirect to other-origin in-scope with opaque redirect response which ' +
447 'is passed through Cache.'); 447 'is passed through Cache.');
448 </script> 448 </script>
449 </body> 449 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698