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

Side by Side Diff: LayoutTests/fast/events/popup-blocking-click-in-iframe.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.setCanOpenWindows(); 6 testRunner.setCanOpenWindows();
7 testRunner.dumpChildFramesAsText(); 7 testRunner.dumpChildFramesAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.setCloseRemainingWindowsWhenComplete() 9 testRunner.setCloseRemainingWindowsWhenComplete()
10 testRunner.setPopupBlockingEnabled(true); 10 testRunner.setPopupBlockingEnabled(true);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 function log(msg) 46 function log(msg)
47 { 47 {
48 var res = document.getElementById('res'); 48 var res = document.getElementById('res');
49 res.innerHTML = res.innerHTML + msg + "<br>"; 49 res.innerHTML = res.innerHTML + msg + "<br>";
50 } 50 }
51 </script> 51 </script>
52 </head> 52 </head>
53 <body style="border: 0; margin: 0" onload="test()"> 53 <body style="border: 0; margin: 0" onload="test()">
54 <iframe style="border: 0; margin: 0" src="resources/popup-blocking-click -in-iframe-otherFrame.html" id="otherFrame"></iframe> 54 <iframe style="border: 0; margin: 0" src="resources/popup-blocking-click -in-iframe-otherFrame.html" name="otherFrame"></iframe>
55 55
56 <p>This tests that popup blocking does not supress windows opened in an iframe if the event handler is a function from an enclosing frame.</p> 56 <p>This tests that popup blocking does not supress windows opened in an iframe if the event handler is a function from an enclosing frame.</p>
57 <p>To run manually click the link in the iframe above with popup blockin g enabled.</p> 57 <p>To run manually click the link in the iframe above with popup blockin g enabled.</p>
58 <div id="res"></div> 58 <div id="res"></div>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/popup-blocked-to-post-blank.html ('k') | LayoutTests/fast/events/popup-when-select-change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698