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: content/test/data/browser_plugin_focus.html

Issue 250063002: Browser Plugin: Simplified guest attachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed New Window API test Created 6 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
« no previous file with comments | « content/test/data/browser_plugin_embedder.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/browser_plugin_focus.html
diff --git a/content/test/data/browser_plugin_focus.html b/content/test/data/browser_plugin_focus.html
index b6b0dffa24b3395cf76a443cd07d4c55dc48c4c0..697213ac3c74e60cf041d9b090000a77fdfe0730 100644
--- a/content/test/data/browser_plugin_focus.html
+++ b/content/test/data/browser_plugin_focus.html
@@ -20,7 +20,8 @@
<script type="text/javascript">
var plugin = document.getElementById('plugin');
plugin.addEventListener('-internal-instanceid-allocated', function(e) {
- plugin['-internal-attach']({});
+ var detail = e.detail ? JSON.parse(e.detail) : {};
+ plugin['-internal-attach'](detail.windowId, {});
});
</script>
</body>
« no previous file with comments | « content/test/data/browser_plugin_embedder.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698