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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/resources/windowclient-focus.html

Issue 866043005: [ServiceWorker] Tests for WindowClient.focus(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sw_openwindow_tests
Patch Set: review comment Created 5 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Resource for WindowClient.focus() tests</title>
5 </head>
6 <body>
7 <div>This is resources/window-client-focus.html</div>
8 </body>
9 <script>
10 function insertFrame(name) {
11 var frame = document.createElement('iframe');
12 frame.src = 'windowclient-focus.html?' + name;
13 document.body.appendChild(frame);
14 }
15
16 if (location.search == "") {
17 // If this window is the top level window, we should insert two iframes.
18 // They shouldn't create new iframes.
19 insertFrame("1");
20 insertFrame("2");
21 }
22 </script>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698