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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-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/BaseAudioContext/baseaudiocontext-properties.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html b/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
index 8e37046f60b613908654a54262c2e2442a31f0af..aec372c6bbb90118d208519c952cf58a22a4cd44 100644
--- a/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
+++ b/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
@@ -1,29 +1,30 @@
<!DOCTYPE html>
<html>
-<head>
- <title>Testing BaseAudioContext 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 BaseAudioContext 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(BaseAudioContext.prototype,
- BaseAudioContextOwnProperties,
- 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(
+ BaseAudioContext.prototype, BaseAudioContextOwnProperties, should);
+ task.done();
+ });
- audit.run();
- </script>
-</body>
+ audit.run();
+ </script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698