Closed Bug 2091375 Opened 18 days ago Closed 12 days ago

browser_schemeless.js fails when earlier typed visits make the URL bar autofill https://example.com

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

dom/security/test/https-first/browser_schemeless.js fails in mochitest-browser-chrome-repeat jobs with Should not upgrade upgradeable website without explicit scheme - Got "https", expected "http".

Origin frecency is computed from typed visits. Earlier tests in the folder, and an earlier run of this test, type example.com and end up on https://example.com. After the next frecency recalculation the URL bar autofills example.com with the https origin, so the page loads over https even though HTTPS-First is off.

The test should clear history before it starts, and again when it finishes, instead of relying on what earlier tests left behind.

Blocks: 2092566
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f54be0645760 https://hg.mozilla.org/integration/autoland/rev/42711af8ef1b Clear history before testing schemeless URL bar loads in browser_schemeless.js, r=freddyb.
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: