Closed Bug 1897109 Opened 5 months ago Closed 4 months ago

Some tests are setting trimHttps = false but they should run regardless

Categories

(Firefox :: Address Bar, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

Summary: Some tests are setting trimHttps = false but they should run in both modes → Some tests are setting trimHttps = false but they should run regardless
Assignee: nobody → mak
Status: NEW → ASSIGNED

Note this patch changes the urlbar behavior regarding the value put into the
input when a result is selected with the keyboard. We won't trim the value
anymore in most cases.
Trimming makes too easy for the user to transform https into http, and
in general it makes harder to predict the result after editing or copying from
the urlbar after selecting a result.
This resembles the behavior of other mainstream browsers.
The only special case where we still trim the value, is when we add http to a
schemeless user typed value, as we may be using https first, then showing
http would be confusing. Though if trimming the url may transform it into a
search, we still don't trim and accept showing a potentially confusing protocol.

Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/b03179b0220e Urlbar tests should run also with trimHttps enabled. r=jteow
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: