| Index: third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-downmix.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-downmix.html b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-downmix.html
|
| index 2df48d44f7ed2d11882fbf8de71bf9543c157b2f..6f919b0d7ff7b69f2144a2aa365b8d3219c50d21 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-downmix.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-downmix.html
|
| @@ -1,7 +1,8 @@
|
| <!doctype html>
|
| <html>
|
| <head>
|
| - <script src="../../resources/js-test.js"></script>
|
| + <script src="../../resources/testharness.js"></script>
|
| + <script src="../../resources/testharnessreport.js"></script>
|
| <script src="../resources/compatibility.js"></script>
|
| <script src="../resources/audit-util.js"></script>
|
| <script src="../resources/audio-testing.js"></script>
|
| @@ -12,9 +13,6 @@
|
|
|
| <body>
|
| <script>
|
| - description("Test AnalyserNode Downmixing");
|
| - window.jsTestIsAsync = true;
|
| -
|
| var sampleRate = 44100;
|
| var renderFrames = 2048;
|
|
|
| @@ -52,7 +50,6 @@
|
| }
|
|
|
| audit.defineTask("finish", function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
| @@ -115,10 +112,9 @@
|
| floatRelError: options.floatRelError,
|
| }) && success;
|
|
|
| - if (success)
|
| - testPassed(prefix + " downmixed correctly.\n");
|
| - else
|
| - testFailed(prefix + " not downmixed correctly.\n");
|
| + Should(prefix, success)
|
| + .summarize("downmixed correctly.",
|
| + "no downmixed correctly.");
|
| });
|
| }
|
| </script>
|
|
|