Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / webaudio / offlineaudiocontext-constructor.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <title>offlineaudiodestinationnode-crash</title>
5         <script src="../resources/js-test-pre.js"></script>
6         <script>
7             description('This tests that passing zero to the "numberOfFrames" parameter of the OfflineAudioContext constructor does not cause a crash.');
8             shouldThrow('new webkitOfflineAudioContext(1, 0, 44100)');
9             shouldThrow('new webkitOfflineAudioContext(0, 1, 44100)');
10             shouldThrow('new webkitOfflineAudioContext(1, 1, 0)');
11             shouldNotThrow('new webkitOfflineAudioContext(1, 1, 44100)');
12             testPassed('did not crash');
13         </script>
14     </head>
15     <body>
16     </body>
17 </html>