Closed Bug 1797901 Opened 3 years ago Closed 3 years ago

Dragging a tab into a new window or another window doesn't always retain the search terms in the Urlbar

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

VERIFIED FIXED
108 Branch
Tracking Status
firefox108 --- verified
firefox109 --- verified

People

(Reporter: jteow, Assigned: jteow)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

While showSearchTerms is enabled:

  1. Load a default SERP whose originalURI is different from its currentURI.
  2. Drag the tab outside of the window so that it either becomes a new window or gets placed onto another window.

Expected Behavior:
The search terms of the default SERP should be in the urlbar of the tab.

Actual Behavior:
The current URL of the SERP shows in the urlbar.

I suspect it's because the originalURI is not transferred during the process of creating a new window.

Assignee: nobody → jteow
Status: NEW → ASSIGNED
Pushed by jteow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2a89a21dafb6 Add originalURI to list of swappable properties in swapDocShells - r=adw
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

The issue is verified fixed using Fx108.0b5 and Fx109.0a1 on Windows 10 and Ubuntu 22.04. Search terms are preserved when tabs are dragged to new windows and in the original main window as well for the 3 main engines (Google, Bing, DDG).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: