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

Error.isError and DOMException #15821

Open
zloirock opened this issue Dec 17, 2024 · 1 comment
Open

Error.isError and DOMException #15821

zloirock opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working jsc Something related to JavaScriptCore

Comments

@zloirock
Copy link

What version of Bun is running?

1.1.39

What platform is your computer?

M1 macOS 15.2

What steps can reproduce the bug?

Error.isError(new DOMException(1)) // => false, true expected

What is the expected behavior?

This is a Error subclass, the required slot is defined here: whatwg/webidl#1421

What do you see instead?

No response

Additional information

No response

@zloirock zloirock added bug Something isn't working needs triage labels Dec 17, 2024
@zloirock zloirock changed the title Error.isError and `DOMException Error.isError and DOMException Dec 17, 2024
@Jarred-Sumner
Copy link
Collaborator

this will likely be a bug in Safari too, as our DOMException is almost entirely copy-pasted from Safari/WebKit

@RiskyMH RiskyMH added jsc Something related to JavaScriptCore and removed needs triage labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jsc Something related to JavaScriptCore
Projects
None yet
Development

No branches or pull requests

3 participants