Closed
Bug 879541
Opened 12 years ago
Closed 8 years ago
attach events for content scripts attached to a tab should work
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: evold, Unassigned)
Details
It would be useful to have attach events for content scripts attach directly to a tab, which is something that we do not have at the moment. Instead one must work around it with something like this: https://gist.github.com/erikvold/5710196
In other words this should work: `tab.attach({onAttach: function(worker) {}})`
However, we should probably deprecate this tab.attach api in favor of ContentScript().attachTo(tab) or something like that in the long run.
Priority: -- → P3
Comment 1•8 years ago
|
||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Comment 2•8 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•