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

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

Issue 807263007: IDL: Add forEach() method to iterable<>/maplike<>/setlike<> interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adjust test expectations Created 5 years, 10 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/bindings/scripts/idl_definitions.py » ('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 for (var input of inputs.keys()) 16 for (var input of inputs.keys())
17 PASS inputKey is "MockInputID" 17 PASS inputKey is "MockInputID"
18 for (var input of inputs.entries()) 18 for (var input of inputs.entries())
19 PASS entry[0] is inputKey 19 PASS entry[0] is inputKey
20 PASS entry[1] is input 20 PASS entry[1] is input
21 for (var input of inputs) 21 for (var input of inputs)
22 PASS entry[0] is inputKey 22 PASS entry[0] is inputKey
23 PASS entry[1] is input 23 PASS entry[1] is input
24 PASS inputs.has('MockInputID') is true 24 PASS inputs.has('MockInputID') is true
25 PASS inputs.has('MockOutputID') is false 25 PASS inputs.has('MockOutputID') is false
26 PASS inputs.get('MockInputID') is input 26 PASS inputs.get('MockInputID') is input
27 PASS inputs.get('MockOutputID') is undefined. 27 PASS inputs.get('MockOutputID') is undefined.
28 inputs.forEach(...)
29 PASS forEachInput is input
30 PASS forEachInputKey is inputKey
31 PASS forEachMap is inputs
28 for (var output of outputs.values()) 32 for (var output of outputs.values())
29 PASS output.id is "MockOutputID" 33 PASS output.id is "MockOutputID"
30 PASS output.manufacturer is "MockOutputManufacturer" 34 PASS output.manufacturer is "MockOutputManufacturer"
31 PASS output.name is "MockOutputName" 35 PASS output.name is "MockOutputName"
32 PASS output.version is "MockOutputVersion" 36 PASS output.version is "MockOutputVersion"
33 for (var output of outputs.keys()) 37 for (var output of outputs.keys())
34 PASS outputKey is "MockOutputID" 38 PASS outputKey is "MockOutputID"
35 for (var output of outputs.entries()) 39 for (var output of outputs.entries())
36 PASS entry[0] is outputKey 40 PASS entry[0] is outputKey
37 PASS entry[1] is output 41 PASS entry[1] is output
38 for (var output of outputs) 42 for (var output of outputs)
39 PASS entry[0] is outputKey 43 PASS entry[0] is outputKey
40 PASS entry[1] is output 44 PASS entry[1] is output
41 PASS outputs.has('MockOutputID') is true 45 PASS outputs.has('MockOutputID') is true
42 PASS outputs.has('MockInputID') is false 46 PASS outputs.has('MockInputID') is false
43 PASS outputs.get('MockOutputID') is output 47 PASS outputs.get('MockOutputID') is output
44 PASS outputs.get('MockInputID') is undefined. 48 PASS outputs.get('MockInputID') is undefined.
49 outputs.forEach(...)
50 PASS forEachOutput is output
51 PASS forEachOutputKey is outputKey
52 PASS forEachMap is outputs
45 PASS a note on message is sent without timestamp 53 PASS a note on message is sent without timestamp
46 PASS a note on message is sent with timestamp 54 PASS a note on message is sent with timestamp
47 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.. 55 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..
48 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).. 56 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)..
49 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError]. 57 PASS requestMIDIAccess() was correctly blocked for System Exclusive access with error [object DOMError].
50 PASS successfullyParsed is true 58 PASS successfullyParsed is true
51 59
52 TEST COMPLETE 60 TEST COMPLETE
53 61
OLDNEW
« no previous file with comments | « LayoutTests/webmidi/requestmidiaccess.html ('k') | Source/bindings/scripts/idl_definitions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698