| Index: third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html
|
| index e390c67a85060c0275d6820b01de09b935e49743..33f653582218623b8993bd6eacdb88bb603e4093 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html
|
| @@ -2,35 +2,34 @@
|
|
|
| <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>
|
| -<script type="text/javascript" src="../resources/scriptprocessornode-testing.js"></script>
|
| +<script src="../resources/audit.js"></script>
|
| +<script src="../resources/scriptprocessornode-testing-audit.js"></script>
|
| </head>
|
|
|
| <body>
|
| -
|
| -<div id="description"></div>
|
| -<div id="console"></div>
|
| -
|
| <script>
|
| -description("Tests upmixing a 2-channel source connected to a JavaScriptAudioNode with 8-channel input.");
|
| -
|
| -var sampleRate = 44100.0;
|
| -var sourceChannels = 2;
|
| -var inputChannels = 8;
|
| -var outputChannels = 6;
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -function runTest() {
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| - runJSNodeTest();
|
| -}
|
| -
|
| -runTest();
|
| -
|
| +let audit = Audit.createTaskRunner();
|
| +
|
| +let sampleRate = 44100.0;
|
| +let sourceChannels = 2;
|
| +let inputChannels = 8;
|
| +let outputChannels = 6;
|
| +
|
| +audit.define(
|
| + {
|
| + label: 'test',
|
| + description:
|
| + 'upmix a 2-channel source ScriptProcessorNode with 8-channel output'
|
| + },
|
| + (task, should) => {
|
| + runJSNodeTest(should).then(() => task.done());
|
| + ;
|
| + });
|
| +
|
| +audit.run();
|
| </script>
|
|
|
| </body>
|
|
|