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

Fixed exception thrown in construction steps. #10572

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

pwombwell
Copy link
Contributor

@pwombwell pwombwell commented Aug 21, 2024

Currently it says throw an "InvalidStateError" DOMException, but Chrome, Safari and Firefox all throw a TypeError. A TypeError is tested for in the wpts, so it's not possible to pass without.

fixes #10553


/dom.html ( diff )

Currently it says throw an "InvalidStateError" DOMException, but Chrome, Safari and Firefox all throw a TypeError. A TypeError is tested for in the wpts, so it's not possible to pass without.

fixes whatwg#10553
@annevk annevk merged commit cf5565c into whatwg:main Aug 21, 2024
2 checks passed
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.

HTMLConstructor construction steps: Incorrect exception specified in step 11.
2 participants