-
Notifications
You must be signed in to change notification settings - Fork 143
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
[worklets] Error handling in WorkletGlobalScope #433
Comments
See also whatwg/html#2611. |
Currently (Chrome 66), @hoch kindly answered to my question in this issue an pointed me to this issue. In my opinion, the most important info that error handling should extract from a worklet are those exposed by Could I suggest to have an error handling mechanism taking into the necessity of passing these information back to the parent? @hoch's preference would be
which I believe it makes sense (all worklets exposing the same error handling mechanism), but I don't know the internals and / or the concerns regarding this approach. Thanks! |
I think unless someone can make a compelling case why having an error event without a way of communicating that error event anywhere is useful in worklets, this feature only makes sense for audio worklets and we should probably just add it there. |
@hoch, my impression is that this is specified reasonably well in a Web Audio-specific way. Do you think we still need to modify the worklets spec in any way? |
The issue came up from the discussion of AudioWorkletGlobalScope.
Currently WorkletGlobalScope does not have a mechanism for error handling. Has been this discussed before?
The text was updated successfully, but these errors were encountered: