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

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

Issue 2895963003: Apply layout-test-tidy to LayoutTests/webaudio (Closed)
Patch Set: Created 3 years, 7 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 25 matching lines...) Expand all
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 ]; 42 ];
43 43
44 44
45 let AudioContextOwnProperties = [ 45 let AudioContextOwnProperties = [
46 'close', 46 'close', 'constructor', 'suspend', 'getOutputTimestamp', 'baseLatency',
47 'constructor',
48 'suspend',
49 'getOutputTimestamp',
50 'baseLatency',
51 47
52 // TODO(hongchan): Not implemented yet. 48 // TODO(hongchan): Not implemented yet.
53 // 'outputLatency', 49 // 'outputLatency',
54 ]; 50 ];
55 51
56 52
57 let OfflineAudioContextOwnProperties = [ 53 let OfflineAudioContextOwnProperties = [
58 'constructor', 54 'constructor',
59 'length', 55 'length',
60 'oncomplete', 56 'oncomplete',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 should(true, prefix).message('was expected and found successfully', ''); 91 should(true, prefix).message('was expected and found successfully', '');
96 } else if (result.expected && !result.actual) { 92 } else if (result.expected && !result.actual) {
97 // The expected property is missing. 93 // The expected property is missing.
98 should(false, prefix).message('', 'was expected but not found.'); 94 should(false, prefix).message('', 'was expected but not found.');
99 } else if (!result.expected && result.actual) { 95 } else if (!result.expected && result.actual) {
100 // Something unexpected was found. 96 // Something unexpected was found.
101 should(false, prefix).message('', 'was not expected but found.'); 97 should(false, prefix).message('', 'was not expected but found.');
102 } 98 }
103 } 99 }
104 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698