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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.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/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>

Powered by Google App Engine
This is Rietveld 408576698