Closed Bug 1619607 Opened 4 years ago Closed 4 years ago

When attempting to create an AudioWorkletNode with non-existing processor, throw InvalidStateError

Categories

(Core :: Web Audio, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: padenot, Assigned: padenot)

References

Details

Attachments

(1 file)

If nodeName does not exist as a key in the BaseAudioContext’s node name to parameter descriptor map, throw a InvalidStateError exception and abort these steps.

Assignee: nobody → padenot
Priority: -- → P1

This change slipped into the spec under the guise of "Initial commit".
The pull request message did not describe an intended change here either, but it seems reasonable.
Chrome has always been this way.

Type: defect → enhancement
Flags: in-testsuite?
Pushed by padenot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f658d20ec06e
When attempting to create an AudioWorkletNode with non-existing processor, throw InvalidStateError. r=karlt
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: