Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webmidi / send_messages.html
index 3817d03..7343268 100644 (file)
@@ -16,7 +16,7 @@ window.jsTestIsAsync = true;
 testRunner.setMIDISysexPermission(true);
 
 navigator.requestMIDIAccess({sysex: true}).then(function (a) {
-    output = a.outputs()[0];
+    output = a.outputs.values().next().value;
 
     // Note on(off).
     output.send([0xff, 0x90, 0x00, 0x00, 0x90, 0x07, 0x00]);