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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/internals/audiocontext-lock-threading-race.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/internals/audiocontext-lock-threading-race.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/internals/audiocontext-lock-threading-race.html b/third_party/WebKit/LayoutTests/webaudio/internals/audiocontext-lock-threading-race.html
index f55791e852472c3b8507b89f1b0758ab60637bad..19c139b9c09e2c0800041665a12cc342a58b2376 100644
--- a/third_party/WebKit/LayoutTests/webaudio/internals/audiocontext-lock-threading-race.html
+++ b/third_party/WebKit/LayoutTests/webaudio/internals/audiocontext-lock-threading-race.html
@@ -1,13 +1,22 @@
-<body>
-<script src="../../resources/js-test.js"></script>
-<script>
-description("TSan shouldn't complain about threading races of AudioContext::lock().");
-var jsTestAsync = true;
-var ac = new window.AudioContext();
-ac.createMediaStreamDestination();
-setTimeout(function() {
- gc();
- finishJSTest();
-}, 200);
-</script>
-</body>
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>
+ audiocontext-lock-threading-race.html
+ </title>
+ <script src="../../resources/js-test.js"></script>
+ </head>
+ <body>
+ <script id="layout-test-code">
+ description(
+ 'TSan shouldn\'t complain about threading races of AudioContext::lock().');
+ let jsTestAsync = true;
+ let ac = new window.AudioContext();
+ ac.createMediaStreamDestination();
+ setTimeout(function() {
+ gc();
+ finishJSTest();
+ }, 200);
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698