W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] URL testing

From: Michael[tm] Smith <mike@w3.org>
Date: Sat, 24 Nov 2012 18:42:33 +0900
To: Chris Weber <chris@lookout.net>
Message-ID: <20121124094232.GE5064@sideshowbarker>
Cc: whatwg@lists.whatwg.org
"Michael[tm] Smith" <mike@w3.org>, 2012-11-24 15:11 +0900:

> Chris Weber <chris@lookout.net>, 2012-11-23 11:39 -0800:
> 
> > Hello, I've been trying to follow Anne's work with the URL spec, and
> > working on using the W3C testharness.js for URL testing.  I have some
> > URL testing running, with still more work to do:
> > 
> > http://www.lookout.net/test/url/
> 
> A lot of these tests -- e.g., test "64" and most all of the "host" tests
> after that -- seem to be failing not because of the specific cases they're
> testing but because of a common failure caused by that fact that the URL
> being tested has no pathname -- and so the expected URL should have no
> pathname -- but the actual URL has a "/" appended.

Anne just now pointed out to me that per the spec, those are not failures
anyway because the expected result is that a "/" gets appended even if the
URL has no path. See step 5 here:

  http://url.spec.whatwg.org/#concept-url-serializer

-- 
Michael[tm] Smith http://people.w3.org/mike
Received on Saturday, 24 November 2012 09:43:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT