Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return failure in state override scheme parsing #194

Merged
merged 1 commit into from
Jan 5, 2017

Conversation

annevk
Copy link
Member

@annevk annevk commented Jan 3, 2017

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: web-platform-tests/wpt#4412.

This is the cleanup work mentioned in
whatwg/html@f0a7365
that is happening way late.

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: web-platform-tests/wpt#4412.

This is the cleanup work mentioned in
whatwg/html@f0a7365
that is happening way late.
@annevk
Copy link
Member Author

annevk commented Jan 3, 2017

When committing this, mention #61. Closing that properly warrants a couple more tests I think for non-broken schemes.

@annevk annevk merged commit 4617e33 into master Jan 5, 2017
@annevk annevk deleted the annevk/make-html-location-work branch January 5, 2017 15:02
domenic added a commit to jsdom/whatwg-url that referenced this pull request Jan 12, 2017
This matches whatwg/url#194. It has no observable consequences for mainstream uses of this library, but instead impacts consumers which parse using state overrides (like jsdom).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant