|
Signal exceptions if start/stop is called out-of-order or too many times.
For AudioBufferSourceNodes and OscillatorNodes, start and stop must
signal errors when called more than once. An error must be signaled if
stop is not called after start.
The implementation of the legacy noteOn and noteOff methods is now
merged into start and stop. This is not backwards compatible since
noteOn and noteOff previously did allow multiple calls.
Tests have been added for these exceptions.
BUG= 306139
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161113
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+174 lines, -54 lines) |
Patch |
 |
M |
LayoutTests/webaudio/dom-exceptions.html
|
View
|
|
1 chunk |
+28 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/webaudio/dom-exceptions-expected.txt
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioBufferSourceNode.h
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioBufferSourceNode.cpp
|
View
|
1
|
4 chunks |
+25 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioBufferSourceNode.idl
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioNode.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioNode.cpp
|
View
|
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioScheduledSourceNode.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioScheduledSourceNode.cpp
|
View
|
|
3 chunks |
+38 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/OscillatorNode.idl
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|