W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 21 Mar 2013 14:44:59 -0400
Message-ID: <514B552B.1090708@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: whatwg <whatwg@whatwg.org>
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.


> If we can define "until we can't" I would be okay with that.

OK, makes sense.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:56 UTC