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> |