| OLD | NEW |
| 1 Tests MIDIPort.open and MIDIPort.close. | 1 Tests MIDIPort.open and MIDIPort.close. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS PermissionsHelper.setPermission is defined. | 6 PASS PermissionsHelper.setPermission is defined. |
| 7 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. | 7 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. |
| 8 Check state transition for close on closed state. | 8 Check state transition for close on closed state. |
| 9 - check initial state. | 9 - check initial state. |
| 10 PASS port.connection is "closed" | 10 PASS port.connection is "closed" |
| 11 - check callback arguments. | 11 - check callback arguments. |
| 12 PASS callback is called with port [object MIDIInput]. | 12 PASS callback is called with port [object MIDIInput]. |
| 13 PASS callbackport.id is "MockInputID" | 13 PASS callbackport.id is "MockInputID-0" |
| 14 PASS callbackport.connection is "closed" | 14 PASS callbackport.connection is "closed" |
| 15 - check final state. | 15 - check final state. |
| 16 PASS port.connection is "closed" | 16 PASS port.connection is "closed" |
| 17 Check state transition for open on closed state. | 17 Check state transition for open on closed state. |
| 18 - check initial state. | 18 - check initial state. |
| 19 PASS port.connection is "closed" | 19 PASS port.connection is "closed" |
| 20 - check port handler. | 20 - check port handler. |
| 21 PASS handler is called with port [object MIDIInput]. | 21 PASS handler is called with port [object MIDIInput]. |
| 22 PASS eventport.id is "MockInputID" | 22 PASS eventport.id is "MockInputID-0" |
| 23 PASS eventport.connection is "open" | 23 PASS eventport.connection is "open" |
| 24 - check access handler. | 24 - check access handler. |
| 25 PASS handler is called with port [object MIDIInput]. | 25 PASS handler is called with port [object MIDIInput]. |
| 26 PASS eventport.id is "MockInputID" | 26 PASS eventport.id is "MockInputID-0" |
| 27 PASS eventport.connection is "open" | 27 PASS eventport.connection is "open" |
| 28 - check callback arguments. | 28 - check callback arguments. |
| 29 PASS callback is called with port [object MIDIInput]. | 29 PASS callback is called with port [object MIDIInput]. |
| 30 PASS callbackport.id is "MockInputID" | 30 PASS callbackport.id is "MockInputID-0" |
| 31 PASS callbackport.connection is "open" | 31 PASS callbackport.connection is "open" |
| 32 - check final state. | 32 - check final state. |
| 33 PASS port.connection is "open" | 33 PASS port.connection is "open" |
| 34 Check state transition for open on open state. | 34 Check state transition for open on open state. |
| 35 - check initial state. | 35 - check initial state. |
| 36 PASS port.connection is "open" | 36 PASS port.connection is "open" |
| 37 - check callback arguments. | 37 - check callback arguments. |
| 38 PASS callback is called with port [object MIDIInput]. | 38 PASS callback is called with port [object MIDIInput]. |
| 39 PASS callbackport.id is "MockInputID" | 39 PASS callbackport.id is "MockInputID-0" |
| 40 PASS callbackport.connection is "open" | 40 PASS callbackport.connection is "open" |
| 41 - check final state. | 41 - check final state. |
| 42 PASS port.connection is "open" | 42 PASS port.connection is "open" |
| 43 Check state transition for close on open state. | 43 Check state transition for close on open state. |
| 44 - check initial state. | 44 - check initial state. |
| 45 PASS port.connection is "open" | 45 PASS port.connection is "open" |
| 46 - check port handler. | 46 - check port handler. |
| 47 PASS handler is called with port [object MIDIInput]. | 47 PASS handler is called with port [object MIDIInput]. |
| 48 PASS eventport.id is "MockInputID" | 48 PASS eventport.id is "MockInputID-0" |
| 49 PASS eventport.connection is "closed" | 49 PASS eventport.connection is "closed" |
| 50 - check access handler. | 50 - check access handler. |
| 51 PASS handler is called with port [object MIDIInput]. | 51 PASS handler is called with port [object MIDIInput]. |
| 52 PASS eventport.id is "MockInputID" | 52 PASS eventport.id is "MockInputID-0" |
| 53 PASS eventport.connection is "closed" | 53 PASS eventport.connection is "closed" |
| 54 - check callback arguments. | 54 - check callback arguments. |
| 55 PASS callback is called with port [object MIDIInput]. | 55 PASS callback is called with port [object MIDIInput]. |
| 56 PASS callbackport.id is "MockInputID" | 56 PASS callbackport.id is "MockInputID-0" |
| 57 PASS callbackport.connection is "closed" | 57 PASS callbackport.connection is "closed" |
| 58 - check final state. | 58 - check final state. |
| 59 PASS port.connection is "closed" | 59 PASS port.connection is "closed" |
| 60 PASS successfullyParsed is true | 60 PASS successfullyParsed is true |
| 61 | 61 |
| 62 TEST COMPLETE | 62 TEST COMPLETE |
| 63 | 63 |
| OLD | NEW |