OLD | NEW |
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 Loading... |
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> |
OLD | NEW |