Chromium Code Reviews| Index: LayoutTests/webaudio/offlineaudiocontext-constructor-crash.html |
| diff --git a/LayoutTests/crypto/worker-random-values-types.html b/LayoutTests/webaudio/offlineaudiocontext-constructor-crash.html |
| similarity index 54% |
| copy from LayoutTests/crypto/worker-random-values-types.html |
| copy to LayoutTests/webaudio/offlineaudiocontext-constructor-crash.html |
| index 1b6ff3cecfea7fb1203c415da00de8e8ceca401f..75b43ec027db3d54fff49376f7429ff5c034339a 100644 |
| --- a/LayoutTests/crypto/worker-random-values-types.html |
| +++ b/LayoutTests/webaudio/offlineaudiocontext-constructor-crash.html |
| @@ -4,10 +4,11 @@ |
| <script src="../fast/js/resources/js-test-pre.js"></script> |
| </head> |
| <body> |
| -<p id="description"></p> |
| -<div id="console"></div> |
| <script> |
| - worker = startWorker("resources/random-values-types.js"); |
| +description("Checks that the OfflineAudioContext does not crash on bad input"); |
|
Raymond Toy (Google)
2013/10/11 20:04:40
I think this file should not include "crash" in th
Inactive
2013/10/11 20:48:18
Done.
|
| + |
| +// 0 as number of frames. |
| +shouldThrow("new webkitOfflineAudioContext(0, 0, 46000)"); |
|
Raymond Toy (Google)
2013/10/11 20:04:40
Why 46000 for the sample rate? I would choose a mo
Inactive
2013/10/11 20:48:18
Done.
|
| </script> |
| <script src="../fast/js/resources/js-test-post.js"></script> |
| </body> |