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

Unified Diff: LayoutTests/plugins/npruntime/npruntime.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/npruntime.html
diff --git a/LayoutTests/plugins/npruntime/npruntime.html b/LayoutTests/plugins/npruntime/npruntime.html
deleted file mode 100644
index 609ae165a0c32f34f79ebf0129cd0d218b038bc0..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/npruntime.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-function main()
-{
- if (!window.testRunner) {
- debug("This test can only run from within DumpRenderTree because it requires TestNetscapePlugin.\n");
- return;
- }
-
- testRunner.waitUntilDone();
-}
-main();
-
-function testNPInvoke()
-{
- argumentsLength = arguments.length;
-
- shouldBe("argumentsLength", "7");
-
- undefinedArgument = arguments[0];
- shouldBe("typeof(undefinedArgument)", "'undefined'")
-
- nullArgument = arguments[1];
- shouldBe("typeof(nullArgument)", "'object'")
- shouldBe("nullArgument", "null");
-
- booleanArgument = arguments[2];
- shouldBe("typeof(booleanArgument)", "'boolean'");
- shouldBe("booleanArgument", "true");
-
- intArgument = arguments[3];
- shouldBe("typeof(intArgument)", "'number'");
- shouldBe("intArgument", "242");
-
- doubleArgument = arguments[4];
- shouldBe("typeof(doubleArgument)", "'number'");
- shouldBe("doubleArgument", "242.242");
-
- stringArgument = arguments[5];
- shouldBe("typeof(stringArgument)", "'string'");
- shouldBe("stringArgument", "'Hello, World'");
-
- objectArgument = arguments[6];
- shouldBe("typeof(objectArgument)", "'object'");
-
- isSuccessfullyParsed();
- testRunner.notifyDone();
-}
-
-description("Tests that the NPRuntime implementation works as expected");
-
-</script>
-<embed id="plugin"
- type="application/x-webkit-test-netscape"
- style="width:0; height:0"
- testnpruntime="1">
-</embed>

Powered by Google App Engine
This is Rietveld 408576698