| Index: third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulated-impulse.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulated-impulse.html b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulated-impulse.html
|
| index 9f940975df3b771201842bde598877fc3255f6d2..2b1dfb212ea15504febbc32fd3787bf72d591dd7 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-modulated-impulse.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate-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 playbackRate modulation.');
|
| - window.jsTestIsAsync = true;
|
|
|
| var sampleRate = 44100;
|
|
|
| @@ -85,17 +84,14 @@
|
| i++;
|
| }
|
|
|
| - if (passed) {
|
| - testPassed('Doubling playbackRate decreased the interval between impulses to half.');
|
| - } else {
|
| - testFailed('Doubling playbackRate produced the incorrect result' +
|
| - 'at the index ' + i + '.');
|
| - }
|
| + Should('Doubling playbackRate', passed)
|
| + .summarize(
|
| + 'decreased the interval between impulses to half',
|
| + 'produced the incorrect result' + 'at the index ' + i)
|
| }).then(done);
|
| });
|
|
|
| audit.defineTask('finish', function (done) {
|
| - finishJSTest();
|
| done();
|
| });
|
|
|
|
|