Closed
Bug 792224
Opened 12 years ago
Closed 10 years ago
add explicit test for worker.js's detach event on the content side
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evold, Assigned: zombie)
References
Details
Attachments
(1 file)
If there is a test already then I missed it.
Priority: -- → P1
Comment 1•11 years ago
|
||
In the content script, you can do self.on("detach", function() {}); though it is not mentioned in the documentation. Is that what you mean?
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to willmarquardt from comment #1) > In the content script, you can do self.on("detach", function() {}); though > it is not mentioned in the documentation. > > Is that what you mean? Yes that is what I mean, I'm pretty sure that due to a bug this does not work at the moment, and if it ever worked then there were no tests for it, which is what allowed it to regress.
Assignee | ||
Comment 3•10 years ago
|
||
Erik, this is similar to your test for bug 964118, only simpler..
Reporter | ||
Updated•10 years ago
|
Attachment #8384334 -
Flags: review?(evold) → review+
Comment 4•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/e165531da5c0786d1cba13f94fd49d3cd216ed82 bug 792224 - test onDetach event in contentScript https://github.com/mozilla/addon-sdk/commit/5db6e2a9204b8cac4dc24c2da2ceff5313c18ac9 Merge pull request #1414 from zombie/792224-ondetach-tests bug 792224 - test onDetach event in contentScript r=@erikvold
Reporter | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•