Open Bug 1380932 Opened 7 years ago Updated 2 years ago

Devtools should show unicode URLs where appropriate

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: valentin, Unassigned)

References

Details

After landing bug 1380617 nsIURI will by default return punycode .host/.hostPort/.spec Parts of the devtools that need to display the URL in a unicode format should be updated to use the nsIURI.displayHost/.displayHostPort/.displaySpec methods. In order to test this, set network.standard-url.punycode-host to true, go to a IDNA domain such as http://valentin.xn--gou-2lb.ro/ open the devtools networking panel, and see if <Request URL> and <Domain> display the correct thing. Other parts of devtools that may be affected: * Storage * Debugger * others? We should also decide _if_ we want to show unicode/punycode in the devtools. The Chrome Devtools have different behaviours for some of these fields. We should also consider adding tests for this scenario so we don't regress in the future.
Thanks for filing. Let's make this a meta bug with dependencies for each tool. (In reply to Valentin Gosu [:valentin] from comment #0) > In order to test this, set network.standard-url.punycode-host to true, go to > a IDNA domain such as http://valentin.xn--gou-2lb.ro/ open the devtools > networking panel, and see if <Request URL> and <Domain> display the correct > thing. Tested on a new profile in 57, this pref already seems to be set to true for me. Request URL and Domain both show http://valentin.xn--gou-2lb.ro/ which is good. > Other parts of devtools that may be affected: > * Storage > * Debugger > * others? The inspector and console also show URLs in their UIs. So they will be affected. > We should also decide _if_ we want to show unicode/punycode in the devtools. > The Chrome Devtools have different behaviours for some of these fields. Do you mind expanding on how does Chrome differ on this? I would tend to think that we should show punycode consistently in DevTools.
Severity: normal → enhancement
Keywords: meta
Priority: -- → P3
Summary: Devtools should show unicode URLs where appropriate → [meta] Devtools should show unicode URLs where appropriate
Product: Firefox → DevTools

The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months.
:pbro, maybe it's time to close this bug?

Flags: needinfo?(pbrosset)

I think we still want this bug on file.

Flags: needinfo?(pbrosset)

The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months.
:Honza, maybe it's time to close this bug?

Flags: needinfo?(odvarko)

Feels like we still want this.

Honza

Flags: needinfo?(odvarko)

The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months.
:Honza, maybe it's time to close this bug?

Flags: needinfo?(odvarko)

The bug seems to be still valid, but removing the meta flag.

Flags: needinfo?(odvarko)
Keywords: meta
Summary: [meta] Devtools should show unicode URLs where appropriate → Devtools should show unicode URLs where appropriate
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.