Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/codec-tests/aac/m4a-short-duration-44khz.html

Issue 2895963003: Apply layout-test-tidy to LayoutTests/webaudio (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698