Index: third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html |
index e4f1b887ce1de57665e808c8091bff6e89971554..c69aaa71d4c7ed0b11072ced1e19dcc0963d418b 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html |
@@ -1,36 +1,35 @@ |
<!DOCTYPE html> |
- |
<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> |
-<script src="../resources/scriptprocessornode-testing-audit.js"></script> |
-</head> |
- |
-<body> |
-<script> |
-let audit = Audit.createTaskRunner(); |
- |
-let sampleRate = 44100.0; |
-let sourceChannels = 8; |
-let inputChannels = 2; |
-let outputChannels = 6; |
- |
-audit.define( |
- { |
- label: 'test', |
- description: |
- 'downmix 8-channel source to ScriprProcessNode with 2-channel input' |
- }, |
- (task, should) => { |
- runJSNodeTest(should).then(() => task.done()); |
- }); |
+ <head> |
+ <title> |
+ scriptprocessornode-downmix8-2channel-input.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> |
+ <script src="../resources/scriptprocessornode-testing-audit.js"></script> |
+ </head> |
+ <body> |
+ <script id="layout-test-code"> |
+ let audit = Audit.createTaskRunner(); |
-audit.run(); |
+ let sampleRate = 44100.0; |
+ let sourceChannels = 8; |
+ let inputChannels = 2; |
+ let outputChannels = 6; |
-</script> |
+ audit.define( |
+ { |
+ label: 'test', |
+ description: |
+ 'downmix 8-channel source to ScriprProcessNode with 2-channel input' |
+ }, |
+ (task, should) => { |
+ runJSNodeTest(should).then(() => task.done()); |
+ }); |
-</body> |
+ audit.run(); |
+ </script> |
+ </body> |
</html> |