start(-1) should throw RangeError |
||
Issue description
OS: All
What steps will reproduce the problem?
(1) Run this in a console
c = new AudioContext()
n = new ConstantSourceNode(c)
try {
n.start(-1);
} catch (e) {
console.log(e.name);
}
What is the expected result?
The spec says a RangeError should be thrown
What happens instead?
An InvalidAccessError is thrown.
,
Jun 13 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 12 2017