OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Testing AudioContext properties</title> | 4 <title> |
5 <script src="../../resources/testharness.js"></script> | 5 Testing AudioContext properties |
6 <script src="../../resources/testharnessreport.js"></script> | 6 </title> |
7 <script src="../resources/audit-util.js"></script> | 7 <script src="../../resources/testharness.js"></script> |
8 <script src="../resources/audit.js"></script> | 8 <script src="../../resources/testharnessreport.js"></script> |
9 <script src="../resources/context-properties.js"></script> | 9 <script src="../resources/audit-util.js"></script> |
10 </head> | 10 <script src="../resources/audit.js"></script> |
11 <body> | 11 <script src="../resources/context-properties.js"></script> |
12 <script> | 12 </head> |
13 var audit = Audit.createTaskRunner(); | 13 <body> |
| 14 <script id="layout-test-code"> |
| 15 let audit = Audit.createTaskRunner(); |
14 | 16 |
15 | 17 |
16 // Cross-checking two sets of properties: a programmatically generated set | 18 // Cross-checking two sets of properties: a programmatically generated set |
17 // and a pre-populated set. | 19 // and a pre-populated set. |
18 audit.define('crosschecking-properties', (task, should) => { | 20 audit.define('crosschecking-properties', (task, should) => { |
19 verifyPrototypeOwnProperties(AudioContext.prototype, | 21 verifyPrototypeOwnProperties( |
20 AudioContextOwnProperties, | 22 AudioContext.prototype, AudioContextOwnProperties, should); |
21 should); | 23 task.done(); |
22 task.done(); | 24 }); |
23 }); | |
24 | 25 |
25 audit.run(); | 26 audit.run(); |
26 </script> | 27 </script> |
27 </body> | 28 </body> |
28 </html> | 29 </html> |
OLD | NEW |