Closed
Bug 1210349
Opened 10 years ago
Closed 10 years ago
MessageSender should carry tabs.Tab if the connection/message was opened/sent from a tab
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: edgar, Unassigned)
Details
| Comment hidden (obsolete) |
We do try to support this, although it might be broken. Are you testing on desktop or b2g? The desktop code is here:
http://mxr.mozilla.org/mozilla-central/source/browser/components/extensions/ext-tabs.js#17
On b2g we don't support the tabs API yet so there isn't any way to fill this field in.
| Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #1)
> We do try to support this, although it might be broken. Are you testing on
> desktop or b2g? The desktop code is here:
> http://mxr.mozilla.org/mozilla-central/source/browser/components/extensions/
> ext-tabs.js#17
> On b2g we don't support the tabs API yet so there isn't any way to fill this
> field in.
I am testing on desktop.
Thanks for this information. I thought we did not implement it.
| Reporter | ||
Comment 3•10 years ago
|
||
I found the MessageSender seem not carry tab information while I am trying adblocker+. I will do more tests and also check the code. Thank you.
Do you mean Adblock Plus? I've been testing with the Chrome version of Adblock Plus for a while and it seems to work well for me. Where is the error happening?
| Reporter | ||
Comment 5•10 years ago
|
||
I wrote a test extension to test this and it works good. And in fact there is a mochitest test which will do some checks on sender.tab, https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/test/mochitest/test_ext_sendmessage_reply.html#18.
Sorry about this false alarm.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.