OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 description("Test if sysex permission request is handled."); | 9 description("Test if sysex permission request is handled."); |
10 | 10 |
11 shouldBeDefined("testRunner.setMIDISysExPermission"); | 11 shouldBeDefined("testRunner.setMIDISysExPermission"); |
12 shouldBeDefined("navigator.requestMIDIAccess"); | 12 shouldBeDefined("navigator.requestMIDIAccess"); |
13 | 13 |
14 window.jsTestIsAsync = true; | 14 window.jsTestIsAsync = true; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 testFailed("sysex permission request should be accepted."); | 50 testFailed("sysex permission request should be accepted."); |
51 finishJSTest(); | 51 finishJSTest(); |
52 }); | 52 }); |
53 } | 53 } |
54 | 54 |
55 rejectSysEx(acceptSysEx); | 55 rejectSysEx(acceptSysEx); |
56 | 56 |
57 </script> | 57 </script> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |