OLD | NEW |
1 <!doctype html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test Constructor: AudioBuffer</title> | 4 <title> |
| 5 Test Constructor: AudioBuffer |
| 6 </title> |
5 <script src="../../resources/testharness.js"></script> | 7 <script src="../../resources/testharness.js"></script> |
6 <script src="../../resources/testharnessreport.js"></script> | 8 <script src="../../resources/testharnessreport.js"></script> |
7 <script src="../resources/audit-util.js"></script> | 9 <script src="../resources/audit-util.js"></script> |
8 <script src="../resources/audit.js"></script> | 10 <script src="../resources/audit.js"></script> |
9 <script src="audionodeoptions.js"></script> | 11 <script src="audionodeoptions.js"></script> |
10 </head> | 12 </head> |
11 | |
12 <body> | 13 <body> |
13 <script> | 14 <script id="layout-test-code"> |
14 let context; | 15 let context; |
15 | 16 |
16 let audit = Audit.createTaskRunner(); | 17 let audit = Audit.createTaskRunner(); |
17 | 18 |
18 audit.define('initialize', (task, should) => { | 19 audit.define('initialize', (task, should) => { |
19 context = initializeContext(should); | 20 context = initializeContext(should); |
20 task.done(); | 21 task.done(); |
21 }); | 22 }); |
22 | 23 |
23 audit.define('invalid constructor', (task, should) => { | 24 audit.define('invalid constructor', (task, should) => { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 'AudioBuffer shared between two different contexts') | 221 'AudioBuffer shared between two different contexts') |
221 .message('correctly', 'incorrectly'); | 222 .message('correctly', 'incorrectly'); |
222 task.done(); | 223 task.done(); |
223 }); | 224 }); |
224 }); | 225 }); |
225 | 226 |
226 audit.run(); | 227 audit.run(); |
227 </script> | 228 </script> |
228 </body> | 229 </body> |
229 </html> | 230 </html> |
OLD | NEW |