Tomislav Jovanovic
|
6cb509b787
|
Bug 1635637 - Add contextId to MessageSender, prevent onConnect in same Context r=robwu a=RyanVM
We already had logic to avoid sending to the same context, but weren't setting the `contextId` as necessary.
https://searchfox.org/mozilla-central/rev/dc4560dc/toolkit/components/extensions/ConduitsParent.jsm#251
Also add a test specifically for connect() triggering onConnect in the same Context, since the existing test only covered sendMessage.
Differential Revision: https://phabricator.services.mozilla.com/D74099
|
2020-05-06 17:08:11 +00:00 |
|