| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.html
|
| index 4555fa75e4e9bcda2c740a163af3f25d517d043f..eab5cd2979b475027fedd8ec8a85ed8b6d5b3c9a 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.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/audioparam-testing.js"></script>
|
| @@ -10,9 +11,7 @@
|
|
|
| <body>
|
| <script>
|
| - description("Test Sampling of LinearRampToValueAtTime");
|
|
|
| - window.jsTestIsAsync = true;
|
| var sampleRate = 12800;
|
| var context;
|
|
|
| @@ -65,10 +64,8 @@
|
| precision: 7
|
| }).beCloseTo(expectedEnd, config.endValueThreshold) && success;
|
|
|
| - if (success)
|
| - testPassed(config.desc + " passed.\n");
|
| - else
|
| - testFailed(config.desc + " failed.\n");
|
| + Should(config.desc, success)
|
| + .summarize("passed", "failed");
|
| });
|
| }
|
|
|
| @@ -171,7 +168,6 @@
|
| }
|
|
|
| audit.defineTask("finish", function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|