OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="resources/compatibility.js"></script> | 5 <script src="../resources/compatibility.js"></script> |
6 <script src="resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
7 <script src="resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
8 </head> | 8 </head> |
9 | 9 |
10 <body> | 10 <body> |
11 <script> | 11 <script> |
12 description('Test OfflineAudioContext.resume() and OfflineAudioContext.sus
pend() with the timed sequence.'); | 12 description('Test OfflineAudioContext.resume() and OfflineAudioContext.sus
pend() with the timed sequence.'); |
13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
14 | 14 |
15 var context; | 15 var context; |
16 | 16 |
17 // The sample rate is multiple of the rendering quantum, so suspension | 17 // The sample rate is multiple of the rendering quantum, so suspension |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 } | 69 } |
70 } | 70 } |
71 | 71 |
72 context.startRendering().then(verifyResult).then(finishJSTest); | 72 context.startRendering().then(verifyResult).then(finishJSTest); |
73 | 73 |
74 successfullyParsed = true; | 74 successfullyParsed = true; |
75 </script> | 75 </script> |
76 | 76 |
77 </body> | 77 </body> |
78 </html> | 78 </html> |
OLD | NEW |