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

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

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

Powered by Google App Engine
This is Rietveld 408576698