| OLD | NEW |
| 1 Tests navigator.requestMIDIAccess. | 1 Tests navigator.requestMIDIAccess. |
| 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 PASS access.sysexEnabled is defined. | 8 PASS access.sysexEnabled is defined. |
| 9 PASS access.sysexEnabled is false | 9 PASS access.sysexEnabled is false |
| 10 PASS access.inputs.size is 1 | 10 PASS access.inputs.size is 1 |
| 11 PASS access.outputs.size is 1 | 11 PASS access.outputs.size is 1 |
| 12 for (var input of inputs.values()) | 12 for (var input of inputs.values()) |
| 13 PASS input.id is "MockInputID" | 13 PASS input.id is "MockInputID-0" |
| 14 PASS input.manufacturer is "MockInputManufacturer" | 14 PASS input.manufacturer is "MockInputManufacturer" |
| 15 PASS input.name is "MockInputName" | 15 PASS input.name is "MockInputName" |
| 16 PASS input.version is "MockInputVersion" | 16 PASS input.version is "MockInputVersion" |
| 17 PASS input.state is "connected" | 17 PASS input.state is "connected" |
| 18 PASS input.type is "input" | 18 PASS input.type is "input" |
| 19 for (var input of inputs.keys()) | 19 for (var input of inputs.keys()) |
| 20 PASS inputKey is "MockInputID" | 20 PASS inputKey is "MockInputID-0" |
| 21 for (var input of inputs.entries()) | 21 for (var input of inputs.entries()) |
| 22 PASS entry[0] is inputKey | 22 PASS entry[0] is inputKey |
| 23 PASS entry[1] is input | 23 PASS entry[1] is input |
| 24 for (var input of inputs) | 24 for (var input of inputs) |
| 25 PASS entry[0] is inputKey | 25 PASS entry[0] is inputKey |
| 26 PASS entry[1] is input | 26 PASS entry[1] is input |
| 27 PASS inputs.has('MockInputID') is true | 27 PASS inputs.has('MockInputID-0') is true |
| 28 PASS inputs.has('MockOutputID') is false | 28 PASS inputs.has('MockOutputID-0') is false |
| 29 PASS inputs.get('MockInputID') is input | 29 PASS inputs.get('MockInputID-0') is input |
| 30 PASS inputs.get('MockOutputID') is undefined. | 30 PASS inputs.get('MockOutputID-0') is undefined. |
| 31 inputs.forEach(...) | 31 inputs.forEach(...) |
| 32 PASS forEachInput is input | 32 PASS forEachInput is input |
| 33 PASS forEachInputKey is inputKey | 33 PASS forEachInputKey is inputKey |
| 34 PASS forEachMap is inputs | 34 PASS forEachMap is inputs |
| 35 for (var output of outputs.values()) | 35 for (var output of outputs.values()) |
| 36 PASS output.id is "MockOutputID" | 36 PASS output.id is "MockOutputID-0" |
| 37 PASS output.manufacturer is "MockOutputManufacturer" | 37 PASS output.manufacturer is "MockOutputManufacturer" |
| 38 PASS output.name is "MockOutputName" | 38 PASS output.name is "MockOutputName" |
| 39 PASS output.version is "MockOutputVersion" | 39 PASS output.version is "MockOutputVersion" |
| 40 PASS output.state is "connected" | 40 PASS output.state is "connected" |
| 41 PASS output.type is "output" | 41 PASS output.type is "output" |
| 42 for (var output of outputs.keys()) | 42 for (var output of outputs.keys()) |
| 43 PASS outputKey is "MockOutputID" | 43 PASS outputKey is "MockOutputID-0" |
| 44 for (var output of outputs.entries()) | 44 for (var output of outputs.entries()) |
| 45 PASS entry[0] is outputKey | 45 PASS entry[0] is outputKey |
| 46 PASS entry[1] is output | 46 PASS entry[1] is output |
| 47 for (var output of outputs) | 47 for (var output of outputs) |
| 48 PASS entry[0] is outputKey | 48 PASS entry[0] is outputKey |
| 49 PASS entry[1] is output | 49 PASS entry[1] is output |
| 50 PASS outputs.has('MockOutputID') is true | 50 PASS outputs.has('MockOutputID-0') is true |
| 51 PASS outputs.has('MockInputID') is false | 51 PASS outputs.has('MockInputID-0') is false |
| 52 PASS outputs.get('MockOutputID') is output | 52 PASS outputs.get('MockOutputID-0') is output |
| 53 PASS outputs.get('MockInputID') is undefined. | 53 PASS outputs.get('MockInputID-0') is undefined. |
| 54 outputs.forEach(...) | 54 outputs.forEach(...) |
| 55 PASS forEachOutput is output | 55 PASS forEachOutput is output |
| 56 PASS forEachOutputKey is outputKey | 56 PASS forEachOutputKey is outputKey |
| 57 PASS forEachMap is outputs | 57 PASS forEachMap is outputs |
| 58 PASS a note on message is sent without timestamp | 58 PASS a note on message is sent without timestamp |
| 59 PASS a note on message is sent with timestamp | 59 PASS a note on message is sent with timestamp |
| 60 PASS output.send([0xfff, 0x45, 0x7f]) threw exception TypeError: Failed to execu
te 'send' on 'MIDIOutput': The value at index 0 (4095) is greater than 0xFF.. | 60 PASS output.send([0xfff, 0x45, 0x7f]) threw exception TypeError: Failed to execu
te 'send' on 'MIDIOutput': The value at index 0 (4095) is greater than 0xFF.. |
| 61 PASS output.send([0xf0, 0x45, 0xf7]) threw exception InvalidAccessError: Failed
to execute 'send' on 'MIDIOutput': System exclusive message is not allowed at in
dex 0 (240).. | 61 PASS output.send([0xf0, 0x45, 0xf7]) threw exception InvalidAccessError: Failed
to execute 'send' on 'MIDIOutput': System exclusive message is not allowed at in
dex 0 (240).. |
| 62 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with
error SecurityError: An attempt was made to break through the security policy of
the user agent.. | 62 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with
error SecurityError: An attempt was made to break through the security policy of
the user agent.. |
| 63 PASS successfullyParsed is true | 63 PASS successfullyParsed is true |
| 64 | 64 |
| 65 TEST COMPLETE | 65 TEST COMPLETE |
| 66 | 66 |
| OLD | NEW |