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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Gain/gain-basic.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/Gain/gain-basic.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Gain/gain-basic.html b/third_party/WebKit/LayoutTests/webaudio/Gain/gain-basic.html
index de22de19818306e4a15a92a4f533a2362a3b6a33..dd1edb40d0038a1672f82e34e17ace443f68c8b3 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Gain/gain-basic.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Gain/gain-basic.html
@@ -1,39 +1,37 @@
<!DOCTYPE html>
-
<!--
Verifies GainNode attributes and their type.
-->
-
<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>
-
-</head>
-<body>
-
-<script>
-let audit = Audit.createTaskRunner();
-
-audit.define('test', function(task, should) {
- // Create audio context.
- let context = new AudioContext();
-
- // Create gain node.
- let gainNode = context.createGain();
-
- should(
- gainNode.gain instanceof AudioParam,
- 'gainNode.gain instanceof AudioParam')
- .beTrue();
-
- task.done();
-});
-
-audit.run();
-</script>
-
-</body>
+ <head>
+ <title>
+ gain-basic.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>
+ </head>
+ <body>
+ <script id="layout-test-code">
+ let audit = Audit.createTaskRunner();
+
+ audit.define('test', function(task, should) {
+ // Create audio context.
+ let context = new AudioContext();
+
+ // Create gain node.
+ let gainNode = context.createGain();
+
+ should(
+ gainNode.gain instanceof AudioParam,
+ 'gainNode.gain instanceof AudioParam')
+ .beTrue();
+
+ task.done();
+ });
+
+ audit.run();
+ </script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698