Re: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use

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

Received on Thursday, 21 March 2013 18:45:26 UTC