| 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/permissions-helper.js"></script> | 5 <script src="../http/tests/resources/permissions-helper.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 description("Test if various kinds of MIDI messages can be validated."); | 10 description("Test if various kinds of MIDI messages can be validated."); |
| 11 | 11 |
| 12 shouldBeDefined("navigator.requestMIDIAccess"); | 12 shouldBeDefined("navigator.requestMIDIAccess"); |
| 13 | 13 |
| 14 window.jsTestIsAsync = true; | 14 window.jsTestIsAsync = true; |
| 15 | 15 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 shouldThrow('output.send(new Uint8Array(), Infinity)'); | 98 shouldThrow('output.send(new Uint8Array(), Infinity)'); |
| 99 | 99 |
| 100 finishJSTest(); | 100 finishJSTest(); |
| 101 }).catch(function () { | 101 }).catch(function () { |
| 102 testFailed("requestMIDIAccess() return an error."); | 102 testFailed("requestMIDIAccess() return an error."); |
| 103 }); | 103 }); |
| 104 | 104 |
| 105 </script> | 105 </script> |
| 106 </body> | 106 </body> |
| 107 </html> | 107 </html> |
| OLD | NEW |