OLD | NEW |
1 <body> | 1 <!DOCTYPE html> |
2 <script src="../../resources/js-test.js"></script> | 2 <html> |
3 <script> | 3 <head> |
4 description("TSan shouldn't complain about threading races of AudioContext::lock
()."); | 4 <title> |
5 var jsTestAsync = true; | 5 audiocontext-lock-threading-race.html |
6 var ac = new window.AudioContext(); | 6 </title> |
7 ac.createMediaStreamDestination(); | 7 <script src="../../resources/js-test.js"></script> |
8 setTimeout(function() { | 8 </head> |
9 gc(); | 9 <body> |
10 finishJSTest(); | 10 <script id="layout-test-code"> |
11 }, 200); | 11 description( |
12 </script> | 12 'TSan shouldn\'t complain about threading races of AudioContext::lock(
).'); |
13 </body> | 13 let jsTestAsync = true; |
| 14 let ac = new window.AudioContext(); |
| 15 ac.createMediaStreamDestination(); |
| 16 setTimeout(function() { |
| 17 gc(); |
| 18 finishJSTest(); |
| 19 }, 200); |
| 20 </script> |
| 21 </body> |
| 22 </html> |
OLD | NEW |