-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Missing ErrorEvent #47587
Comments
Node doesn't emit ErrorEvents itself so it's questionable if it makes sense to add it. But... without working code it won't happen in the first place. Go ahead and open a pull request and see how it's received. |
I have notice other events that Deno also has... here is a list of them: https://github.com/jimmywarting/missing-dom-events#compatibility-table
anyway undici have both of this event builtin, maybe it could just be a mater of just exposing those on the global scope? There is also a desire to make |
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment. For more information on how the project manages feature requests, please consult the feature request management document. |
Now that |
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the
never-stale
|
WebSocket may use ErrorEvents, see the spec: https://html.spec.whatwg.org/multipage/indices.html#event-error |
@KhafraDev The https://html.spec.whatwg.org/multipage/indices.html#event-error page describes the general HTML specification. The word The MDN page WebSocket: error event indicates only A generic The WebSocket specification doesn't mention
web-platform-tests only tests
If I run the following code in Firefox or Chromium, new WebSocket("ws://localhost:666").addEventListener("error", (e) => console.log(e, e.constructor.name)); |
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the
never-stale
|
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. For more information on how the project manages feature requests, please consult the feature request management document. |
What is the problem this feature will solve?
Where trying to construct a new
ErrorEvent
... but it was defined.What is the feature you are proposing to solve the problem?
A few web features can dispatch a ErrorEvent like web workers...
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: