| <embed name="plg" type="application/x-webkit-test-netscape" width="100px" height="100px"> |
| <p>Test for NPP_SetWindow calls sent while a plug-in resizes itself.</p> |
| testRunner.dumpChildFramesAsText(); |
| function resizePlugin(width, height) |
| plg.style.width = width + "px"; |
| plg.style.height = height + "px"; |
| document.getElementById("result").innerHTML = plg.lastSetWindowArguments |
| + "\nHeight and width should equal 200, and the plug-in size should not change on scroll."; |
| alert("Exception: " + ex.description + ". Test plugin was not found"); |
| if (window.eventSender) { |
| eventSender.mouseMoveTo(50, 70); |
| document.getElementById("result").innerHTML = "Please click the plug-in square above.\n "; |
| <div style="visibility:hidden;height:5000px"></div> |