-
Notifications
You must be signed in to change notification settings - Fork 168
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
Event Constructors #566
Comments
From my opinion, any of these events should not be allowed to be constructed by user.
|
What is the decision here? |
I thought we talked about allowing the construction of these events. @cwilso mentioned that the web spec generally allows the construction of the object unless it is known to be harmful. However, I don't recall that we have a firm decision on this. I think we need to revisit/evaluate any harmful case caused by the construction of these events. |
This seems related to #250 - perhaps we should discuss in that context. Seems like we're saying in general that constructors are ok. |
We've decided that these constructors are OK since there's no visible harm they can cause. |
These two events do not exist in the spec anymore.
FWIW, the new AudioWorklet proposal does not introduce new special event. Other old events should be constructible. |
Should Web Audio event interfaces include constructors? This includes:
This would enable JavaScript to construct and dispatch WebAudio events:
The text was updated successfully, but these errors were encountered: