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

Side by Side Diff: LayoutTests/fast/events/popup-when-select-change.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.setPopupBlockingEnabled(true); 7 testRunner.setPopupBlockingEnabled(true);
8 testRunner.setCloseRemainingWindowsWhenComplete(true); 8 testRunner.setCloseRemainingWindowsWhenComplete(true);
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 } 10 }
(...skipping 27 matching lines...) Expand all
38 </head> 38 </head>
39 <body onload="test()"> 39 <body onload="test()">
40 <select onchange="onpopup()" id="control1"><option value="0">abcd</option><optio n value="0">efgh</option></select> 40 <select onchange="onpopup()" id="control1"><option value="0">abcd</option><optio n value="0">efgh</option></select>
41 If the pop-up was not blocked then there will be an PASS message. Otherwise, the test fails. 41 If the pop-up was not blocked then there will be an PASS message. Otherwise, the test fails.
42 <form id="form" action="data:text/html,<script>console.log('PASSED')</script>" t arget="target"> 42 <form id="form" action="data:text/html,<script>console.log('PASSED')</script>" t arget="target">
43 <input id="control2" type="submit" value="Submit to new window"/> 43 <input id="control2" type="submit" value="Submit to new window"/>
44 </form> 44 </form>
45 <form id="form2" action="data:text/html,<b>hello!</b><script>window.testRunner & & testRunner.notifyDone()</script>" target="panel"> 45 <form id="form2" action="data:text/html,<b>hello!</b><script>window.testRunner & & testRunner.notifyDone()</script>" target="panel">
46 <input type="submit" value="Submit local page Javascript"/> 46 <input type="submit" value="Submit local page Javascript"/>
47 </form> 47 </form>
48 <iframe id="target"></iframe><iframe id="panel"></iframe> 48 <iframe name="target"></iframe><iframe name="panel"></iframe>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/popup-blocking-click-in-iframe.html ('k') | LayoutTests/fast/forms/form-submission-cancelable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698