[whatwg] URL testing
Anne van Kesteren
annevk at annevk.nl
Sun Nov 25 01:33:32 PST 2012
On Sat, Nov 24, 2012 at 11:49 PM, Chris Weber <chris at lookout.net> wrote:
> 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.
I don't think we should allow normalization (other than for the host
name). Since you are testing fragment, you might want to compare .hash
and .href. The results are different there. I've not yet reached a
conclusion there for what the specification should align with.
(Currently both are percent-escaped, but I could go with neither, or
one or the other I suppose).
>> * IDNA is a rathole.
> But it makes for interesting test cases :-)
The problem is that it's not clear what to test (or define in the
> I plan to do it slowly over the course of the next week or two.
Cool! Having some kind of infrastructure in place for setting (and
getting I suppose) individual components would also be good to have.
Are you planning on adding that? I'll try to allocate some time to
review the tests in more detail.
More information about the whatwg