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

Unified Diff: LayoutTests/plugins/npruntime/get-property-return-value.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/get-property-return-value.html
diff --git a/LayoutTests/plugins/npruntime/get-property-return-value.html b/LayoutTests/plugins/npruntime/get-property-return-value.html
deleted file mode 100644
index eabfd0dad4e66a0b866bbe548f37b2dbd5db73b2..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/get-property-return-value.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-<script>
-function runTest()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var plugin = document.getElementById("testPlugin");
- var result = document.getElementById('result');
-
- var o = { stringProperty : 'foo', nullProperty : null, undefinedProperty : undefined };
-
- if (!plugin.testGetPropertyReturnValue(o, 'stringProperty')) {
- result.innerHTML = "FAILURE: getting stringProperty returned false";
- return;
- }
-
- if (!plugin.testGetPropertyReturnValue(o, 'nullProperty')) {
- result.innerHTML = "FAILURE: getting nullProperty returned false";
- return;
- }
-
- if (!plugin.testGetPropertyReturnValue(o, 'undefinedProperty')) {
- result.innerHTML = "FAILURE: getting undefinedProperty returned false";
- return;
- }
-
- if (!plugin.testGetPropertyReturnValue(o, 'nonExistentProperty')) {
- result.innerHTML = "FAILURE: getting undefinedProperty returned false";
- return;
- }
-
- result.innerHTML = 'SUCCESS';
-}
-</script>
-
-<body onload="runTest();">
-<embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" height="200"></embed>
-This tests that we return the correct return value when a plugin calls NPN_GetProperty.
-<div id="result">FAILURE</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698