| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html
|
| index d7caa0555d11eb72d290947668020f8b7348a976..822cda7c48a1eca9b8d7ab22ec7df1bfe3b5b2a4 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.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>
|
| <title>Test Clamping of Automations</title>
|
| @@ -9,8 +10,6 @@
|
|
|
| <body>
|
| <script>
|
| - description("Test Clamping of Automations.");
|
| - window.jsTestIsAsync = true;
|
|
|
| // Some arbitrary sample rate for the offline context.
|
| var sampleRate = 48000;
|
| @@ -94,18 +93,14 @@
|
| success == Should("Actual Clamp end",
|
| actualClampEnd).beGreaterThanOrEqualTo(clampEndFrame) && success;
|
|
|
| - if (success)
|
| - testPassed("Clamping of BiquadFilter.frequency automation performed correctly.")
|
| - else
|
| - testFailed(
|
| - "Clamping of BiquadFilter.frequency automation performed incorrectly.")
|
| -
|
| + Should("Clamping of BiquadFilter.frequency automation performed",
|
| + success)
|
| + .summarize("correctly", "incorrectly");
|
| }).then(done);
|
| });
|
|
|
| // All done!
|
| audit.defineTask("finish", function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|