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

Unified Diff: LayoutTests/webaudio/audiocontext-max-contexts.html

Issue 297313003: Initialize AudioContext on constructor to increase currentTime in real-time. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove layout test Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()");
« no previous file with comments | « no previous file | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698