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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Panner/distance-inverse.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/Panner/distance-inverse.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-inverse.html b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-inverse.html
index 3afb2a31594d423d60b8ed4bd241e5fe41f8eaf4..79b9a6d1c9b3373bc31faafead3c9327424c4db9 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-inverse.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-inverse.html
@@ -1,27 +1,28 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
+ <title>
+ distance-inverse.html
+ </title>
<script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audit.js"></script>
<script src="../resources/distance-model-testing.js"></script>
</head>
-
<body>
- <script>
+ <script id="layout-test-code">
let audit = Audit.createTaskRunner();
- audit.define("test", (task, should) => {
- // Create offline audio context.
- context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
+ audit.define('test', (task, should) => {
+ // Create offline audio context.
+ context = new OfflineAudioContext(
+ 2, sampleRate * renderLengthSeconds, sampleRate);
- createTestAndRun(context, "inverse", should)
- .then(() => task.done());
+ createTestAndRun(context, 'inverse', should).then(() => task.done());
});
audit.run();
</script>
-
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698