| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test AudioContext.close() closes many contexts</title> | 4 <title>Test AudioContext.close() closes many contexts</title> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <script src="../resources/compatibility.js"></script> | |
| 7 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 8 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 9 </head> | 8 </head> |
| 10 | 9 |
| 11 <body> | 10 <body> |
| 12 <script> | 11 <script> |
| 13 description("Test that closing a context releases the audio HW context"); | 12 description("Test that closing a context releases the audio HW context"); |
| 14 | 13 |
| 15 var context = null; | 14 var context = null; |
| 16 | 15 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // Initiate iteration. | 47 // Initiate iteration. |
| 49 function runTest() { | 48 function runTest() { |
| 50 window.jsTestIsAsync = true; | 49 window.jsTestIsAsync = true; |
| 51 createContextAndClose(); | 50 createContextAndClose(); |
| 52 } | 51 } |
| 53 | 52 |
| 54 runTest(); | 53 runTest(); |
| 55 </script> | 54 </script> |
| 56 </body> | 55 </body> |
| 57 </html> | 56 </html> |
| OLD | NEW |