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

Unified Diff: LayoutTests/plugins/npruntime/overrides-all-properties.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/overrides-all-properties.html
diff --git a/LayoutTests/plugins/npruntime/overrides-all-properties.html b/LayoutTests/plugins/npruntime/overrides-all-properties.html
deleted file mode 100644
index 7cbc04b4a9a52fc825b800e693015e884f6c0c5c..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/overrides-all-properties.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<head>
-
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function runTest() {
- if (!window.testRunner) {
- log("This test can only be run under WebKit's testRunner environment");
- return;
- }
-
- testRunner.evaluateScriptInIsolatedWorld(1, " \
- function test(msg, expected) \
- { \
- var console = document.getElementById('console'); \
- var span = document.createElement('span'); \
- if (msg == undefined) \
- msg = 'undefined'; \
- else \
- msg = msg.toString(); \
- span.innerHTML = msg == expected ? 'PASS<br>' : 'FAIL - <br>(' + msg + ') but expected <br>(' + expected + ')<br>'; \
- console.appendChild(span); \
- } \
- \
- pluginEmbed = document.getElementById('plugin-embed'); \
- \
- test('madeUpProperty' in pluginEmbed, 'true'); \
- test(typeof pluginEmbed.madeUpProperty, 'string'); \
- test(pluginEmbed.madeUpProperty, 'My name is madeUpProperty'); \
- test('getAttribute' in pluginEmbed, 'true'); \
- test(typeof pluginEmbed.getAttribute, 'function'); \
- test(pluginEmbed.getAttribute, 'function getAttribute() {\\n [native code]\\n}'); \
- \
- test(Object.getOwnPropertyDescriptor(pluginEmbed, 'madeUpProperty'), '[object Object]'); \
- test(Object.getOwnPropertyDescriptor(pluginEmbed, 'getAttribute'), 'undefined'); \
- \
- pluginObject = document.getElementById('plugin-object'); \
- \
- test('madeUpProperty' in pluginObject, 'true'); \
- test(typeof pluginObject.madeUpProperty, 'string'); \
- test(pluginObject.madeUpProperty, 'My name is madeUpProperty'); \
- test('getAttribute' in pluginObject, 'true'); \
- test(typeof pluginObject.getAttribute, 'function'); \
- test(pluginObject.getAttribute, 'function getAttribute() {\\n [native code]\\n}'); \
- \
- test(Object.getOwnPropertyDescriptor(pluginObject, 'madeUpProperty'), '[object Object]'); \
- test(Object.getOwnPropertyDescriptor(pluginObject, 'getAttribute'), 'undefined'); \
- ");
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-</head>
-
-<body onLoad="runTest()">
-<embed id="plugin-embed" type="application/x-webkit-test-netscape" test="plugin-scriptable-object-overrides-all-properties"></embed><br>
-<object id="plugin-object" type="application/x-webkit-test-netscape" test="plugin-scriptable-object-overrides-all-properties"></object><br>
-Test that the plugin script object - in a non-standard world - can override any property on its owning node *except* for the properties that are built in to the node or its constructor/prototype chain.<br>
-For example, it can override "madeUpProperty" but cannot override "getAttribute" or "className".<br>
-<div id="console"></div>
-</body>

Powered by Google App Engine
This is Rietveld 408576698