[whatwg] URL testing

Chris Weber chris at lookout.net
Sat Nov 24 14:49:08 PST 2012

On 11/24/2012 1:34 AM, Anne van Kesteren wrote:
> This is super awesome. Glad you continued with this. I have a few
> generic points for now:
> * No special handling for IPv4. IPv4 should work the same as domain
> names. I.e. the host of http://192/ is 192, not
> * It's still a bit unclear to me what the best solution is for
> fragment identifiers. Whether they should be percent escaped or not
> and whether that should differ between .href and .hash.

There also appears to be some differences in Unicode normalization
(assuming I tested this enough), see:


In my tests:

Safari applied NFC normalization to the path, query, and fragment.
Chrome applied NFC normalization to the fragment only.
MSIE, Firefox, and Opera did not apply normalization anywhere.

> * IDNA is a rathole.
But it makes for interesting test cases :-)

> When are you planning on doing the further cleanup you mention? At
> some point I can try to go through them in detail and suggest fixes
> (e.g. via a pull request).

I plan to do it slowly over the course of the next week or two.

- Chris

More information about the whatwg mailing list