| Index: LayoutTests/webmidi/send_messages.html
|
| diff --git a/LayoutTests/webmidi/send_messages.html b/LayoutTests/webmidi/send_messages.html
|
| index 7343268792718132e33eec006d5a129d182fc66f..4881b783157333fe24762417d85de74934c408fe 100644
|
| --- a/LayoutTests/webmidi/send_messages.html
|
| +++ b/LayoutTests/webmidi/send_messages.html
|
| @@ -91,6 +91,12 @@ navigator.requestMIDIAccess({sysex: true}).then(function (a) {
|
| shouldThrow('output.send([0x80, 0x00, 0x00, 0xf4])');
|
| shouldThrow('output.send([0xf0, 0xff, 0xf4, 0xf7])');
|
|
|
| + // Invalid timestamps.
|
| + shouldThrow('output.send([], NaN)');
|
| + shouldThrow('output.send([], Infinity)');
|
| + shouldThrow('output.send(new Uint8Array(), NaN)');
|
| + shouldThrow('output.send(new Uint8Array(), Infinity)');
|
| +
|
| finishJSTest();
|
| }, function () {
|
| testFailed("requestMIDIAccess() return an error.");
|
|
|