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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.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/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>

Powered by Google App Engine
This is Rietveld 408576698