Closed Bug 1845710 Opened 2 years ago Closed 2 years ago

[UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: dao, Assigned: mseibert)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1836962 +++

Bug 1836962 handles URLs in the address bar input, but we still need to take care of URLs in the address bar results, I think? https://searchfox.org/mozilla-central/rev/00e6644d0db8acf9372702324151b8077a3d2bb7/browser/components/urlbar/UrlbarResult.sys.mjs#265-270

I suspect for results we COULD use the LRM trick, since it's just visual.

This is mostly for consistency, since results cannot be use for phishing content (even if they may still be confusing and there's no formatting)

Summary: [UrlbarView] Add LRM to URLs when http:// trimmed → [UrlbarView] Add LRM to URLs with the protocol trimmed
Severity: -- → S4
Priority: -- → P3
Summary: [UrlbarView] Add LRM to URLs with the protocol trimmed → [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane
Assignee: nobody → mseibert
Status: NEW → ASSIGNED

@dao Could you provide a case where the displayedUrl would require an LTR marker? Results, as far as I can tell, are always encoded in punycode.

Flags: needinfo?(dao+bmo)

As discussed on slack, let's figure out why we (might need to) display result URLs in punycode and if we can change that to make them consistent with how we display the current page's URL.

Flags: needinfo?(dao+bmo)
Attachment #9348827 - Attachment description: WIP: Bug 1845710 - [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane → Bug 1845710 - [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane.r=mak
Blocks: 1833744
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/f6c351ade4f2 [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane.r=mak
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: