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

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

Issue 962523005: Web MIDI: add open() and close() to MIDIPort (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #14 Created 5 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
« no previous file with comments | « LayoutTests/webmidi/requestmidiaccess.html ('k') | Source/modules/webmidi/MIDIAccess.h » ('j') | no next file with comments »
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 requestMIDIAccess() succeeded with access [object MIDIAccess]. 6 PASS requestMIDIAccess() succeeded with access [object MIDIAccess].
7 PASS access.sysexEnabled is defined. 7 PASS access.sysexEnabled is defined.
8 PASS access.sysexEnabled is false 8 PASS access.sysexEnabled is false
9 PASS access.inputs.size is 1 9 PASS access.inputs.size is 1
10 PASS access.outputs.size is 1 10 PASS access.outputs.size is 1
11 for (var input of inputs.values()) 11 for (var input of inputs.values())
12 PASS input.id is "MockInputID" 12 PASS input.id is "MockInputID"
13 PASS input.manufacturer is "MockInputManufacturer" 13 PASS input.manufacturer is "MockInputManufacturer"
14 PASS input.name is "MockInputName" 14 PASS input.name is "MockInputName"
15 PASS input.version is "MockInputVersion" 15 PASS input.version is "MockInputVersion"
16 PASS input.state is "opened" 16 PASS input.state is "connected"
17 PASS input.type is "input" 17 PASS input.type is "input"
18 for (var input of inputs.keys()) 18 for (var input of inputs.keys())
19 PASS inputKey is "MockInputID" 19 PASS inputKey is "MockInputID"
20 for (var input of inputs.entries()) 20 for (var input of inputs.entries())
21 PASS entry[0] is inputKey 21 PASS entry[0] is inputKey
22 PASS entry[1] is input 22 PASS entry[1] is input
23 for (var input of inputs) 23 for (var input of inputs)
24 PASS entry[0] is inputKey 24 PASS entry[0] is inputKey
25 PASS entry[1] is input 25 PASS entry[1] is input
26 PASS inputs.has('MockInputID') is true 26 PASS inputs.has('MockInputID') is true
27 PASS inputs.has('MockOutputID') is false 27 PASS inputs.has('MockOutputID') is false
28 PASS inputs.get('MockInputID') is input 28 PASS inputs.get('MockInputID') is input
29 PASS inputs.get('MockOutputID') is undefined. 29 PASS inputs.get('MockOutputID') is undefined.
30 inputs.forEach(...) 30 inputs.forEach(...)
31 PASS forEachInput is input 31 PASS forEachInput is input
32 PASS forEachInputKey is inputKey 32 PASS forEachInputKey is inputKey
33 PASS forEachMap is inputs 33 PASS forEachMap is inputs
34 for (var output of outputs.values()) 34 for (var output of outputs.values())
35 PASS output.id is "MockOutputID" 35 PASS output.id is "MockOutputID"
36 PASS output.manufacturer is "MockOutputManufacturer" 36 PASS output.manufacturer is "MockOutputManufacturer"
37 PASS output.name is "MockOutputName" 37 PASS output.name is "MockOutputName"
38 PASS output.version is "MockOutputVersion" 38 PASS output.version is "MockOutputVersion"
39 PASS output.state is "opened" 39 PASS output.state is "connected"
40 PASS output.type is "output" 40 PASS output.type is "output"
41 for (var output of outputs.keys()) 41 for (var output of outputs.keys())
42 PASS outputKey is "MockOutputID" 42 PASS outputKey is "MockOutputID"
43 for (var output of outputs.entries()) 43 for (var output of outputs.entries())
44 PASS entry[0] is outputKey 44 PASS entry[0] is outputKey
45 PASS entry[1] is output 45 PASS entry[1] is output
46 for (var output of outputs) 46 for (var output of outputs)
47 PASS entry[0] is outputKey 47 PASS entry[0] is outputKey
48 PASS entry[1] is output 48 PASS entry[1] is output
49 PASS outputs.has('MockOutputID') is true 49 PASS outputs.has('MockOutputID') is true
50 PASS outputs.has('MockInputID') is false 50 PASS outputs.has('MockInputID') is false
51 PASS outputs.get('MockOutputID') is output 51 PASS outputs.get('MockOutputID') is output
52 PASS outputs.get('MockInputID') is undefined. 52 PASS outputs.get('MockInputID') is undefined.
53 outputs.forEach(...) 53 outputs.forEach(...)
54 PASS forEachOutput is output 54 PASS forEachOutput is output
55 PASS forEachOutputKey is outputKey 55 PASS forEachOutputKey is outputKey
56 PASS forEachMap is outputs 56 PASS forEachMap is outputs
57 PASS a note on message is sent without timestamp 57 PASS a note on message is sent without timestamp
58 PASS a note on message is sent with timestamp 58 PASS a note on message is sent with timestamp
59 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.. 59 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([0xf0, 0x45, 0xf7]) threw exception InvalidAccessError: Failed to execute 'send' on 'MIDIOutput': System exclusive message is not allowed at in dex 0 (240).. 60 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 requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. 61 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError].
62 PASS successfullyParsed is true 62 PASS successfullyParsed is true
63 63
64 TEST COMPLETE 64 TEST COMPLETE
65 65
OLDNEW
« no previous file with comments | « LayoutTests/webmidi/requestmidiaccess.html ('k') | Source/modules/webmidi/MIDIAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698