diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-20 17:39:09 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-20 17:39:09 +0200 |
commit | 0b2e4f1afad41e638bce2c631c7bc895ba6c0c69 (patch) | |
tree | 0fdada34ddfa883d7e36142d0aa2084d1f343b35 /toolkit/components/webextensions/ExtensionContent.jsm | |
parent | 20a3f8c006445b176fa8559f6529c2cf3cb75b0d (diff) | |
download | UXP-0b2e4f1afad41e638bce2c631c7bc895ba6c0c69.tar UXP-0b2e4f1afad41e638bce2c631c7bc895ba6c0c69.tar.gz UXP-0b2e4f1afad41e638bce2c631c7bc895ba6c0c69.tar.lz UXP-0b2e4f1afad41e638bce2c631c7bc895ba6c0c69.tar.xz UXP-0b2e4f1afad41e638bce2c631c7bc895ba6c0c69.zip |
moebius#217: WebExtensions - Implemented "runtime.onMessageExternal"/"onConnectExternal"
https://github.com/MoonchildProductions/moebius/pull/217
Diffstat (limited to 'toolkit/components/webextensions/ExtensionContent.jsm')
-rw-r--r-- | toolkit/components/webextensions/ExtensionContent.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/webextensions/ExtensionContent.jsm b/toolkit/components/webextensions/ExtensionContent.jsm index 9b9a02091..5bdcde6f5 100644 --- a/toolkit/components/webextensions/ExtensionContent.jsm +++ b/toolkit/components/webextensions/ExtensionContent.jsm @@ -456,7 +456,7 @@ class ContentScriptContextChild extends BaseContext { defineLazyGetter(ContentScriptContextChild.prototype, "messenger", function() { // The |sender| parameter is passed directly to the extension. - let sender = {id: this.extension.uuid, frameId: this.frameId, url: this.url}; + let sender = {id: this.extension.id, frameId: this.frameId, url: this.url}; let filter = {extensionId: this.extension.id}; let optionalFilter = {frameId: this.frameId}; |