3 <script src=
"../resources/plugin.js"></script>
5 startAfterLoadAndFinish(function() {
6 inputElement
= document
.getElementById('frame');
10 if (!window
.testRunner
) {
11 output
.textContent
= "Test that clicking on a plugin clears the selection on the currently focused element. Click on the plugin; the text in the input control should no longer be highlighted. The rendertree for this test should not contain any selection information. See https://bugs.webkit.org/show_bug.cgi?id=30355";
13 eventSender
.mouseMoveTo(60, 60);
14 eventSender
.mouseDown();
15 eventSender
.mouseUp();
21 <embed id=
"plg" type=
"application/x-webkit-test-netscape" width=
"100" height=
"100" windowedplugin=
"false"></embed><br>
22 <input id=
"frame" value=
"hello"/>
23 <div id=
"output"></div>