You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception for changing channelCountMode on ScriptProcessorNode does not match browsers #2154
ScriptProcessorNode
The channel count mode cannot be changed from "explicit" and an InvalidStateError exception MUST be thrown for any attempt to change the value.
Testcase:
var ctx = new AudioContext
var n = ctx.createScriptProcessor(2048, 3)
try { n.channelCountMode = "max" } catch (e) { console.log(e.name) }
logs "NotSupportedError" in both Chrome and Firefox.
Activity
padenot commentedon Feb 13, 2020
Telconf decision: align this node on all the others, and make it throw "NotSupportedError", which makes more sense.
Fix WebAudio#2154: SPN throws NotSupporteError on channelCountMode ch…
Fix WebAudio#2154: SPN throws NotSupporteError on channelCountMode ch…