Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: LayoutTests/plugins/resources/resize-from-plugin-frame.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/plugins/resources/resize-from-plugin-frame.html
diff --git a/LayoutTests/plugins/resources/resize-from-plugin-frame.html b/LayoutTests/plugins/resources/resize-from-plugin-frame.html
deleted file mode 100644
index a9bafc7cd75d335dab12cfd8987cd9477a6d99f7..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/resources/resize-from-plugin-frame.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<html>
-<body>
-<embed name="plg" type="application/x-webkit-test-netscape" width="100px" height="100px">
-<p>Test for NPP_SetWindow calls sent while a plugin resizes itself.</p>
-<pre id=result></pre>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
-
-function resizePlugin(width, height)
-{
- plg.style.width = width + "px";
- plg.style.height = height + "px";
-}
-
-function test()
-{
- try {
- plg.resizeTo(200, 200);
- document.getElementById("result").innerHTML = plg.lastSetWindowArguments
- + "\nHeight and width should equal 200, and the plugin size should not change on scroll.";
- } catch (ex) {
- alert("Exception: " + ex.description + ". Test plugin was not found");
- }
-}
-
-plg.onclick = test;
-
-if (window.eventSender) {
- eventSender.mouseMoveTo(50, 70);
- eventSender.mouseDown();
- eventSender.mouseUp();
-} else
- document.getElementById("result").innerHTML = "Please click the plugin square above.\n&nbsp;";
-
-</script>
-<div style="visibility:hidden;height:5000px"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698