1 Test if midimessage event handler work.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS navigator.requestMIDIAccess is defined.
7 running test with useAddEventListener = false
8 receiving data 0: 128,0,0
9 PASS actual is expected
10 receiving data 1: 144,0,0
11 PASS actual is expected
12 receiving data 2: 160,0,0
13 PASS actual is expected
14 receiving data 3: 176,0,0
15 PASS actual is expected
16 receiving data 4: 192,0
17 PASS actual is expected
18 receiving data 5: 208,0
19 PASS actual is expected
20 receiving data 6: 224,0,0
21 PASS actual is expected
23 PASS actual is expected
25 PASS actual is expected
27 PASS actual is expected
28 receiving data 10: 252
29 PASS actual is expected
30 receiving data 11: 254
31 PASS actual is expected
32 receiving data 12: 255
33 PASS actual is expected
34 receiving data 13: 240,0,1,2,3,247
35 PASS actual is expected
36 receiving data 14: 240,248,247
37 PASS actual is expected
38 running test with useAddEventListener = true
39 receiving data 0: 128,0,0
40 PASS actual is expected
41 receiving data 1: 144,0,0
42 PASS actual is expected
43 receiving data 2: 160,0,0
44 PASS actual is expected
45 receiving data 3: 176,0,0
46 PASS actual is expected
47 receiving data 4: 192,0
48 PASS actual is expected
49 receiving data 5: 208,0
50 PASS actual is expected
51 receiving data 6: 224,0,0
52 PASS actual is expected
54 PASS actual is expected
56 PASS actual is expected
58 PASS actual is expected
59 receiving data 10: 252
60 PASS actual is expected
61 receiving data 11: 254
62 PASS actual is expected
63 receiving data 12: 255
64 PASS actual is expected
65 receiving data 13: 240,0,1,2,3,247
66 PASS actual is expected
67 receiving data 14: 240,248,247
68 PASS actual is expected
69 PASS successfullyParsed is true