New issue
Advanced search Search tips

Issue 836453 link

Starred by 3 users

Issue metadata

Status: ExternalDependency
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[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


 
Labels: Needs-Triage-M66
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
Cc: susan.boorgula@chromium.org hongchan@chromium.org
Labels: Triaged-ET
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..
836453.PNG
36.7 KB View Download
Status: ExternalDependency (was: Unconfirmed)
This needs to be resolved in the spec first.
Labels: -Needs-Triage-M66
My response in detail: https://github.com/WebAudio/web-audio-api/issues/1282#issuecomment-384358091

Sign in to add a comment