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

Unified Diff: LayoutTests/webmidi/permission.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 | « no previous file | LayoutTests/webmidi/permission-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webmidi/permission.html
diff --git a/LayoutTests/webmidi/permission.html b/LayoutTests/webmidi/permission.html
index 60c9e31eb2c68d341f1a1fc68c8a315cd393ee83..32946146a919b2663a4ef80921d509b66e81d345 100644
--- a/LayoutTests/webmidi/permission.html
+++ b/LayoutTests/webmidi/permission.html
@@ -9,7 +9,6 @@
description("Test if sysex permission request is handled.");
shouldBeDefined("testRunner.setPermission");
-shouldBeDefined("testRunner.setMIDISysexPermission");
shouldBeDefined("navigator.requestMIDIAccess");
window.jsTestIsAsync = true;
@@ -21,7 +20,6 @@ var finishSuccessfully = function () {
var rejectSysex = function (next) {
testRunner.setPermission('midi-sysex', 'denied', location.origin, location.origin);
- testRunner.setMIDISysexPermission(false);
promise = navigator.requestMIDIAccess({sysex: true});
shouldBeDefined("promise");
shouldBeDefined("promise.then");
@@ -39,7 +37,6 @@ var rejectSysex = function (next) {
var acceptSysex = function (next) {
testRunner.setPermission('midi-sysex', 'granted', location.origin, location.origin);
- testRunner.setMIDISysexPermission(true);
promise = navigator.requestMIDIAccess({sysex: true});
shouldBeDefined("promise");
shouldBeDefined("promise.then");
« no previous file with comments | « no previous file | LayoutTests/webmidi/permission-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698