| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.html
|
| index 749d06a04bdc7a4696ac3c1a44c265c660d2dd04..8d148efa1680d75edb8467ea84505d0bcdf3ba8f 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.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/audit-util.js"></script>
|
| <script src="../resources/audio-testing.js"></script>
|
| <script src="../resources/panner-formulas.js"></script>
|
| @@ -10,8 +11,6 @@
|
|
|
| <body>
|
| <script>
|
| - description("Test setValueCurveAtTime Copies the Curve Data");
|
| - window.jsTestIsAsync = true;
|
|
|
| var sampleRate = 48000;
|
| var renderFrames = 1024;
|
| @@ -79,15 +78,12 @@
|
| // changing the curve data should not affect the automation.
|
| var success = Should("setValueCurve output", testData).beEqualToArray(refData);
|
|
|
| - if (success)
|
| - testPassed("Changing the curve data did not change the result.");
|
| - else
|
| - testFailed("Changing the curve data unexpectedly changed the result.");
|
| + Should("Changing the curve data", success)
|
| + .summarize("did not change the result", "unexpectedly changed the result");
|
| }).then(done);
|
| });
|
|
|
| audit.defineTask("finish", function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|