Chromium Code Reviews| 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 navigator.requestMIDIAccess().then(successCallback1, errorCallback1) did no t throw exception. | 6 PASS navigator.requestMIDIAccess().then(successCallback1, errorCallback1) did no t throw exception. |
| 7 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. | 7 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. |
| 8 PASS access.inputs().length is 1 | 8 PASS access.inputs().length is 1 |
| 9 PASS access.outputs().length is 1 | 9 PASS access.outputs().length is 1 |
| 10 PASS input attributes are correct | 10 PASS input attributes are correct |
| 11 PASS output attributes are correct | 11 PASS output attributes are correct |
| 12 PASS output.send([0xf1, 0x45, 0x7f]) threw exception SecurityError: Failed to ex ecute 'send' on 'MIDIOutput': permission to send system exclusive messages is de nied.. | 12 PASS output.send([0xf1, 0x45, 0x7f]) threw exception SecurityError: Failed to ex ecute 'send' on 'MIDIOutput': permission to send system exclusive messages is de nied.. |
| 13 PASS navigator.requestMIDIAccess({sysex: true}).then(successCallback2, errorCall back2) did not throw exception. | |
|
Takashi Toyoshima
2013/12/03 10:48:50
Hum... I'm not sure why this line is changed by th
yhirano
2013/12/03 12:14:16
Maybe it's because Blink Promise calls onFulfill /
| |
| 13 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. | 14 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. |
| 14 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 15 | 16 |
| 16 TEST COMPLETE | 17 TEST COMPLETE |
| 17 | 18 |
| OLD | NEW |