Closed
Bug 1436361
Opened 6 years ago
Closed 6 years ago
Extract the async tab switcher from tabbrowser.js into its own JSM
Categories
(Firefox :: Tabbed Browser, enhancement, P3)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: mconley, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
59 bytes,
text/x-review-board-request
|
mconley
:
review+
|
Details |
235.99 KB,
patch
|
Details | Diff | Splinter Review |
The async tab switcher is a huge chunk of code embedded in an even larger chunk of code (tabbrowser.xml). Gijs suggested it might make sense to extract it into its own separate JSM. I'm inclined to agree.
Assignee | ||
Updated•6 years ago
|
Priority: -- → P3
Comment 1•6 years ago
|
||
If it helps, I have a tool to convert XBL code into a JS class at https://bgrins.github.io/xbl-analysis/converter/. There's also a migrated version of the tabbrowser binding based on the current m-c tip in the patch in Bug 1392352. Although it looks like this object may be pretty much contained in the _getSwitcher method and not use a lot of XBL specifics.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dao+bmo
Summary: Extract the async tab switcher from tabbrowser.xml into its own JSM → Extract the async tab switcher from tabbrowser.js into its own JSM
Assignee | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3bb44c8dc4a7ce3ad7055e8fc0ba6755fa773729
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•6 years ago
|
||
This should be easier to review.
Reporter | ||
Comment 5•6 years ago
|
||
Comment on attachment 8955455 [details] [diff] [review] hg diff -w Review of attachment 8955455 [details] [diff] [review]: ----------------------------------------------------------------- Yes, I think extracting this out is the right move. Thanks!
Attachment #8955455 -
Flags: review+
Reporter | ||
Comment 6•6 years ago
|
||
cc'ing dthayer, who's been working on the async tab switcher, so that he's aware of what's going on here.
Reporter | ||
Comment 7•6 years ago
|
||
Comment on attachment 8955455 [details] [diff] [review] hg diff -w Bah - r+'d the wrong thing.
Attachment #8955455 -
Flags: review+
Reporter | ||
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8955454 [details] Bug 1436361 - Extract the async tab switcher from tabbrowser.js into its own JSM. https://reviewboard.mozilla.org/r/224616/#review231008
Attachment #8955454 -
Flags: review?(mconley) → review+
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d85720211dd Extract the async tab switcher from tabbrowser.js into its own JSM. r=mconley
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3d85720211dd
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in
before you can comment on or make changes to this bug.
Description
•