-
Notifications
You must be signed in to change notification settings - Fork 48
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
Handle errors according to Web IDL conventions #314
Comments
Thanks for filing this. We should align both the simple exceptions and DOMException usage with conventions. Here's my understanding: Simple exceptions are created with a "new" keyword because they're ECMAScript error types. IOW, in JS console this test should be true: To create a new
Please investigate that my understanding is correct and once you're confident apply the conventions to the whole spec. |
The spec prose to be used, as also done in html, infra, fetch etc. specs:
or
or
|
Thanks for checking the other specs too, that looks right to me. |
When handling errors, the spec should follow the Web IDL convention:
The text was updated successfully, but these errors were encountered: