Closed
Bug 2022549
Opened 8 months ago
Closed 7 months ago
tabs.move() taking a list of tabs should unsplit a split view when its tabs are explicitly listed apart
Categories
(WebExtensions :: Frontend, enhancement, P2)
WebExtensions
Frontend
Tracking
(firefox150 fixed)
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [addons-jira])
Attachments
(1 external file)
Currently, extensions cannot unsplit tabs. While a dedicated API to unsplit tabs is yet to be developed (bug 2016928), there is already a scenario in tabs.move where the expectation is to unsplit tabs, even without new options or methods, described at https://bugzilla.mozilla.org/show_bug.cgi?id=2016751#c2 :
When the tabs are spaced apart (i.e. the extension puts another tab in between), we unsplit the tab in order to maintain the specified relative order between tabs. The idea behind this is that if the extension explicitly mentioned both tabs and chose a specific relative ordering.
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Assignee: nobody → rob
Status: NEW → ASSIGNED
| Assignee | ||
Updated•7 months ago
|
Severity: -- → N/A
Priority: -- → P2
Pushed by rob@robwu.nl:
https://github.com/mozilla-firefox/firefox/commit/5e3ff5e89024
https://hg.mozilla.org/integration/autoland/rev/7fb131e36c1b
Unsplit splitview when tabs.move() lists another tab in between r=rpl
Comment 3•7 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
| Assignee | ||
Updated•7 months ago
|
Keywords: dev-doc-needed
Keywords: dev-doc-needed → dev-doc-complete
| Assignee | ||
Comment 4•7 months ago
|
||
Docs were added in https://github.com/mdn/content/pull/43589
You need to log in
before you can comment on or make changes to this bug.
Description
•