| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"> | 4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"> |
| 5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 description("Tests navigator.requestMIDIAccess."); | 9 description("Tests navigator.requestMIDIAccess."); |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 testPassed("requestMIDIAccess() was correctly blocked for System Exclusive a
ccess with error " + error + "."); | 74 testPassed("requestMIDIAccess() was correctly blocked for System Exclusive a
ccess with error " + error + "."); |
| 75 finishJSTest(); | 75 finishJSTest(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 window.jsTestIsAsync = true; | 78 window.jsTestIsAsync = true; |
| 79 | 79 |
| 80 // Test basic access, with no System Exclusive. | 80 // Test basic access, with no System Exclusive. |
| 81 shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallba
ck1)"); | 81 shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallba
ck1)"); |
| 82 | 82 |
| 83 </script> | 83 </script> |
| 84 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 85 </body> | 84 </body> |
| 86 </html> | 85 </html> |
| OLD | NEW |