Closed
Bug 1216269
Opened 9 years ago
Closed 9 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•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Summary: tab-firefox.js type in tab attach method → tab-firefox.js typo in tab attach method
Reporter | ||
Comment 2•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Attachment #8675855 -
Flags: review?(zer0)
Comment 3•9 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•9 years ago
|
||
added r=zer0 to the commit
Attachment #8675855 -
Attachment is obsolete: true
Reporter | ||
Comment 5•9 years ago
|
||
Reporter | ||
Comment 6•9 years ago
|
||
Previous try is borked. New one: https://treeherder.mozilla.org/#/jobs?repo=try&revision=cde5165ef84e
Keywords: checkin-needed
Comment 9•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 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
•