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

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: 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>Foo</div>
Michael van Ouwerkerk 2015/02/18 10:55:47 Omit this?
mlamouri (slow - plz ping) 2015/02/18 11:34:55 It's good for local debugging. You don't get a bla
mlamouri (slow - plz ping) 2015/02/18 11:34:55 It's good for local debugging. You don't get a bla
Michael van Ouwerkerk 2015/02/18 12:39:03 Ok, so then make it say something meaningful. In i
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