Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
| diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
| index 5c56e6a8b68a960e4ae38232f96ebda4b8a5c95b..86292c036993eb0c54a0f94654b966d400652ad0 100644 |
| --- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
| +++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
| @@ -36,6 +36,16 @@ |
| should(should(1).beEqualTo(1), 'should(1).beEqualTo(1)').beTrue(); |
| should(true, 'The message is').message('truthful!', 'false!'); |
| + should(BaseAudioContext.prototype, 'BaseAudioContext.prototype') |
| + .ownProperty('createGain'); |
| + |
| + let ac = new AudioContext(); |
| + let sourceNode = new AudioBufferSourceNode(ac); |
| + should(sourceNode, 'A BufferSourceNode') |
|
Raymond Toy
2017/04/06 23:13:14
There's no such thing as a BufferSourceNode, so us
hongchan
2017/04/07 15:55:36
Done.
|
| + .inheritFrom('AudioScheduledSourceNode'); |
| + should(sourceNode, 'A BufferSourceNode') |
| + .inheritFrom('AudioNode'); |
| + |
| let oac = new OfflineAudioContext(1, 128, 44100); |
| Promise.all([ |
| should(oac.startRendering(), 'Start OAC rendering').beResolved(), |