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

Unified Diff: LayoutTests/plugins/embed-inside-object.html

Issue 50453004: Finding an <object> element by name only works it has no children other than <param> elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unnecessary include Created 7 years, 2 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/embed-inside-object.html
diff --git a/LayoutTests/plugins/embed-inside-object.html b/LayoutTests/plugins/embed-inside-object.html
index dfc0da3dc6463b3e94c686ec8f568139f74313c8..37b1269d8031123cda5888f2d1430ae85be8989e 100644
--- a/LayoutTests/plugins/embed-inside-object.html
+++ b/LayoutTests/plugins/embed-inside-object.html
@@ -16,10 +16,10 @@
testRunner.waitUntilDone();
}
- var plugin = document.plugin;
+ var plugins = document.plugin;
- debug('plugin object is: ' + plugin);
- plugin.getURL('javascript:pluginCallback()', '_self')
+ debug('plugin object is: ' + plugins[1]);
+ plugins[1].getURL('javascript:pluginCallback()', '_self')
}
</script>
<body onload="runTest()">

Powered by Google App Engine
This is Rietveld 408576698