[whatwg/url] Fix an example: new URL("https://domain/#frag") succeeds. (#376)

This works in Chrome, and I think it's what the spec says, but I don't see a matching test in web-platform-tests.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/376

-- Commit Summary --

  * Fix an example: new URL("https://domain/#frag") succeeds.

-- File Changes --

    M url.bs (3)

-- Patch Links --

https://github.com/whatwg/url/pull/376.patch
https://github.com/whatwg/url/pull/376.diff

-- 
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/376

Received on Saturday, 24 March 2018 21:32:59 UTC