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

Side by Side Diff: third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase; fix expectations for plugin-initiate-popup-window-expected Created 4 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 function end_test() { 59 function end_test() {
60 // Change focus back to window to stop the plugin event logging. 60 // Change focus back to window to stop the plugin event logging.
61 window.focus(); 61 window.focus();
62 // Close the test. 62 // Close the test.
63 setTimeout(function() {testRunner.notifyDone();}, 1); 63 setTimeout(function() {testRunner.notifyDone();}, 1);
64 } 64 }
65 </script> 65 </script>
66 </head> 66 </head>
67 <body onload="internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTask s(); test();"> 67 <body onload="internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTask s(); test();">
68 <embed type="application/x-webkit-test-netscape" width=100 height=40 evaluatescr ipt="mouse::popup_by_mousedown()" windowedplugin="false"></embed><br> 68 <embed type="application/x-blink-deprecated-test-plugin" width=100 height=40 mou sedownscript="popup_by_mousedown()" windowedplugin="false"></embed><br>
69 <embed type="application/x-webkit-test-netscape" width=100 height=40 evaluatescr ipt="key::popup_by_keydown()" windowedplugin="false"></embed><br> 69 <embed type="application/x-blink-deprecated-test-plugin" width=100 height=40 key downscript="popup_by_keydown()" windowedplugin="false"></embed><br>
70 Specify a script and a mouse/keyboard event to the plugin. The specified script will be evaluated in the browser when the specified event is received by the plu gin. The test is for bug https://bugs.webkit.org/show_bug.cgi?id=41292.<br> 70 Specify a script and a mouse/keyboard event to the plugin. The specified script will be evaluated in the browser when the specified event is received by the plu gin. The test is for bug https://bugs.webkit.org/show_bug.cgi?id=41292.<br>
71 Opening window by mouse down is <span id="mousedown_output">FAILED</span><br> 71 Opening window by mouse down is <span id="mousedown_output">FAILED</span><br>
72 Opening window by key down is <span id="keydown_output">FAILED</span> 72 Opening window by key down is <span id="keydown_output">FAILED</span>
73 </body> 73 </body>
74 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698