Index: LayoutTests/webmidi/send_messages.html |
diff --git a/LayoutTests/webmidi/send_messages.html b/LayoutTests/webmidi/send_messages.html |
index 3817d0300a541ead779b1348764f387176994048..dc0ca2cf70235a5cfec2120888761ace2ca16ea4 100644 |
--- a/LayoutTests/webmidi/send_messages.html |
+++ b/LayoutTests/webmidi/send_messages.html |
@@ -16,7 +16,7 @@ window.jsTestIsAsync = true; |
testRunner.setMIDISysexPermission(true); |
navigator.requestMIDIAccess({sysex: true}).then(function (a) { |
- output = a.outputs()[0]; |
+ output = a.outputs[Symbol.iterator]().next().value; |
// Note on(off). |
output.send([0xff, 0x90, 0x00, 0x00, 0x90, 0x07, 0x00]); |