Closed Bug 1928655 Opened 3 months ago Closed 3 months ago

Perma browser/components/urlbar/tests/browser/browser_focusContentDocumentEsc.js | URL bar value should have an address - Got "https://example.com", expected "example.com" - when Gecko 134 merges to beta on 2024-11-25

Categories

(Firefox :: Address Bar, defect)

Firefox 134
defect

Tracking

()

VERIFIED FIXED
134 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox132 --- unaffected
firefox133 --- unaffected
firefox134 + verified

People

(Reporter: amarc, Assigned: richardscollin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Central-as-beta-simulation

How to run these simulations

Failure log
*Failure line:

TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_focusContentDocumentEsc.js | URL bar value should have an address - Got "https://example.com", expected "example.com"
Flags: needinfo?(richardscollin)

The failing value that's being reported is acceptable. The test should likely be amended to also accept 'https://example.com' as well. It could also be more general and just check if the url ends with example.com.

I'm not sure why in this test run it's returning https://example.com, maybe a different browser preference is being applied during that test run.

Flags: needinfo?(richardscollin)

browser.urlbar.trimHttps is true for Nightly and false for Beta and Release (source)
It can be set similar to other preferences in the test file.

Assignee: nobody → richardscollin
Status: NEW → ASSIGNED

Patch is working in latest beta-simulation

Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/9c8ae37fbf51 Amend focusContentDocumentEsc test for trimHttps. r=urlbar-reviewers,mak
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Verified fixed in today's beta simulation

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

Attachment

General

Created:
Updated:
Size: