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)

enhancement

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.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: