Index: LayoutTests/webaudio/offlineaudiocontext-constructor.html |
diff --git a/LayoutTests/crypto/worker-random-values-types.html b/LayoutTests/webaudio/offlineaudiocontext-constructor.html |
similarity index 52% |
copy from LayoutTests/crypto/worker-random-values-types.html |
copy to LayoutTests/webaudio/offlineaudiocontext-constructor.html |
index 1b6ff3cecfea7fb1203c415da00de8e8ceca401f..4d73cec08946a7962258ec5cd9c6553f8dd45f87 100644 |
--- a/LayoutTests/crypto/worker-random-values-types.html |
+++ b/LayoutTests/webaudio/offlineaudiocontext-constructor.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("Tests the OfflineAudioContext constructor"); |
+ |
+// Make sure we don't crash when giving 0 as number of frames. |
+shouldThrow("new webkitOfflineAudioContext(1, 0, 44100)"); |
</script> |
<script src="../fast/js/resources/js-test-post.js"></script> |
</body> |