Re: [url-tests] URL: test the host parser (#4504)

OK, tracked things down in jsdom/whatwg-url. After https://github.com/Sebmaster/tr46.js/pull/7, the failures are:

```
 1) Host parser tests -:
     TypeError: Invalid URL

  2) Host parser tests host/hostname setter for -:

      AssertionError: 'x' === '-'
      + expected - actual

      -x
      +-

  3) Host parser tests host/hostname setter for .:

      AssertionError: '0.0.0.0' === '.'
      + expected - actual

      -0.0.0.0
      +.
```

(here "expected" = by this PR, "actual" = produced by jsdom/whatwg-url)

Mind giving those three a closer look to see where the bug is, @annevk?

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4504#issuecomment-270973503

Received on Friday, 6 January 2017 18:44:44 UTC