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..7c8ff9dac4d9f64da7e6e0f63735221347de434c 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
@@ -36,6 +36,18 @@ |
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'); |
+ should(BaseAudioContext.prototype, 'BaseAudioContext.prototype') |
+ .notOwnProperty('startRendering'); |
+ |
+ let ac = new AudioContext(); |
+ let sourceNode = new AudioBufferSourceNode(ac); |
+ should(sourceNode, 'An AudioBufferSourceNode') |
+ .inheritFrom('AudioScheduledSourceNode'); |
+ should(sourceNode, 'An AudioBufferSourceNode') |
+ .inheritFrom('AudioNode'); |
+ |
let oac = new OfflineAudioContext(1, 128, 44100); |
Promise.all([ |
should(oac.startRendering(), 'Start OAC rendering').beResolved(), |