Open Bug 1862677 Opened 1 year ago Updated 1 year ago

Add the www. protocol to clipboard results in address bar

Categories

(Firefox :: Address Bar, enhancement, P3)

Desktop
All
enhancement

Tracking

()

Tracking Status
firefox121 --- affected

People

(Reporter: cbaica, Unassigned)

References

(Blocks 1 open bug)

Details

Found in

  • Fx 121.0a1

Affected versions

  • Fx 121.0a1

Affected platforms

  • all

Preconditions
Set browser.urlbar.clipboard.featureGate to true.

Steps to reproduce

  1. Launch Firefox.
  2. Copy the following string: www.reddit.com
  3. Click the address bar.

Expected result

  • Address bar dropdown contains the clipboard result.

Actual result

  • Clipboard result is not displayed.

Regression range

  • Not a regression.

Additional notes

  • Currently the clipboard result only displays links starting with https:// , but in the future this would be if it's extended to www. links/urls as well.

We should take particularly care of which protocol we add, or whether we can ask the docshell to "downgrade it", in case we pick https but the site was an http one. We may also want to limit to easily recognizable urls to avoid transforming non-url strings into urls (that may have some security implications).

Severity: S4 → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.