Chromium Code Reviews| 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..79b495a8f7d26382ce07ed6d74b5714731d090a1 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,7 +13,6 @@ |
| <body> |
| <script> |
| - description("Test AnalyserNode Downmixing"); |
| window.jsTestIsAsync = true; |
|
hongchan
2016/12/20 23:04:30
ditto.
|
| var sampleRate = 44100; |
| @@ -52,7 +52,6 @@ |
| } |
| audit.defineTask("finish", function (done) { |
| - finishJSTest(); |
| done(); |
| }); |
| @@ -115,10 +114,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> |