Closed Bug 774870 Opened 12 years ago Closed 11 years ago

Work - Display unicode characters properly in the location field of the Firefox app bar

Categories

(Firefox for Metro Graveyard :: App Bar, defect)

x86
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: jwilde, Assigned: jwilde)

References

Details

(Whiteboard: feature=work)

Attachments

(1 file)

It seems like we lost some of the conversion of URL-encoded characters to beautiful unicode characters when detaching XBL bindings for the addressbar.  We should look into how desktop Firefox does this and land an implementation on Metro Firefox.

Test cases:
ar.wikipedia.org
jp.wikipedia.org
Product: Firefox → Firefox for Metro
Version: unspecified → Trunk
Whiteboard: [metro-mvp?]
Whiteboard: [metro-mvp?] → [metro-mvp]
Whiteboard: [metro-mvp] → [metro-mvp] [LOE:?]
Whiteboard: [metro-mvp] [LOE:?] → [metro-mvp] [LOE:1]
Blocks: 831899
Whiteboard: [metro-mvp] [LOE:1] → [metro-mvp] [LOE:1] feature=work
Summary: Display unicode characters properly in the address bar → Work - Display unicode characters properly in the address bar
Whiteboard: [metro-mvp] [LOE:1] feature=work → feature=work
Summary: Work - Display unicode characters properly in the address bar → Work - Display unicode characters properly in the location field of the Firefox app bar
Blocks: 845152
No longer blocks: 831899
Component: General → App Bar
yea, http://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8 is kind of ugly. 

What do we need to do to fix this?
Flags: needinfo?(mbrubeck)
It looks like we might need to do something similar to this code:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#1109
Flags: needinfo?(mbrubeck)
Assignee: nobody → hello
Status: NEW → ASSIGNED
p=1
Attached patch patch v1Splinter Review
Applies code suggested by mbrubeck to getDisplayURI. Existing URI fixup infra seems to handle unicode input to the urlbar properly without modification.
Attachment #762299 - Flags: review?(fyan)
Comment on attachment 762299 [details] [diff] [review]
patch v1

Review of attachment 762299 [details] [diff] [review]:
-----------------------------------------------------------------

très bien!
or, should I say, xn--trs bien-20a ;)
Attachment #762299 - Flags: review?(fyan) → review+
https://hg.mozilla.org/mozilla-central/rev/57b121a1d439
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: