Re: [whatwg/url] Change path parsing for non-special URLs (#213)

This does not quite match the tests yet. I noticed that the spec does not appear to match the parse path start changes in https://github.com/whatwg/url/issues/212#issuecomment-274252010. You can see the spec translated into whatwg-url at https://github.com/jsdom/whatwg-url/pull/70.

The failing tests are:

```
 1) Web platform tests parsing <http:\\foo.com\> against <http://example.org/foo/bar>:

      AssertionError: href
      + expected - actual

      -http://example.org/foo.com/
      +http://foo.com/

  2) Web platform tests parsing <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar>:

      AssertionError: href
      + expected - actual

      -http://example.org/a/b:c/d@foo.com/
      +http://a/b:c/d@foo.com/

  3) Web platform tests parsing <..> against <file:///1:/>:

      AssertionError: pathname
      + expected - actual

      -/
      +//

  4) Web platform tests parsing <///> against <sc://x/>:

      AssertionError: href
      + expected - actual

      -sc://x///
      +sc:///

  5) Web platform tests parsing <////> against <sc://x/>:

      AssertionError: href
      + expected - actual

      -sc://x////
      +sc:////

  6) Web platform tests parsing <////x/> against <sc://x/>:

      AssertionError: href
      + expected - actual

      -sc://x////x/
      +sc:////x/
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/213#issuecomment-274933726

Received on Tuesday, 24 January 2017 20:48:52 UTC