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

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

Issue 208943004: Update WebAudio layout tests to use unprefixed AudioContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add console.log to compatibility.js Created 6 years, 9 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 | « LayoutTests/webaudio/audiochannelsplitter.html ('k') | LayoutTests/webaudio/audionode.html » ('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 655fd08567e12872fba8cdefee4364e0cebb597f..8337e9284030ac54f1ecff126a62c3debb97540f 100644
--- a/LayoutTests/webaudio/audiocontext-max-contexts.html
+++ b/LayoutTests/webaudio/audiocontext-max-contexts.html
@@ -2,6 +2,7 @@
<html>
<head>
<script src="../resources/js-test.js"></script>
+<script src="resources/compatibility.js"></script>
</head>
<body>
<script>
@@ -10,7 +11,7 @@ description("Check that the AudioContext constructor throws when the limit on ha
function reachHardwareContextsLimit() {
var context = [];
for (var i=0; i<10; ++i) {
- context[i] = new webkitAudioContext();
+ context[i] = new AudioContext();
// Trigger lazy initialization.
context[i].createBufferSource();
}
« no previous file with comments | « LayoutTests/webaudio/audiochannelsplitter.html ('k') | LayoutTests/webaudio/audionode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698