Index: third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html b/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html |
index e115c7d7ae6754fd0d65438575cf28257a7aeba3..9375cbda270e99cf9d40f63ac5679919b9da6cc8 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html |
@@ -1,30 +1,32 @@ |
<!DOCTYPE html> |
<html> |
-<head> |
- <title>Testing AudioContext.getOutputTimestamp() method</title> |
- <script src="../../resources/testharness.js"></script> |
- <script src="../../resources/testharnessreport.js"></script> |
- <script src="../resources/audit.js"></script> |
-</head> |
-<body> |
- <script> |
- var audit = Audit.createTaskRunner(); |
+ <head> |
+ <title> |
+ Testing AudioContext.getOutputTimestamp() method |
+ </title> |
+ <script src="../../resources/testharness.js"></script> |
+ <script src="../../resources/testharnessreport.js"></script> |
+ <script src="../resources/audit.js"></script> |
+ </head> |
+ <body> |
+ <script id="layout-test-code"> |
+ let audit = Audit.createTaskRunner(); |
- audit.define('getoutputtimestamp-initial-values', function (task, should) { |
- let context = new AudioContext; |
- let timestamp = context.getOutputTimestamp(); |
+ audit.define('getoutputtimestamp-initial-values', function(task, should) { |
+ let context = new AudioContext; |
+ let timestamp = context.getOutputTimestamp(); |
- should(timestamp.contextTime, 'timestamp.contextTime').exist(); |
- should(timestamp.performanceTime, 'timestamp.performanceTime').exist(); |
+ should(timestamp.contextTime, 'timestamp.contextTime').exist(); |
+ should(timestamp.performanceTime, 'timestamp.performanceTime').exist(); |
- should(timestamp.contextTime, 'timestamp.contextTime').beEqualTo(0); |
- should(timestamp.performanceTime, 'timestamp.performanceTime').beEqualTo( |
- 0); |
+ should(timestamp.contextTime, 'timestamp.contextTime').beEqualTo(0); |
+ should(timestamp.performanceTime, 'timestamp.performanceTime') |
+ .beEqualTo(0); |
- task.done(); |
- }); |
+ task.done(); |
+ }); |
- audit.run(); |
- </script> |
-</body> |
+ audit.run(); |
+ </script> |
+ </body> |
</html> |