Closed
Bug 1788953
Opened 3 years ago
Closed 3 years ago
While showSearchTerms is true, opening a background tab to a default SERP won't show the search terms when the tab is focused
Categories
(Firefox :: Address Bar, defect, P3)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
108 Branch
People
(Reporter: jteow, Assigned: jteow)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
When a user highlights one of the auto-suggested results from the Urlbar and does a search in a new background tab, going to that tab won't show the search term in the Urlbar.
That code path doesn't set the user typed value.
Assignee | ||
Comment 1•3 years ago
|
||
The proposed approach for this as discussed with :adw is:
- Save the
originalURI
on the browser custom element upon loading a new page. This URI should be the first URI loaded for the page. - Rework
UrlbarInput.setURI
to no longer require theoriginalURI
to be passed in, and instead the additional params (beyond the URI) will be an object with properties. ThesearchTerms
check insetURI
will instead reference the selected browsersoriginalURI
. - Add tests that check the search term is shown in background generated tabs.
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D157485
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D157486
Comment 5•3 years ago
|
||
The severity field is not set for this bug.
:adw, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(adw)
Updated•3 years ago
|
Assignee: nobody → jteow
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(adw)
Priority: -- → P3
Updated•3 years ago
|
Attachment #9294927 -
Attachment description: WIP: - Bug 1788953 - Part 1: Add originalURI to browser-custom-element - r?adw → Bug 1788953 - Part 1: Add originalURI to browser-custom-element - r?adw
Updated•3 years ago
|
Attachment #9294928 -
Attachment description: WIP: - Bug 1788953 - Part 2: Use cached originalURI in setURI - r?adw → Bug 1788953 - Part 2: Use cached originalURI in setURI - r?adw
Updated•3 years ago
|
Attachment #9294929 -
Attachment description: WIP: - Bug 1788953 - Part 3: Modify revert test and add new background tab test - r?adw → Bug 1788953 - Part 3: Modify revert test and add new background tab test - r?adw
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7cda7550cf2b
Part 1: Add originalURI to browser-custom-element - r=adw
https://hg.mozilla.org/integration/autoland/rev/12e98c774744
Part 2: Use cached originalURI in setURI - r=adw
https://hg.mozilla.org/integration/autoland/rev/b20236791eb0
Part 3: Modify revert test and add new background tab test - r=adw
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7cda7550cf2b
https://hg.mozilla.org/mozilla-central/rev/12e98c774744
https://hg.mozilla.org/mozilla-central/rev/b20236791eb0
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Assignee | ||
Updated•3 years ago
|
Blocks: urlbar-persisted
Comment 8•2 years ago
|
||
The issue is verified as part of the preliminary testing for the Persist Search term in address bar.
You need to log in
before you can comment on or make changes to this bug.
Description
•