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

Unified Diff: LayoutTests/webmidi/requestmidiaccess.html

Issue 962523005: Web MIDI: add open() and close() to MIDIPort (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #14 Created 5 years, 10 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
« no previous file with comments | « LayoutTests/webmidi/open_close-expected.txt ('k') | LayoutTests/webmidi/requestmidiaccess-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webmidi/requestmidiaccess.html
diff --git a/LayoutTests/webmidi/requestmidiaccess.html b/LayoutTests/webmidi/requestmidiaccess.html
index 5d3059982c9f098a005c305dead0241c4d98e73b..72b004fbd6078d5798373ccd8e3e28607c282a45 100644
--- a/LayoutTests/webmidi/requestmidiaccess.html
+++ b/LayoutTests/webmidi/requestmidiaccess.html
@@ -20,9 +20,7 @@ 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.state", "connected");
shouldBeEqualToString("input.type", "input");
}
debug("for (var input of inputs.keys())");
@@ -66,9 +64,7 @@ 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.state", "connected");
shouldBeEqualToString("output.type", "output");
}
debug("for (var output of outputs.keys())");
« no previous file with comments | « LayoutTests/webmidi/open_close-expected.txt ('k') | LayoutTests/webmidi/requestmidiaccess-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698