X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=LayoutTests%2Fwebaudio%2Fbiquad-highshelf.html;h=41944207a98dde97dc57ec4a0e84d49f4c445a56;hp=62497fa0c2cb87b4921b353a92bac85ba37bb471;hb=1f3ecd44ee1ba4bb023c2f6e23c5cd9ffab2538f;hpb=d2d8210944b66280965b4fd64dc494fb0e22d2ce diff --git a/LayoutTests/webaudio/biquad-highshelf.html b/LayoutTests/webaudio/biquad-highshelf.html index 62497fa..4194420 100644 --- a/LayoutTests/webaudio/biquad-highshelf.html +++ b/LayoutTests/webaudio/biquad-highshelf.html @@ -2,9 +2,8 @@ - - + @@ -17,15 +16,10 @@ description("Tests Biquad highshelf filter."); function runTest() { - if (window.layoutTestController) { - layoutTestController.dumpAsText(); - layoutTestController.waitUntilDone(); - } - window.jsTestIsAsync = true; // Create offline audio context. - var context = new webkitAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); + var context = new webkitOfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); // Dummy filter to get filter type constant var f = context.createBiquadFilter(); @@ -36,14 +30,11 @@ function runTest() { {cutoff : 0.25, q : 10, gain : 10 }, ]; - createTestAndRun(context, f.HIGHSHELF, filterParameters); + createTestAndRun(context, "highshelf", filterParameters); } runTest(); -successfullyParsed = true; - -