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

Unified Diff: LayoutTests/webmidi/send-messages.html

Issue 1097933006: WebMidi: stop using testRunner.setMIDISysexPermision and remove ClientMock. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@midi_testrunner_setpermission
Patch Set: Created 5 years, 8 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/permission-expected.txt ('k') | LayoutTests/webmidi/send-messages-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webmidi/send-messages.html
diff --git a/LayoutTests/webmidi/send-messages.html b/LayoutTests/webmidi/send-messages.html
index bdb6dac086123560608d5a1bb31cebe78211bf47..075b7eb1f548eee09d2452acc945947680ac8dbd 100644
--- a/LayoutTests/webmidi/send-messages.html
+++ b/LayoutTests/webmidi/send-messages.html
@@ -9,13 +9,11 @@
description("Test if various kinds of MIDI messages can be validated.");
shouldBeDefined("testRunner.setPermission");
-shouldBeDefined("testRunner.setMIDISysexPermission");
shouldBeDefined("navigator.requestMIDIAccess");
window.jsTestIsAsync = true;
testRunner.setPermission('midi-sysex', 'granted', location.origin, location.origin);
-testRunner.setMIDISysexPermission(true);
navigator.requestMIDIAccess({sysex: true}).then(function (a) {
output = a.outputs.values().next().value;
« no previous file with comments | « LayoutTests/webmidi/permission-expected.txt ('k') | LayoutTests/webmidi/send-messages-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698