Crash when trying to invalidate the NPRuntimeObjectMap for a plug-in in a subframe
[WebKit-https.git] / LayoutTests / plugins / clicking-missing-plugin-fires-delegate.html
1 <html>
2 <body>
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>
5 <script>
6
7     if (!window.layoutTestController) {
8         document.write("This test does not work in manual mode.");
9     } else {
10         layoutTestController.dumpAsText();
11
12         eventSender.mouseMoveTo(0,0);
13         eventSender.mouseMoveTo(105, 105);
14         eventSender.mouseDown();
15         eventSender.mouseUp();
16     }
17
18 </script>
19 </body>
20 </html>