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

Unified Diff: content/test/data/browser_plugin_dragging.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
Index: content/test/data/browser_plugin_dragging.html
diff --git a/content/test/data/browser_plugin_dragging.html b/content/test/data/browser_plugin_dragging.html
index 80cc14b820543a6acdb25892ca495af28a5e00ee..d22661a20f66ce70778c89719929e57d7292c677 100644
--- a/content/test/data/browser_plugin_dragging.html
+++ b/content/test/data/browser_plugin_dragging.html
@@ -32,7 +32,8 @@ function SetSrc(src) {
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>
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin_manager.cc ('k') | content/test/data/browser_plugin_embedder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698