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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-tail-time.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/IIRFilter/iir-tail-time.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-tail-time.html b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-tail-time.html
index 30fae18384cc228ef72418c1525f79764b74aacd..da645701559d2342c0bb43baeacc44f8e98dc968 100644
--- a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-tail-time.html
+++ b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-tail-time.html
@@ -1,15 +1,16 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
- <title>Test Tail Time for IIRFilter</title>
+ <title>
+ Test Tail Time for IIRFilter
+ </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>
</head>
-
<body>
- <script>
+ <script id="layout-test-code">
let audit = Audit.createTaskRunner();
let renderQuantumFrames = 128;
@@ -111,8 +112,8 @@
let pole = 0.99;
let IIROptions = {
- feedforward: [0,0,1],
- feedback: [1, -2*pole, pole*pole]
+ feedforward: [0, 0, 1],
+ feedback: [1, -2 * pole, pole * pole]
};
// We can analytically compute the impulse response of this filter to be
@@ -127,7 +128,7 @@
let tail = 1781.213;
runTest(should, IIROptions, tail, '2 repeated poles')
.then(() => task.done());
-
+
});
audit.define('4-th order', (task, should) => {

Powered by Google App Engine
This is Rietveld 408576698