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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Check all LatencyHints WebAudioDeviceImpl test. Created 4 years 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // TODO(hongchan): Not implemented yet. 43 // TODO(hongchan): Not implemented yet.
44 // 'baseLatency' 44 // 'baseLatency'
45 ]; 45 ];
46 46
47 47
48 let AudioContextOwnProperties = [ 48 let AudioContextOwnProperties = [
49 'close', 49 'close',
50 'constructor', 50 'constructor',
51 'suspend', 51 'suspend',
52 'baseLatency',
52 53
53 // TODO(hongchan): Not implemented yet. 54 // TODO(hongchan): Not implemented yet.
54 // 'outputLatency', 55 // 'outputLatency',
55 // 'getOutputTimestamp' 56 // 'getOutputTimestamp'
56 ]; 57 ];
57 58
58 59
59 let OfflineAudioContextOwnProperties = [ 60 let OfflineAudioContextOwnProperties = [
60 'constructor', 61 'constructor',
61 'length', 62 'length',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698