summaryrefslogtreecommitdiffstats
path: root/toolkit/components/webextensions/test/xpcshell
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-20 17:39:09 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-20 17:39:09 +0200
commit0b2e4f1afad41e638bce2c631c7bc895ba6c0c69 (patch)
tree0fdada34ddfa883d7e36142d0aa2084d1f343b35 /toolkit/components/webextensions/test/xpcshell
parent20a3f8c006445b176fa8559f6529c2cf3cb75b0d (diff)
downloadUXP-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/test/xpcshell')
-rw-r--r--toolkit/components/webextensions/test/xpcshell/test_ext_legacy_extension_context.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/webextensions/test/xpcshell/test_ext_legacy_extension_context.js b/toolkit/components/webextensions/test/xpcshell/test_ext_legacy_extension_context.js
index 63d5361a1..770851472 100644
--- a/toolkit/components/webextensions/test/xpcshell/test_ext_legacy_extension_context.js
+++ b/toolkit/components/webextensions/test/xpcshell/test_ext_legacy_extension_context.js
@@ -108,7 +108,7 @@ add_task(function* test_legacy_extension_context() {
"Got the expected message");
ok(msgSender, "Got a message sender object");
- equal(msgSender.id, extensionInfo.uuid, "The sender has the expected id property");
+ equal(msgSender.id, extension.id, "The sender has the expected id property");
equal(msgSender.url, extensionInfo.bgURL, "The sender has the expected url property");
// Wait confirmation that the reply has been received.
@@ -136,7 +136,7 @@ add_task(function* test_legacy_extension_context() {
ok(port, "Got the Port API object");
ok(port.sender, "The port has a sender property");
- equal(port.sender.id, extensionInfo.uuid,
+ equal(port.sender.id, extension.id,
"The port sender has the expected id property");
equal(port.sender.url, extensionInfo.bgURL,
"The port sender has the expected url property");