[whatwg/url] Return failure in state override scheme parsing (#194)

This is necessary to define the behavior of the Location object’s
protocol attribute, which throws on syntax errors rather than silently
ignoring them as other protocol setters do.

Tests: https://github.com/w3c/web-platform-tests/pull/4412.

This is the cleanup work mentioned in
https://github.com/whatwg/html/commit/f0a73659b4046cc35a28855f3544dead66345689
that is happening way late.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Return failure in state override scheme parsing

-- File Changes --

    M url.bs (13)

-- Patch Links --

https://github.com/whatwg/url/pull/194.patch
https://github.com/whatwg/url/pull/194.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/194

Received on Tuesday, 3 January 2017 14:36:12 UTC