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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/constructor/dynamicscompressor.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/constructor/dynamicscompressor.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/dynamicscompressor.html b/third_party/WebKit/LayoutTests/webaudio/constructor/dynamicscompressor.html
index 53cd9c85dd9b529b654e69897a022752089ea794..c225f97612b95304cd36bd2ebd1de7ada1d0ee03 100644
--- a/third_party/WebKit/LayoutTests/webaudio/constructor/dynamicscompressor.html
+++ b/third_party/WebKit/LayoutTests/webaudio/constructor/dynamicscompressor.html
@@ -1,19 +1,20 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
- <title>Test Constructor: DynamicsCompressor</title>
+ <title>
+ Test Constructor: DynamicsCompressor
+ </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="audionodeoptions.js"></script>
</head>
-
<body>
- <script>
- var context;
+ <script id="layout-test-code">
+ let context;
- var audit = Audit.createTaskRunner();
+ let audit = Audit.createTaskRunner();
audit.define('initialize', (task, should) => {
context = initializeContext(should);
@@ -53,8 +54,8 @@
});
audit.define('constructor with options', (task, should) => {
- var node;
- var options =
+ let node;
+ let options =
{threshold: -33, knee: 15, ratio: 7, attack: 0.625, release: 0.125};
should(

Powered by Google App Engine
This is Rietveld 408576698