| Index: third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html b/third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html
|
| index 154d5c8d839fac5d157f28afbc3b2809a95922a8..76b670b9d5b99e8c5aa12f069aa61758be8c29e2 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html
|
| @@ -1,28 +1,27 @@
|
| <!DOCTYPE html>
|
| <html>
|
| -<head>
|
| - <script src="../../resources/audit-util.js"></script>
|
| - <script src="../../resources/buffer-loader.js"></script>
|
| - <script src="../../resources/audio-codec-test.js"></script>
|
| - <title></title>
|
| -</head>
|
| -<body>
|
| - <script>
|
| - (function () {
|
| + <head>
|
| + <title></title>
|
| + <script src="../../resources/audit-util.js"></script>
|
| + <script src="../../resources/buffer-loader.js"></script>
|
| + <script src="../../resources/audio-codec-test.js"></script>
|
| + </head>
|
| + <body>
|
| + <script id="layout-test-code">
|
| + (function() {
|
|
|
| - // For certain AAC-encoded files, FFMPEG's estimated frame count might not
|
| - // be sufficient to capture the entire audio content that we want. This is
|
| - // especially noticeable for short files (< 10ms) resulting in silence
|
| - // throughout the decoded buffer. Thus we add the priming frames and the
|
| - // remainder frames to the estimation.
|
| - // (See: crbug.com/513178)
|
| - var targetUrl = '../../resources/media/440hz-10ms.m4a';
|
| -
|
| - window.onload = function () {
|
| - runDecodingTest(targetUrl);
|
| - };
|
| + // For certain AAC-encoded files, FFMPEG's estimated frame count might
|
| + // not be sufficient to capture the entire audio content that we want.
|
| + // This is especially noticeable for short files (< 10ms) resulting in
|
| + // silence throughout the decoded buffer. Thus we add the priming frames
|
| + // and the remainder frames to the estimation. (See: crbug.com/513178)
|
| + let targetUrl = '../../resources/media/440hz-10ms.m4a';
|
|
|
| - })();
|
| - </script>
|
| -</body>
|
| + window.onload = function() {
|
| + runDecodingTest(targetUrl);
|
| + };
|
| +
|
| + })();
|
| + </script>
|
| + </body>
|
| </html>
|
|
|