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

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
« no previous file with comments | « no previous file | Source/modules/modules.gypi » ('j') | Source/modules/webmidi/MIDIAccess.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. 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
OLDNEW
« no previous file with comments | « no previous file | Source/modules/modules.gypi » ('j') | Source/modules/webmidi/MIDIAccess.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698