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

Side by Side Diff: LayoutTests/webaudio/dom-exceptions.html

Issue 26913005: start/stop method for AudioBufferSourceNodes and OscillatorNodes can take no args. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/> 4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/>
5 <script src="resources/audio-testing.js"></script> 5 <script src="resources/audio-testing.js"></script>
6 <script src="../fast/js/resources/js-test-pre.js"></script> 6 <script src="../fast/js/resources/js-test-pre.js"></script>
7 <script src="resources/biquad-testing.js"></script> 7 <script src="resources/biquad-testing.js"></script>
8 </head> 8 </head>
9 9
10 <body> 10 <body>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // OfflineAudioContext 110 // OfflineAudioContext
111 // Invalid number of channels (unspecified error) 111 // Invalid number of channels (unspecified error)
112 shouldThrow("new webkitOfflineAudioContext(99, 100, context.sampleRate)"); 112 shouldThrow("new webkitOfflineAudioContext(99, 100, context.sampleRate)");
113 // Invalid sample rate. (unspecified error) 113 // Invalid sample rate. (unspecified error)
114 shouldThrow("new webkitOfflineAudioContext(1, 100, 1)"); 114 shouldThrow("new webkitOfflineAudioContext(1, 100, 1)");
115 shouldThrow("new webkitOfflineAudioContext(1, 100, 1e6)"); 115 shouldThrow("new webkitOfflineAudioContext(1, 100, 1e6)");
116 116
117 // WaveShaper types 117 // WaveShaper types
118 node = context.createWaveShaper(); 118 node = context.createWaveShaper();
119 shouldThrow("node.oversample = '9x'"); 119 shouldThrow("node.oversample = '9x'");
120
121 // Start/stop for AudioBufferSourceNodes
122 buffer = context.createBuffer(1,1, context.sampleRate);
123 shouldNotThrow("source = context.createBufferSource()");
124 source.buffer = buffer;
125 shouldNotThrow("source.start()");
126 shouldNotThrow("source.stop()");
127
128 // Start/stop for OscillatorNodes
129 shouldNotThrow("source = context.createOscillator()");
130 shouldNotThrow("source.start()");
131 shouldNotThrow("source.stop()");
120 } 132 }
121 133
122 runTest(); 134 runTest();
123 successfullyParsed = true; 135 successfullyParsed = true;
124 136
125 </script> 137 </script>
126 <script src="../fast/js/resources/js-test-post.js"></script> 138 <script src="../fast/js/resources/js-test-post.js"></script>
127 </body> 139 </body>
128 </html> 140 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698