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

Unified Diff: LayoutTests/plugins/npruntime/plugin-scriptable-object-invoke-default.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/npruntime/plugin-scriptable-object-invoke-default.html
diff --git a/LayoutTests/plugins/npruntime/plugin-scriptable-object-invoke-default.html b/LayoutTests/plugins/npruntime/plugin-scriptable-object-invoke-default.html
deleted file mode 100644
index a181764b97365ba7e02b8d827259579df6c3da10..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/plugin-scriptable-object-invoke-default.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-function doTest()
-{
- description('This page tests invoking as functions JavaScript objects that are provided by plugins.')
-
- if (window.testRunner)
- testRunner.dumpAsText();
-
- pluginWithInvokeDefault = document.getElementById('plugin-with-invoke-default');
-
- shouldBe("typeof(pluginWithInvokeDefault)", "'function'");
- shouldBe("pluginWithInvokeDefault()", "1")
-
- pluginWithoutInvokeDefault = document.getElementById('plugin-without-invoke-default');
- shouldBe("typeof(pluginWithoutInvokeDefault)", "'object'");
- shouldThrow("pluginWithoutInvokeDefault()");
-}
-</script>
-</head>
-<body onload="doTest();">
-<embed id="plugin-with-invoke-default" type="application/x-webkit-test-netscape" test="plugin-scriptable-npobject-invoke-default"></embed>
-<embed id="plugin-without-invoke-default" type="application/x-webkit-test-netscape" test="plugin-scriptable-npobject-no-invoke-default"></embed>
-<p id="description"></p>
-<div id="console"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698