| Index: third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html b/third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html
|
| index f8e6b93e722595d2fb10f7df92cbc1cb217682da..fd602dfb8028e92e84478fccb899a0cb15150295 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html
|
| @@ -1,18 +1,22 @@
|
| <!DOCTYPE html>
|
| -
|
| <html>
|
| <head>
|
| - <script type="text/javascript" src="../../resources/audio-codec-test.js"></script>
|
| + <title>
|
| + 24bit-22khz-resample.html
|
| + </title>
|
| + <script src="../../resources/audio-codec-test.js"></script>
|
| <script src="../../resources/audit-util.js"></script>
|
| - <script type="text/javascript" src="../../resources/buffer-loader.js"></script>
|
| - <script>
|
| - // Test 24bit WAV decoder, 22.05 kHz sample rate. This also tests the resampler because the
|
| - // context is running at 44.1 kHz.
|
| - var url = "../../resources/media/24bit-22khz.wav";
|
| -
|
| - window.onload = function () { runDecodingTest(url) };
|
| - </script>
|
| + <script src="../../resources/buffer-loader.js"></script>
|
| </head>
|
| <body>
|
| + <script id="layout-test-code">
|
| + // Test 24bit WAV decoder, 22.05 kHz sample rate. This also tests the
|
| + // resampler because the context is running at 44.1 kHz.
|
| + let url = '../../resources/media/24bit-22khz.wav';
|
| +
|
| + window.onload = function() {
|
| + runDecodingTest(url)
|
| + };
|
| + </script>
|
| </body>
|
| </html>
|
|
|