| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html
|
| index fd27bbc6a6d19ad351fced187961c1b3bf278d87..8e58e690e6f7ee0949f2fa0dc5390c05917e0dd9 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html
|
| @@ -2,15 +2,14 @@
|
| <html>
|
| <head>
|
| <title>Test linearRampToValue Updates the Param Value</title>
|
| - <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>
|
| </head>
|
|
|
| <body>
|
| <script>
|
| - description("Test linearRampToValue Updates the Param Value");
|
| - window.jsTestIsAsync = true;
|
|
|
| var renderQuantumSize = 128;
|
| // Should be a power of two to get rid of rounding errors when converting between time and
|
| @@ -70,15 +69,13 @@
|
| // Rock and roll!
|
| source.start();
|
| context.startRendering().then(function (result) {
|
| - if (success)
|
| - testPassed("linearRampToValue properly set the AudioParam value.");
|
| - else
|
| - testFailed("linearRampToValue did not properly set the AudioParam value.");
|
| + Should("linearRampToValue", success)
|
| + .summarize("properly set the AudioParam value",
|
| + "did not properly set the AudioParam value");
|
| }).then(done);
|
| });
|
|
|
| audit.defineTask("finish", function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|