Index: LayoutTests/webaudio/audiocontext-max-contexts.html |
diff --git a/LayoutTests/webaudio/audiocontext-max-contexts.html b/LayoutTests/webaudio/audiocontext-max-contexts.html |
index 8337e9284030ac54f1ecff126a62c3debb97540f..256f237a4ec003a11b2ba9c330bceb4e453a35f4 100644 |
--- a/LayoutTests/webaudio/audiocontext-max-contexts.html |
+++ b/LayoutTests/webaudio/audiocontext-max-contexts.html |
@@ -10,11 +10,8 @@ description("Check that the AudioContext constructor throws when the limit on ha |
function reachHardwareContextsLimit() { |
var context = []; |
- for (var i=0; i<10; ++i) { |
+ for (var i=0; i<10; ++i) |
context[i] = new AudioContext(); |
- // Trigger lazy initialization. |
- context[i].createBufferSource(); |
- } |
} |
shouldThrow("reachHardwareContextsLimit()"); |