Index: chrome/renderer/resources/extensions/miscellaneous_bindings.js |
diff --git a/chrome/renderer/resources/extensions/miscellaneous_bindings.js b/chrome/renderer/resources/extensions/miscellaneous_bindings.js |
index 108835c7369ce5a61e020a2c68699f4d4f86da19..3fc701066c69f4235ebf97d3bd54e9bde66eaa20 100644 |
--- a/chrome/renderer/resources/extensions/miscellaneous_bindings.js |
+++ b/chrome/renderer/resources/extensions/miscellaneous_bindings.js |
@@ -205,7 +205,9 @@ |
// the right event. |
var isExternal = sourceExtensionId != extensionId; |
- var sender = {id: sourceExtensionId}; |
+ var sender = {}; |
+ if (sourceExtensionId != '') |
+ sender.id = sourceExtensionId; |
if (sourceUrl) |
sender.url = sourceUrl; |
if (sourceTab) |