Closed Bug 1702233 Opened 4 years ago Closed 4 years ago

Test the behaviour of AudioWorkletProcessor when its `onmessage` handler throws.

Categories

(Core :: Web Audio, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: padenot, Assigned: padenot)

Details

Attachments

(1 file)

Nothing should happen, and in particular onprocessorerror must not be called, and process should still be called repeatedly.

I wonder what inspired this test. Did you see different behavior somewhere?

I was sending a PR for one of the last issues on the Web Audio API spec, and there was a comment from Hongchan that made me uncertain about what was supposed to happen, so I wrote a small test-case to rapidly check, and then noticed this wasn't tested in WPT, so I wrote a test.

https://github.com/WebAudio/web-audio-api/pull/2311#pullrequestreview-622232049

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e411b5d5e03 Test the behaviour of AudioWorkletProcessor when its `onmessage` handler throws. r=karlt
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28334 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: