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

Unified Diff: LayoutTests/webmidi/send_messages.html

Issue 555683003: MIDI{Input, Output}Map[Symbol.iterator]() should return entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 dc0ca2cf70235a5cfec2120888761ace2ca16ea4..7343268792718132e33eec006d5a129d182fc66f 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[Symbol.iterator]().next().value;
+ output = a.outputs.values().next().value;
// Note on(off).
output.send([0xff, 0x90, 0x00, 0x00, 0x90, 0x07, 0x00]);

Powered by Google App Engine
This is Rietveld 408576698