| Index: third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-basic.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-basic.html b/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-basic.html
|
| index c98186e53380e2174719a301f80410a70e5e4332..852d9987def4983938ad67c0d2afb6f1f982b902 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-basic.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-basic.html
|
| @@ -5,18 +5,14 @@ Create an oscillator of each type and verify that the type is set correctly.
|
| -->
|
| <html>
|
| <head>
|
| -<script src="../../resources/js-test.js"></script>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| <script src="../resources/audit-util.js"></script>
|
| <script src="../resources/audio-testing.js"></script>
|
| </head>
|
|
|
| <body>
|
| -<div id="description"></div>
|
| -<div id="console"></div>
|
| -
|
| <script>
|
| -description("Basic test of setting Oscillator node types.");
|
| -
|
| var sampleRate = 44100;
|
| var renderLengthSeconds = 0.25;
|
|
|
| @@ -24,13 +20,6 @@ var oscTypes = ["sine", "square", "sawtooth", "triangle", "custom"];
|
|
|
| function runTest()
|
| {
|
| - if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - }
|
| -
|
| - window.jsTestIsAsync = true;
|
| -
|
| // Create offline audio context.
|
| var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
|
| var osc = context.createOscillator();
|
| @@ -64,13 +53,9 @@ function runTest()
|
| osc.type = 0;
|
| Should("osc.type = 0", osc.type).notBeEqualTo(0);
|
| Should("osc.type", osc.type).beEqualTo(oldType);
|
| -
|
| - finishJSTest();
|
| }
|
|
|
| runTest();
|
| -successfullyParsed = true;
|
| -
|
| </script>
|
|
|
|
|
|
|