Closed Bug 1868605 Opened 7 months ago Closed 1 month ago

Adding/changing the hash causes a page load when browser.urlbar.trimHttps = true

Categories

(Firefox :: Address Bar, defect, P2)

Firefox 122
defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- disabled
firefox121 --- disabled
firefox122 --- disabled
firefox123 --- disabled
firefox124 --- disabled
firefox126 --- disabled
firefox127 --- disabled
firefox128 --- fixed

People

(Reporter: claas, Assigned: mak)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(1 file)

Steps to reproduce:

  1. Ensure browser.urlbar.trimHttps = true (default in Nightly).
  2. Open https://www.example.com/#hello
  3. Change the hash from #hello to #world and press Return.

Expectation:
Hash should change without causing a page reload.

Actual:
Hash change causes a page reload.

Blocks: 1850491
Keywords: regression
Regressed by: 1067293, 1853418
See Also: → 1848715
Summary: Adding/changing the hash in the Address Bar causes a page load → Adding/changing the hash in the Address Bar causes a page load when browser.urlbar.trimHttps = true
Summary: Adding/changing the hash in the Address Bar causes a page load when browser.urlbar.trimHttps = true → Adding/changing the hash causes a page load when browser.urlbar.trimHttps = true
Assignee: nobody → mseibert
Severity: -- → S3
Priority: -- → P2
Whiteboard: [sng]

Not sure if I should open another bug for this, because it probably has the same cause: When modifying the URL (like changing ref or the path), when starting the request it will try http first, even though the modified URL was https before.

STR are the same as comment 0:

  1. Open https://www.example.com/path
  2. Change the path to path2
  3. Press Return
  4. Observe that http: is displayed when starting the load

it's the same problem, thank you.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: mseibert → nobody
Depends on: 1848715
See Also: 1848715

The bug is fixed, but I'll add a unit test here.

Assignee: nobody → mak
Status: NEW → ASSIGNED
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/ae66eced3378
Add a test to ensure changing the url ref in the address bar causes a HASHCHANGE load. r=dao
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: