| 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>
|
|
|