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

Side by Side Diff: LayoutTests/webaudio/offlineaudiocontext-constructor.html

Issue 27039002: Fix crash when the OfflineAudioContext constructor is given 0 as numberOfFrames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/webaudio/offlineaudiocontext-constructor-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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <script> 7 <script>
10 worker = startWorker("resources/random-values-types.js"); 8 description("Tests the OfflineAudioContext constructor");
9
10 // Make sure we don't crash when giving 0 as number of frames.
11 shouldThrow("new webkitOfflineAudioContext(1, 0, 44100)");
11 </script> 12 </script>
12 <script src="../fast/js/resources/js-test-post.js"></script> 13 <script src="../fast/js/resources/js-test-post.js"></script>
13 </body> 14 </body>
14 </html> 15 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698