Closed
Bug 1146252
Opened 9 years ago
Closed 9 years ago
Remove fromTab and toTab properties from "select" events in tabbrowser.xml and tabbox.xml
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: dao, Assigned: johnkang.h, Mentored)
References
Details
(Whiteboard: [good first bug][lang=js])
Attachments
(1 file)
1.83 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
Bug 1135045 set fromTab and toTab properties on "select" events in browser/base/content/tabbrowser.xml and toolkit/content/widgets/tabbox.xml. Then bug 1144782 made us use the "TabSelect" event rather than the "select" event, leaving fromTab and toTab completely unused. So we should remove them. The relevant code can be found here: http://hg.mozilla.org/mozilla-central/annotate/e730012260a4/browser/base/content/tabbrowser.xml#l5523 http://hg.mozilla.org/mozilla-central/annotate/e730012260a4/toolkit/content/widgets/tabbox.xml#l667
Did you want every instance of fromTab and toTab, including the enclosing if-else statements removed?
Reporter | ||
Comment 2•9 years ago
|
||
We should just stop setting event.fromTab and event.toTab in the code I pointed to. I'm not sure what if-else statements you mean.
Comment 3•9 years ago
|
||
John, you basically only have to revert the following changes: https://hg.mozilla.org/releases/mozilla-aurora/diff/f4c0e3fd326a/browser/base/content/tabbrowser.xml https://hg.mozilla.org/releases/mozilla-aurora/diff/f4c0e3fd326a/toolkit/content/widgets/tabbox.xml Not more.
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/diff/77e37031bb11/browser/base/content/tabbrowser.xml https://hg.mozilla.org/mozilla-central/diff/77e37031bb11/toolkit/content/widgets/tabbox.xml for the mozilla-central locations.
Here you go! Please let me know if anything else is required or if I made a mistake. :)
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8582710 [details] [diff] [review] bug1146252.diff Looks good. Thanks!
Attachment #8582710 -
Flags: review+
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → johnkang.h
Keywords: checkin-needed
Great. Could I bother you again for a vouch? https://mozillians.org/en-US/u/jkang8/
Reporter | ||
Comment 8•9 years ago
|
||
(In reply to John Kang from comment #7) > Great. Could I bother you again for a vouch? > https://mozillians.org/en-US/u/jkang8/ done!
Reporter | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/a83feceee78b
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a83feceee78b
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Assignee | ||
Comment 11•9 years ago
|
||
Hi, I'm still learning about contributing to Firefox. Is my patch already checked into the repository or do I need to still do it? Also, how do I have my contributions show up on my GitHub account? Thanks.
Reporter | ||
Comment 12•9 years ago
|
||
(In reply to John Kang from comment #11) > Hi, I'm still learning about contributing to Firefox. Is my patch already > checked into the repository or do I need to still do it? It has been checked in (comment 9) and merged to mozilla-central (comment 10). > Also, how do I have my contributions show up on my GitHub account? Sorry, I have no idea about that. Our primary repository is https://hg.mozilla.org/mozilla-central/. I think there's a mirror on GitHub, but it's read-only. I'm not sure whether that's relevant to your question.
Comment 13•9 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #12) > (In reply to John Kang from comment #11) > > Also, how do I have my contributions show up on my GitHub account? > > Sorry, I have no idea about that. Our primary repository is > https://hg.mozilla.org/mozilla-central/. I think there's a mirror on GitHub, > but it's read-only. I'm not sure whether that's relevant to your question. Yes, as soon as that mirror is synced it'll show up as a contribution to mozilla/gecko-dev. In fact, I can already see it listed on your GitHub profile page :)
You need to log in
before you can comment on or make changes to this bug.
Description
•