summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/plugins/clicking-missing-plugin-fires-delegate.html
blob: b730e5c13d0935d89497f794c1c4c3fc9652504a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<body>
<embed name="plg" type="application/x-non-existent" width=200 height=200></embed>
<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>
<script>

    if (!window.testRunner) {
        document.write("This test does not work in manual mode.");
    } else {
        testRunner.dumpAsText();

        eventSender.mouseMoveTo(0,0);
        eventSender.mouseMoveTo(105, 105);
        eventSender.mouseDown();
        eventSender.mouseUp();
    }

</script>
</body>
</html>