[whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use
Boris Zbarsky
bzbarsky at MIT.EDU
Thu Mar 21 11:44:59 PDT 2013
On 3/21/13 2:40 PM, Anne van Kesteren wrote:
>> You mean the decision as to when exactly to use the Unicode and when to use
>> ACE? In what way is it a UI decision (apart from browser URL bars having
>> anti-phishing logic that falls back to ACE when they detect "weird" chars in
>> the URI)?
>
> E.g. Chrome only shows Unicode if they have indication (prolly locale)
> that the end-user will understand it and will use ACE otherwise.
You mean shows Unicode in their url bar? Firefox does something similar.
I agree that's a UI decision that should have nothing to do with what
location.href shows.
> I do not want that kind of logic to leak through developer-exposed APIs.
> That's madness.
Agreed.
> If we can define "until we can't" I would be okay with that.
OK, makes sense.
-Boris
More information about the whatwg
mailing list