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

Unified Diff: LayoutTests/webaudio/audionode.html

Issue 27037002: Get rid of custom bindings for AudioContext's constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 2 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
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(){
« no previous file with comments | « LayoutTests/webaudio/audiocontext-max-contexts-expected.txt ('k') | LayoutTests/webaudio/audionode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698