Closed
Bug 1216269
Opened 8 years ago
Closed 8 years ago
tab-firefox.js typo in tab attach method
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(firefox44 fixed)
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jlong, Unassigned)
References
()
Details
Attachments
(1 file, 1 obsolete file)
743 bytes,
patch
|
Details | Diff | Splinter Review |
Starting on line 214, in the `attach` method of the tab, there is this code: let listener = (frame) => { if (frame.frameElement != browser(this)) return; listener.off("attach", listener); attach(frame); }; frames.on("attach", listener); The `listener.off` line is wrong, it should be `frames.off`. One of our tests is failing but the error is being swallowed by promises so we haven't noticed. (We don't use this much in tests, as far as I know there is only 1 tests that uses this method).
Reporter | ||
Comment 1•8 years ago
|
||
Fixed in https://github.com/mozilla/addon-sdk/pull/2037
Reporter | ||
Updated•8 years ago
|
Summary: tab-firefox.js type in tab attach method → tab-firefox.js typo in tab attach method
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Attachment #8675855 -
Flags: review?(zer0)
Comment 3•8 years ago
|
||
Comment on attachment 8675855 [details] [diff] [review] 1216269.patch Review of attachment 8675855 [details] [diff] [review]: ----------------------------------------------------------------- We should have a test that cover this scenario; however is not a blocker to land this fix.
Attachment #8675855 -
Flags: review?(zer0) → review+
Reporter | ||
Comment 4•8 years ago
|
||
added r=zer0 to the commit
Attachment #8675855 -
Attachment is obsolete: true
Reporter | ||
Comment 5•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=66fc9c7010cd
Reporter | ||
Comment 6•8 years ago
|
||
Previous try is borked. New one: https://treeherder.mozilla.org/#/jobs?repo=try&revision=cde5165ef84e
Comment 9•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dc2bae25030b
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•