Closed
Bug 1469902
Opened 3 years ago
Closed 3 years ago
Migrate <tabbox> to a Custom Element
Categories
(Core :: XUL, task, P3)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(1 file, 3 obsolete files)
This looks like a good candidate for Custom Element conversion: https://bgrins.github.io/xbl-analysis/tree/#tabbox - bound to a single element (tabbox) - no <content> - no [implements]
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 3•3 years ago
|
||
This works, but leaks in debug builds. I think that's due to Bug 1413418: https://treeherder.mozilla.org/#/jobs?repo=try&revision=173e7ed0efd270f79933051d3a13e191f0602aba
| Assignee | ||
Comment 4•3 years ago
|
||
Screenshots look good: https://screenshots.mattn.ca/compare/?oldProject=try&oldRev=47e3cd1ce0e9cb5efcbfd0a8931a9ca378581cc6&newProject=try&newRev=1d41d015ceeb670112fc4ca60d4122ed1da939c6
Updated•3 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 5•3 years ago
|
||
Leak seems to go away with the patch in Bug 1413418 applied. Before: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5f2682c84de93c905b8e98afa823270df9418603 After: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6375fb7cfb1001d0b145a101b914c9b4d8046a71
| Assignee | ||
Comment 6•3 years ago
|
||
MozReview-Commit-ID: HNDiMYmKgkg
| Assignee | ||
Updated•3 years ago
|
Attachment #8986530 -
Attachment is obsolete: true
| Assignee | ||
Updated•3 years ago
|
Attachment #8986531 -
Attachment is obsolete: true
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
| Assignee | ||
Comment 7•3 years ago
|
||
Arshad, there's one consumer in mail that extends the tabbox xbl binding. It looks like it only changes one property (`tabs`): https://searchfox.org/comm-central/rev/b0a715472ce3bfd64760f0091bddee2ac012434a/mail/base/content/tabmail.xml#1826 I'm fairly sure that could be achieved by setting the [tabcontainer] attribute on the DOM node that gets that binding attached (as per this getter https://searchfox.org/mozilla-central/rev/3fa761ade83ed0b8ab463acb057c2cf0b104689e/toolkit/content/widgets/tabbox.xml#44-46). If not, you should be able to set an expando property on the DOM node from JS (override node.tabs to be a getter that returns the right thing. Last option would be to port the current tabbox XBL binding over to comm-central and somehow avoid loading the Custom Element from toolkit/.
Flags: needinfo?(arshdkhn1)
| Assignee | ||
Comment 8•3 years ago
|
||
Comment 9•3 years ago
|
||
Ok! I'll work on this tomorrow. Thanks for letting me know the possible approaches of conversion.
Flags: needinfo?(arshdkhn1)
| Assignee | ||
Comment 10•3 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=db833d1a587d1d2a3266b5ed52eb81b25bc542bb
| Assignee | ||
Comment 11•3 years ago
|
||
Not seeing anything show up on Talos so far: https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=f2b4496207583ca8b9f6840f58714d1577a3a37c&newProject=try&newRevision=4e815cb8f9c0315d8c9db0e5fe0a9ef836986537&framework=1&showOnlyImportant=1.
| Assignee | ||
Comment 12•3 years ago
|
||
In phab it still shows up as "This revision now requires changes to proceed." but I pushed an update to the patch which I thought would re-flag it for you. Marking needinfo to make sure it shows up on your radar.
Flags: needinfo?(dao+bmo)
Comment 13•3 years ago
|
||
Comment on attachment 9003177 [details] Bug 1469902 - Migrate <tabbox> to a Custom Element;r=dao Dão Gottwald [::dao] has approved the revision.
Attachment #9003177 -
Flags: review+
Comment 14•3 years ago
|
||
Comment on attachment 9003189 [details] Bug 1469902 - hg cp tabbox.xml -> tabbox.js to preserve blame Dão Gottwald [::dao] has approved the revision.
Attachment #9003189 -
Flags: review+
Updated•3 years ago
|
Flags: needinfo?(dao+bmo)
Updated•3 years ago
|
Attachment #9003177 -
Attachment description: Bug 1469902 - Migrate <tabbox> to a Custom Element → Bug 1469902 - Migrate <tabbox> to a Custom Element;r=dao
Updated•3 years ago
|
Attachment #9003189 -
Attachment is obsolete: true
Comment 15•3 years ago
|
||
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/373020acb086 Migrate <tabbox> to a Custom Element;r=dao
Comment 16•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/373020acb086
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment 17•3 years ago
|
||
Hmm, no tabs in Thunderbird any more and no warning :-(
Comment 18•3 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #17) > Hmm, no tabs in Thunderbird any more and no warning :-( See comment 7.
Comment 19•3 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #18) > See comment 7. Right, sorry. In the future please CC me and Richard as well.
Updated•2 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•