Index: LayoutTests/webaudio/audionode.html |
diff --git a/LayoutTests/webaudio/audionode.html b/LayoutTests/webaudio/audionode.html |
index f5baec71cb6c0655095f05d24bb99617603be877..c01604fc145ac0a2940504ecabb3b1355c9825ca 100644 |
--- a/LayoutTests/webaudio/audionode.html |
+++ b/LayoutTests/webaudio/audionode.html |
@@ -15,6 +15,7 @@ description("Basic tests for AudioNode API."); |
var context = 0; |
var context2 = 0; |
+var context3 = 0; |
function runTest() { |
if (window.testRunner) { |
@@ -101,6 +102,9 @@ function runTest() { |
testPassed("exception thrown when creating audio context with not enough arguments."); |
} |
+ // Create a new offline audio context using the deprecated AudioContext constructor. |
+ shouldNotThrow("context3 = new webkitAudioContext(1, 44100, 44100)"); |
+ |
// Ensure it is an EventTarget |
try { |
audioNode.addEventListener('testEvent', function(){ |