Index: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/events/constructors/midi-message-event-constructor-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/events/constructors/midi-message-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/events/constructors/midi-message-event-constructor-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14b8b2b9909df4f07d3afef09930e66bff1bf2e7 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/events/constructors/midi-message-event-constructor-expected.txt |
@@ -0,0 +1,21 @@ |
+This tests the constructor for the MIDIMessageEvent DOM class. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS new MIDIMessageEvent('eventType').bubbles is false |
+PASS new MIDIMessageEvent('eventType').cancelable is false |
+PASS new MIDIMessageEvent('eventType').data is null |
+PASS new MIDIMessageEvent('eventType', { bubbles: false }).bubbles is false |
+PASS new MIDIMessageEvent('eventType', { bubbles: true }).bubbles is true |
+PASS new MIDIMessageEvent('eventType', { cancelable: false }).cancelable is false |
+PASS new MIDIMessageEvent('eventType', { cancelable: true }).cancelable is true |
+PASS new MIDIMessageEvent('eventType', { data: data }).data == '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0' is true |
+PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).bubbles is true |
+PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).cancelable is true |
+PASS new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).data == '0,0,0' is true |
+PASS new MIDIMessageEvent('eventType', { data: data }) threw exception TypeError: Failed to construct 'MIDIMessageEvent': The provided ArrayBufferView value must not be shared.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |