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) => { |