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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect-to-http.html

Issue 2872363002: Upstream service worker navigation tests 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
(Empty)
1 <!DOCTYPE html>
2 <title>Service Worker: Service Worker can receive HTTP opaqueredirect response.< /title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script src="../resources/get-host-info.js?pipe=sub"></script>
6 <script src="resources/test-helpers.js"></script>
7 <body></body>
8 <script>
9 async_test(function(t) {
10 var host_info = get_host_info();
11 window.addEventListener('message', t.step_func(on_message), false);
12 with_iframe(
13 host_info['HTTPS_ORIGIN'] + base_path() +
14 'resources/navigation-redirect-to-http-iframe.html');
15 function on_message(e) {
16 assert_equals(e.data.results, 'OK');
17 t.done();
18 }
19 }, 'Verify Service Worker can recieve HTTP opaqueredirect response.');
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698