| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <embed name="plg" type="application/x-non-existent" width=200 height=200></embed
> | 3 <embed name="plg" type="application/x-non-existent" width=200 height=200></embed
> |
| 4 <p>This test checks if the missing plug-in button can be clicked. This is a test
for <a href="https://bugs.webkit.org/show_bug.cgi?id=41721">Bug 41721</a>.</p> | 4 <p>This test checks if the missing plugin button can be clicked. This is a test
for <a href="https://bugs.webkit.org/show_bug.cgi?id=41721">Bug 41721</a>.</p> |
| 5 <script> | 5 <script> |
| 6 | 6 |
| 7 if (!window.testRunner) { | 7 if (!window.testRunner) { |
| 8 document.write("This test does not work in manual mode."); | 8 document.write("This test does not work in manual mode."); |
| 9 } else { | 9 } else { |
| 10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
| 11 | 11 |
| 12 eventSender.mouseMoveTo(0,0); | 12 eventSender.mouseMoveTo(0,0); |
| 13 eventSender.mouseMoveTo(105, 105); | 13 eventSender.mouseMoveTo(105, 105); |
| 14 eventSender.mouseDown(); | 14 eventSender.mouseDown(); |
| 15 eventSender.mouseUp(); | 15 eventSender.mouseUp(); |
| 16 } | 16 } |
| 17 | 17 |
| 18 </script> | 18 </script> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| OLD | NEW |