Open Bug 1848715 Opened 1 year ago Updated 1 year ago

Editing and copying URL loses "https://" URL scheme when browser.urlbar.trimHttps = true

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- disabled
firefox119 --- affected

People

(Reporter: cpeterson, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Steps to reproduce

  1. Set browser.urlbar.trimHttps = true.
  2. Open https://www.example.com/
  3. Click focus to the address bar. You will be editing the string www.example.com instead of https://www.example.com/. Expanding the edited string to the full URL, https://www.example.com/, like Chrome would fix this bug.
  4. Edit the URL, such as changing .com to .net.
  5. Ctrl+A and Ctrl+ C to select all and copy the URL text.
  6. Pass the copied URL in another tab or app.

Expected results

https://www.example.net/ like in Chrome.

Actual results

www.example.net

This behavior happens with http:// URLs when browser.urlbar.trimHttps = false, but when this behavior affects https:// URLs, it can happen on many more websites.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mseibert)
Blocks: 1850491

We're aware of this shortcoming but it's not currently considered a blocker. The HTTPS-first feature that's currently being worked on by the Security team would somewhat mitigate this.

Adopting Chrome's behavior would be an option, but the URL jumping around when editing it isn't great. :/

Severity: -- → S3
Flags: needinfo?(mseibert)
Priority: -- → P3
Whiteboard: [sng]
You need to log in before you can comment on or make changes to this bug.