OLD | NEW |
1 // The list of the 'own' properties in various AudioContexts. These lists were | 1 // The list of the 'own' properties in various AudioContexts. These lists were |
2 // populated by running: | 2 // populated by running: |
3 // | 3 // |
4 // Object.getOwnPropertyNames(FooAudioContext.prototype); | 4 // Object.getOwnPropertyNames(FooAudioContext.prototype); |
5 // | 5 // |
6 // https://webaudio.github.io/web-audio-api/#BaseAudioContext | 6 // https://webaudio.github.io/web-audio-api/#BaseAudioContext |
7 | 7 |
8 | 8 |
9 let BaseAudioContextOwnProperties = [ | 9 let BaseAudioContextOwnProperties = [ |
10 'constructor', | 10 'constructor', |
(...skipping 16 matching lines...) Expand all Loading... |
27 'createStereoPanner', | 27 'createStereoPanner', |
28 'createWaveShaper', | 28 'createWaveShaper', |
29 'currentTime', | 29 'currentTime', |
30 'decodeAudioData', | 30 'decodeAudioData', |
31 'destination', | 31 'destination', |
32 'listener', | 32 'listener', |
33 'onstatechange', | 33 'onstatechange', |
34 'resume', | 34 'resume', |
35 'sampleRate', | 35 'sampleRate', |
36 'state', | 36 'state', |
| 37 'baseLatency', |
37 | 38 |
38 // TODO(hongchan): these belong to AudioContext. | 39 // TODO(hongchan): these belong to AudioContext. |
39 'createMediaElementSource', | 40 'createMediaElementSource', |
40 'createMediaStreamDestination', | 41 'createMediaStreamDestination', |
41 'createMediaStreamSource', | 42 'createMediaStreamSource', |
42 | 43 |
43 // TODO(hongchan): Not implemented yet. | 44 // TODO(hongchan): Not implemented yet. |
44 // 'baseLatency' | 45 // 'baseLatency' |
45 ]; | 46 ]; |
46 | 47 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // The expected property is missing. | 107 // The expected property is missing. |
107 should('The property "' + property + '" was expected but not found.') | 108 should('The property "' + property + '" was expected but not found.') |
108 ._testFailed('', false); | 109 ._testFailed('', false); |
109 } else if (!result.expected && result.actual) { | 110 } else if (!result.expected && result.actual) { |
110 // Something unexpected was found. | 111 // Something unexpected was found. |
111 should('The property "' + property + '" was not expected but found.') | 112 should('The property "' + property + '" was not expected but found.') |
112 ._testFailed('', false); | 113 ._testFailed('', false); |
113 } | 114 } |
114 } | 115 } |
115 } | 116 } |
OLD | NEW |