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

fix: align DOMException API to the spec and add web platform testing of it. #9106

Merged
merged 5 commits into from
Jan 14, 2021

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jan 13, 2021

It is part of #9001.

This PR adds web platform testing of DOMException API and align our implementation to pass it.

@kt3k
Copy link
Member Author

kt3k commented Jan 13, 2021

This passes WPT suites, but an uncaught DOMException doesn't show the stack trace now. I'm investigating the handling of uncaught error in /core.

@kt3k
Copy link
Member Author

kt3k commented Jan 14, 2021

Restored the original behavior when thrown as uncaught error, but as a result I have to skip the case "does not inherit from Error: class-side" which I don't know how to pass for now.

Now it's ready for review.

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kt3k
Copy link
Member Author

kt3k commented Jan 14, 2021

Thank you for your review!

@kt3k kt3k merged commit c75f92c into denoland:master Jan 14, 2021
@kt3k kt3k deleted the fix/domexception-wpt branch January 14, 2021 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants