Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: LayoutTests/webmidi/requestmidiaccess-expected.txt

Issue 77773003: Make WebMIDI use blink Promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.
7 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. 6 PASS requestMIDIAccess() succeeded with access [object MIDIAccess].
8 PASS access.inputs().length is 1 7 PASS access.inputs().length is 1
9 PASS access.outputs().length is 1 8 PASS access.outputs().length is 1
10 PASS input attributes are correct 9 PASS input attributes are correct
11 PASS output attributes are correct 10 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.. 11 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 requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. 12 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError].
14 PASS successfullyParsed is true 13 PASS successfullyParsed is true
15 14
16 TEST COMPLETE 15 TEST COMPLETE
17 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698