Bug 118611 - location.href and document.URL incorrect when domain is non-ASCII
Summary: location.href and document.URL incorrect when domain is non-ASCII
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://ит-7.рф/test.html
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 11:35 PDT by Boris Zbarsky
Modified: 2013-09-01 21:20 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Zbarsky 2013-07-12 11:35:25 PDT
STEPS TO REPRODUCE:

1. Load http://ит-7.рф/test.html
2. Examine window.location.href
3. Examine document.URL

EXPECTED RESULT: Both location.href and document.URL show the Unicode string, not punycode.

ACTUAL RESULT: Punycode is shown.

ADDITIONAL INFO:

Relevant spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#set-the-document%27s-address 

Relevant comments from spec editor at http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-July/040031.html