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> |