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