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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.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/OfflineAudioContext/offlineaudiocontext-properties.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.html b/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.html
index 448b6675d8bb5becfececb50387ee7ccb886470e..ac328e1450f3fb01334a9275d855278f54ba30f9 100644
--- a/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.html
+++ b/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.html
@@ -1,28 +1,30 @@
<!DOCTYPE html>
<html>
-<head>
- <title>Testing OfflineAudioContext properties</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/context-properties.js"></script>
-</head>
-<body>
- <script>
- var audit = Audit.createTaskRunner();
+ <head>
+ <title>
+ Testing OfflineAudioContext properties
+ </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/context-properties.js"></script>
+ </head>
+ <body>
+ <script id="layout-test-code">
+ let audit = Audit.createTaskRunner();
- // Cross-checking two sets of properties: a programmatically generated set
- // and a pre-populated set.
- audit.define('crosschecking-properties', (task, should) => {
- verifyPrototypeOwnProperties(OfflineAudioContext.prototype,
- OfflineAudioContextOwnProperties,
- should);
- task.done();
- });
+ // Cross-checking two sets of properties: a programmatically generated set
+ // and a pre-populated set.
+ audit.define('crosschecking-properties', (task, should) => {
+ verifyPrototypeOwnProperties(
+ OfflineAudioContext.prototype, OfflineAudioContextOwnProperties,
+ should);
+ task.done();
+ });
- audit.run();
- </script>
-</body>
+ audit.run();
+ </script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698