| Index: third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html b/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
|
| index d87d5a40931e0d947a08fd519683fd71a66c4696..0631a3904ebad78c681b6d488834266bf9fcae15 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
|
| @@ -11,7 +11,6 @@ description("This tests the constructor for the MIDIMessageEvent DOM class.");
|
| // No initializer is passed.
|
| shouldBe("new MIDIMessageEvent('eventType').bubbles", "false");
|
| shouldBe("new MIDIMessageEvent('eventType').cancelable", "false");
|
| -shouldBe("new MIDIMessageEvent('eventType').receivedTime", "0.0");
|
| shouldBe("new MIDIMessageEvent('eventType').data", "null");
|
|
|
| // bubbles is passed.
|
| @@ -22,19 +21,15 @@ shouldBe("new MIDIMessageEvent('eventType', { bubbles: true }).bubbles", "true")
|
| shouldBe("new MIDIMessageEvent('eventType', { cancelable: false }).cancelable", "false");
|
| shouldBe("new MIDIMessageEvent('eventType', { cancelable: true }).cancelable", "true");
|
|
|
| -// receivedTime is passed.
|
| -shouldBe("new MIDIMessageEvent('eventType', { receivedTime: 3.14 }).receivedTime", "3.14");
|
| -
|
| // data is passed.
|
| var data = new Uint8Array(16);
|
| shouldEvaluateTo("new MIDIMessageEvent('eventType', { data: data }).data", data);
|
|
|
| // All initializers are passed.
|
| data = new Uint8Array(3);
|
| -shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receivedTime: 1976.0501, data: data }).bubbles", "true");
|
| -shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receivedTime: 1976.0501, data: data }).cancelable", "true");
|
| -shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receivedTime: 1976.0501, data: data }).receivedTime", "1976.0501");
|
| -shouldEvaluateTo("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, receivedTime: 1976.0501, data: data }).data", data);
|
| +shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).bubbles", "true");
|
| +shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).cancelable", "true");
|
| +shouldEvaluateTo("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).data", data);
|
|
|
| </script>
|
| </body>
|
|
|