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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/response/multi-globals/incumbent/incumbent.html

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 8 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>Incumbent page used as a test helper</title>
3
4 <iframe src="../current/current.html" id="c"></iframe>
5 <iframe src="../relevant/relevant.html" id="r"></iframe>
6
7 <script>
8 'use strict';
9
10 window.createRedirectResponse = (...args) => {
11 const current = document.querySelector('#c').contentWindow;
12 const relevant = document.querySelector('#r').contentWindow;
13 return current.Response.redirect.call(relevant.Response, ...args);
14 };
15
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698