[audioworklet] onprocessorerror is passed an Event, instead of an ErrorEvent
Reported by
janescon...@gmail.com,
Apr 24 2018
|
||||
Issue description
Chrome Version : 66.0.3359.117 (Official Build) (64-bit) (cohort: 66_117_win)
URLs (if applicable) :
Other browsers tested: none
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox:
Edge:
What steps will reproduce the problem?
(1) Throw an error in AudioWorkletProcessor
(2) Get an event in the parent onprocessorerror callback
(3) Look at the event
What is the expected result?
The event should be an ErrorEvent, in order to get message, fileName, lineno, colNo to automatically log the error details
What happens instead?
An Event is passed, which has no useful information about the type, message and location of the error
Please provide any additional information below. Attach a screenshot if
possible.
I also described the issue here: https://github.com/WebAudio/web-audio-api/issues/1282#issuecomment-384102199
,
Apr 25 2018
Easily reproducible just by logging the first argument of the onprocessorerror callback in this demo from ChromeLabs: https://github.com/GoogleChromeLabs/web-audio-samples/blob/gh-pages/audio-worklet/basic/node-onerror.html#L82
,
Apr 25 2018
janesconference@ Thanks for the issue. Tested this issue on Windows 10 on the reported version 66.0.3359.117 and the latest Canary 68.0.3406.0 by following the below steps. 1. Launched Chrome and navigated to the link in comment #2 2. tried saving the code in html file but can see the message as attached in the screen shot. As this issue is related to audioworklet, CC'ing hongchan@ from similar bugs and request in help in further triaging of the issue. Thanks..
,
Apr 25 2018
This needs to be resolved in the spec first.
,
Apr 25 2018
My response in detail: https://github.com/WebAudio/web-audio-api/issues/1282#issuecomment-384358091 |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Apr 25 2018