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

Side by Side Diff: chrome/test/data/magic_iframe/iframe-reparenting-close-window.html

Issue 7550021: Add a browsertest for magic iframe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually disable the test Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <script>
3 window.log = function(message)
4 {
5 document.getElementById("log").innerText += message + "\n";
6 }
7
8 window.getLog = function()
9 {
10 return document.getElementById("log").innerText;
11 }
12
13 window.finish = function()
14 {
15 log("DONE");
16 // This navigation terminates the wait condition in the test code.
17 window.location.href = window.location.href + "#done";
18 }
19
20 function start()
21 {
22 window.childWindow = window.open("iframe-reparenting-close-window-child.html", "_blank");
23 window.childWindow.addEventListener("load", "log('PASS: Child window loaded.') ", false);
Paweł Hajdan Jr. 2011/08/03 16:27:27 Does the C++ part check for this PASS in the log?
24 }
25
26 </script>
27 <body onload="start()">
28 <pre id="log"></pre>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698