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

Side by Side Diff: LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows(true); 7 testRunner.setCanOpenWindows(true);
8 testRunner.setPopupBlockingEnabled(false); 8 testRunner.setPopupBlockingEnabled(false);
9 testRunner.overridePreference('WebKitSupportsMultipleWindows', false); 9 testRunner.overridePreference('WebKitSupportsMultipleWindows', false);
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 } 11 }
12 12
13 function opened(result) { 13 function opened(result) {
14 // Called by the embedded iframe. 14 // Called by the embedded iframe.
15 if (result == window) 15 if (result == window) {
16 document.writeln("PASS"); 16 document.writeln("PASS");
17 document.close();
18 }
17 19
18 if (window.testRunner) 20 if (window.testRunner)
19 testRunner.notifyDone(); 21 testRunner.notifyDone();
20 } 22 }
21 23
22 </script> 24 </script>
23 </head> 25 </head>
24 <body> 26 <body>
25 <iframe src="resources/child-opens-window.html"></iframe> 27 <iframe src="resources/child-opens-window.html"></iframe>
26 FAIL 28 FAIL
27 </body> 29 </body>
28 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698