Use ErrorEvent for AudioWorkletNode.onprocessorerror
This is to catch up the spec change in AudioWorkletNode.onprocessorerror event handler. The current implementation uses a regular Event object to report an error, but the spec has changed to use a proper ErrorEvent. The CL also cleaned up redundant modification in the test file, which was caused by the previous revision. Bug: 1064240 Test: external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https.html Change-Id: If7ac7eee96138ec0dbe02a3a046a5bdee27389db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2168542Reviewed-by:Raymond Toy <rtoy@chromium.org> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#763506}
Showing
Please register or sign in to comment