← Back to release summary

WebAudio: OscillatorOptions.periodicWave is not nullable

Category
Multimedia
Type
No developer-visible change
Status
Enabled by default (Chrome 90)
Intent stage
Start prototyping

WPT details: Construction of OscillatorNode is fully tested: https://wpt.fyi/results/webaudio/the-audio-api/the-oscillatornode-interface?label=experimental&label=master&aligned But there was no test that setting periodicWave to null. This will get added when the implementation lands.

Summary

It is no longer possible to set the periodicWave member of OscillatorOptions to null. The WebAudio spec doesn't allow this, so we're aligning Chrome with the spec and also Firefox, which has implemented this correctly for 4 years.

Motivation

Align with spec

Standards & signals

Ecosystem

View on chromestatus.com