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/requestmidiaccess.html

Issue 208243014: Add sysexEnabled readonly attribute to MIDIAccess (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/requestmidiaccess.html
diff --git a/LayoutTests/webmidi/requestmidiaccess.html b/LayoutTests/webmidi/requestmidiaccess.html
index 90c6fcefe4ad1cc6fb1276ba765a1c6de40a8fec..1a549ffbddb08d8f5290cac40af7b3a4755b2c83 100644
--- a/LayoutTests/webmidi/requestmidiaccess.html
+++ b/LayoutTests/webmidi/requestmidiaccess.html
@@ -18,6 +18,10 @@ function successCallback1(a) {
shouldBe("access.inputs().length", "1");
shouldBe("access.outputs().length", "1");
+ // Validate the values of the attributes on the access.
+ shouldBeDefined("access.sysexEnabled");
+ shouldBe("access.sysexEnabled", "false");
tkent 2014/03/24 11:52:38 Use shouldBeFalse.
+
var inputs = access.inputs();
var outputs = access.outputs();
var input = inputs[0];

Powered by Google App Engine
This is Rietveld 408576698