Open Bug 1802519 Opened 2 years ago Updated 1 year ago

The persist search term is not displayed in the address bar after a refresh

Categories

(Firefox :: Address Bar, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox108 --- affected
firefox109 --- affected

People

(Reporter: cbaica, Unassigned)

References

(Blocks 2 open bugs)

Details

Found in

  • Fx 109.0a1

Affected versions

  • Fx109.0a1
  • Fx108.0b6

Affected platforms

  • Windows 10
  • Ubuntu 22.04
  • macOS

Precondition
Have browser.urlbar.showSearchTerms.featureGate set to true.
Default search engine set to Duckduckgo.

Steps to reproduce

  1. Launch Firefox.
  2. Perform a search from the address bar.
  3. Refresh the SERP.

Expected result

  • Search term is still displayed in the address bar.

Actual result

  • FULL url of the SERP is displayed in the address bar.

Regression range

  • This is not a regression.

Additional notes

  • This might be a dupe after 1798693 as it looks similar (coming back to a SERP).
Has STR: --- → yes

This is because when refreshing a SERP, the browser will load the current URI, which can be different due to redirects and History pushes. And so, the currentURI will change, from something generated by a SearchEngine to possibly a completely different URI. I suppose one way around this is if we know that the trigger is from a refresh, don't update the originalURI.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.