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

Unified Diff: LayoutTests/plugins/npruntime/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/invoke-default.html
diff --git a/LayoutTests/plugins/npruntime/invoke-default.html b/LayoutTests/plugins/npruntime/invoke-default.html
deleted file mode 100644
index c8785266791417e8349dd6823808af36c7926328..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/invoke-default.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<script>
-function runTest()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var successCount = 0;
- var plugin = document.getElementById("testPlugin");
- var retval = plugin.testInvokeDefault(
- function f(str) {
- if (f == this && str == 'test')
- successCount++;
- });
-
- if (retval)
- successCount++;
-
- retval = plugin.testInvokeDefault(window.location);
- if (!retval)
- successCount++;
-
- if (successCount == 3)
- document.getElementById('result').innerHTML = 'SUCCESS'
-}
-</script>
-
-<body onload="runTest();">
-This tests that it's possible to call NPN_InvokeDefault on a JavaScript object. If this test succeeded, the text "SUCCESS" should be shown below.
-<div id="result">FAILURE</div>
-<embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" height="200"></embed>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698