Open Bug 1910155 Opened 1 year ago Updated 1 year ago

Clicking a link on a web page should always change the URL in the address bar

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

REOPENED
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- affected
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- fix-optional

People

(Reporter: mkaply, Unassigned)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng])

If you go to a page like yahoo.com, then click in the URL bar and start to edit the URL, and then click on link on the web page, the URL bar stays as the URL that you started editing.

The URL should update when the new page is loaded.

This is inconsistent with how other browser work.

It also feels like this is a potential vector for phishing, as you can't see the URL pages that you are navigating to when you are in this state, so someone could get you to start editing the URL and then have you click links to navigate to a bad site.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3f585af46d397f19019f4c8d0eb53b546d532d20&tochange=a2e37e6c3ef6f40e27476400eec9d46fc65b0d89

Suspect: a982595313dd6271a23b5798e2bbebf9128e7f55 Neil Deakin — Bug 1598919, move Browser:LoadURI into BrowserTabParent actor, r=mconley

Keywords: regression
Regressed by: 1598919

Set release status flags based on info from the regressing bug 1598919

:enndeakin, since you are the author of the regressor, bug 1598919, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Thank you for this info!

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1754954
Flags: needinfo?(enndeakin)
Resolution: --- → DUPLICATE

I think this is not a duplication of the Bug 1754954 because Bug 1754954 is reproduced even on the good build of comment#1.

Steps to reproduce:

  1. Open https://www.yahoo.com/
  2. Edit text in address bar
  3. Click a link (e.g. a link in section Stories for you)
Status: RESOLVED → REOPENED
No longer duplicate of bug: 1754954
Resolution: DUPLICATE → ---

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mak)

I can confirm steps in comment 5, and that this should be addressed apart from Bug 1754954.

I'm not sure why bug 1598919 matters yet, the code changed a lot from then. setURI is invoked in all the cases, both here and for Bug 1754954, though setURI tries to preserve userTypedValue as far as possible, maybe before we were unsetting userTypedValue?

Overall we may want to change the behavior, acting more similarly to other browsers.
We could always restore the url and blur the urlbar unless the typed value changes between load start and load end (to avoid Bug 1645648).

Severity: -- → S3
Flags: needinfo?(mak)
Priority: -- → P2
Whiteboard: [sng]
See Also: → 1645648
Duplicate of this bug: 1916835
You need to log in before you can comment on or make changes to this bug.