Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/resources/context-properties.js

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fixes to WebAudioDeviceImpl unit test. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 21 matching lines...) Expand all
32 'listener', 32 'listener',
33 'onstatechange', 33 'onstatechange',
34 'resume', 34 'resume',
35 'sampleRate', 35 'sampleRate',
36 'state', 36 'state',
37 37
38 // TODO(hongchan): these belong to AudioContext. 38 // TODO(hongchan): these belong to AudioContext.
39 'createMediaElementSource', 39 'createMediaElementSource',
40 'createMediaStreamDestination', 40 'createMediaStreamDestination',
41 'createMediaStreamSource', 41 'createMediaStreamSource',
42
43 // TODO(hongchan): Not implemented yet.
44 // 'baseLatency'
45 ]; 42 ];
46 43
47 44
48 let AudioContextOwnProperties = [ 45 let AudioContextOwnProperties = [
49 'close', 46 'close',
50 'constructor', 47 'constructor',
51 'suspend', 48 'suspend',
52 'getOutputTimestamp' 49 'getOutputTimestamp',
50 'baseLatency',
53 51
54 // TODO(hongchan): Not implemented yet. 52 // TODO(hongchan): Not implemented yet.
55 // 'outputLatency', 53 // 'outputLatency',
56 ]; 54 ];
57 55
58 56
59 let OfflineAudioContextOwnProperties = [ 57 let OfflineAudioContextOwnProperties = [
60 'constructor', 58 'constructor',
61 'length', 59 'length',
62 'oncomplete', 60 'oncomplete',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // The expected property is missing. 104 // The expected property is missing.
107 should('The property "' + property + '" was expected but not found.') 105 should('The property "' + property + '" was expected but not found.')
108 ._testFailed('', false); 106 ._testFailed('', false);
109 } else if (!result.expected && result.actual) { 107 } else if (!result.expected && result.actual) {
110 // Something unexpected was found. 108 // Something unexpected was found.
111 should('The property "' + property + '" was not expected but found.') 109 should('The property "' + property + '" was not expected but found.')
112 ._testFailed('', false); 110 ._testFailed('', false);
113 } 111 }
114 } 112 }
115 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698