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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.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-2x.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.html b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.html
index e34a33c4d905b5804b711b6d1e5b6e5ccbf18207..5a47accdb19998fa489a594e2364fc068ae1aa24 100644
--- a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.html
+++ b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.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": "2x",
-
- // Should generate harmonics at 9000, 18000, 27000, 36000
- // The last two should be filtered out with the 2x oversampling.
- "fundamentalFrequency": 9000,
- "acceptableAliasingThresholdDecibels": -75.3,
- description: "2x WaveShaperNode oversampling"
-};
-runWaveShaperOversamplingTest(testParams);
-
-</script>
+ <head>
+ <title>
+ waveshaper-oversample-2x.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': '2x',
-</body>
+ // Should generate harmonics at 9000, 18000, 27000, 36000
+ // The last two should be filtered out with the 2x oversampling.
+ 'fundamentalFrequency': 9000,
+ 'acceptableAliasingThresholdDecibels': -75.3,
+ description: '2x WaveShaperNode oversampling'
+ };
+ runWaveShaperOversamplingTest(testParams);
+ </script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698