| 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"> | |
| 5 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 6 </head> | 5 </head> |
| 7 <body> | 6 <body> |
| 8 <script> | 7 <script> |
| 9 description("Tests navigator.requestMIDIAccess."); | 8 description("Tests navigator.requestMIDIAccess."); |
| 10 | 9 |
| 11 var access; | 10 var access; |
| 12 var output; | 11 var output; |
| 13 function successCallback1(a) { | 12 function successCallback1(a) { |
| 14 access = a; | 13 access = a; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 75 } |
| 77 | 76 |
| 78 window.jsTestIsAsync = true; | 77 window.jsTestIsAsync = true; |
| 79 | 78 |
| 80 // Test basic access, with no System Exclusive. | 79 // Test basic access, with no System Exclusive. |
| 81 shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallba
ck1)"); | 80 shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallba
ck1)"); |
| 82 | 81 |
| 83 </script> | 82 </script> |
| 84 </body> | 83 </body> |
| 85 </html> | 84 </html> |
| OLD | NEW |