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

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 6 years, 9 months 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 a note on message is sent without timestamp 11 PASS a note on message is sent without timestamp
13 PASS a note on message is sent with timestamp 12 PASS a note on message is sent with timestamp
14 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.. 13 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..
15 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).. 14 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)..
16 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. 15 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError].
17 PASS successfullyParsed is true 16 PASS successfullyParsed is true
18 17
19 TEST COMPLETE 18 TEST COMPLETE
20 19
OLDNEW
« no previous file with comments | « LayoutTests/webmidi/requestmidiaccess.html ('k') | LayoutTests/webmidi/requestmidiaccess-fail.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698