Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: LayoutTests/webmidi/send_messages.html

Issue 513203002: Introduce MIDIInputMap and MIDIOutputMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iterator-adhoc
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]);

Powered by Google App Engine
This is Rietveld 408576698