Index: LayoutTests/webmidi/requestmidiaccess.html |
diff --git a/LayoutTests/webmidi/requestmidiaccess.html b/LayoutTests/webmidi/requestmidiaccess.html |
index 6ec8bd07b6711eb1387fc35dc1b0af5ae6fcf079..5d3059982c9f098a005c305dead0241c4d98e73b 100644 |
--- a/LayoutTests/webmidi/requestmidiaccess.html |
+++ b/LayoutTests/webmidi/requestmidiaccess.html |
@@ -20,6 +20,10 @@ function checkInputMap(inputs) { |
shouldBeEqualToString("input.manufacturer", "MockInputManufacturer"); |
shouldBeEqualToString("input.name", "MockInputName"); |
shouldBeEqualToString("input.version", "MockInputVersion"); |
+ // FIXME: Once Web MIDI introduces open(), the initial state will be |
+ // changed to "connected". |
+ shouldBeEqualToString("input.state", "opened"); |
+ shouldBeEqualToString("input.type", "input"); |
} |
debug("for (var input of inputs.keys())"); |
for (var key of inputs.keys()) { |
@@ -62,6 +66,10 @@ function checkOutputMap(outputs) { |
shouldBeEqualToString("output.manufacturer", "MockOutputManufacturer"); |
shouldBeEqualToString("output.name", "MockOutputName"); |
shouldBeEqualToString("output.version", "MockOutputVersion"); |
+ // FIXME: Once Web MIDI introduces open(), the initial state will be |
+ // changed to "connected". |
+ shouldBeEqualToString("output.state", "opened"); |
+ shouldBeEqualToString("output.type", "output"); |
} |
debug("for (var output of outputs.keys())"); |
for (var key of outputs.keys()) { |