Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |