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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.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/WaveShaper/waveshaper-oversample-4x.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
index 68a095f4f46cda62bc38f493280709e576085d45..acf6ff929230cc928fe32bd3f87f707a3dbe6219 100644
--- a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
+++ b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
@@ -1,30 +1,29 @@
<!DOCTYPE html>
-
<html>
-<head>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../resources/audit-util.js"></script>
-<script src="../resources/audit.js"></script>
-<script type="text/javascript" src="../resources/mix-testing.js"></script>
-<script type="text/javascript" src="../resources/waveshaper-testing.js"></script>
-</head>
-
-<body>
-<script>
-var testParams = {
- "sampleRate": 44100,
- "oversample": "4x",
-
- // Should generate harmonics at 18000, 36000, 54000, 72000
- // All except for 18000 should be filtered out with the 4x oversampling.
- "fundamentalFrequency": 18000,
- "acceptableAliasingThresholdDecibels": -79.9,
- description: "4x WaveShaperNode oversampling"
-};
-runWaveShaperOversamplingTest(testParams);
-
-</script>
+ <head>
+ <title>
+ waveshaper-oversample-4x.html
+ </title>
+ <script src="../../resources/testharness.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
+ <script src="../resources/audit-util.js"></script>
+ <script src="../resources/audit.js"></script>
+ <script src="../resources/mix-testing.js"></script>
+ <script src="../resources/waveshaper-testing.js"></script>
+ </head>
+ <body>
+ <script id="layout-test-code">
+ let testParams = {
+ 'sampleRate': 44100,
+ 'oversample': '4x',
-</body>
+ // Should generate harmonics at 18000, 36000, 54000, 72000
+ // All except for 18000 should be filtered out with the 4x oversampling.
+ 'fundamentalFrequency': 18000,
+ 'acceptableAliasingThresholdDecibels': -79.9,
+ description: '4x WaveShaperNode oversampling'
+ };
+ runWaveShaperOversamplingTest(testParams);
+ </script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698