| Index: third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-detune-modulated-impulse.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-detune-modulated-impulse.html b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-detune-modulated-impulse.html
|
| index 8a8a49e5254f9cad94c75421462f75f6b698fbfd..c223fa1c0f56a46aea4dfd8a10b6f7f2fef4bc12 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-detune-modulated-impulse.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-detune-modulated-impulse.html
|
| @@ -2,15 +2,14 @@
|
| <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>
|
| </head>
|
|
|
| <body>
|
| <script>
|
| - description('AudioBufferSourceNode: DC-driven detune modulation.');
|
| - window.jsTestIsAsync = true;
|
|
|
| var sampleRate = 44100;
|
|
|
| @@ -84,17 +83,14 @@
|
| i++;
|
| }
|
|
|
| - if (passed) {
|
| - testPassed('Increasing detune to 1200 decreased the interval between impulses to half.');
|
| - } else {
|
| - testFailed('Increasing detune produced the incorrect result' +
|
| - 'at the index ' + i + '.');
|
| - }
|
| + Should('Increasing detune', passed)
|
| + .summarize(
|
| + 'to 1200 decreased the interval between impulses to half',
|
| + 'produced the incorrect result' + 'at the index ' + i);
|
| }).then(done);
|
| });
|
|
|
| audit.defineTask('finish', function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|