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

Unified Diff: LayoutTests/webmidi/permission.html

Issue 77773003: Make WebMIDI use blink Promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« 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 201b7a6a17bd58cf583bd413674d434bcf44af35..d2b1625e282c64d2600fcde756e6b6b0c3b7b84f 100644
--- a/LayoutTests/webmidi/permission.html
+++ b/LayoutTests/webmidi/permission.html
@@ -20,7 +20,7 @@ var finishSuccessfully = function () {
var rejectSysEx = function (next) {
testRunner.setMIDISysExPermission(false);
- shouldNotThrow("promise = navigator.requestMIDIAccess({sysex: true})");
+ promise = navigator.requestMIDIAccess({sysex: true});
shouldBeDefined("promise");
shouldBeDefined("promise.then");
promise.then(function(access) {
@@ -37,7 +37,7 @@ var rejectSysEx = function (next) {
var acceptSysEx = function (next) {
testRunner.setMIDISysExPermission(true);
- shouldNotThrow("promise = navigator.requestMIDIAccess({sysex: true})");
+ promise = navigator.requestMIDIAccess({sysex: true});
shouldBeDefined("promise");
shouldBeDefined("promise.then");
promise.then(function(access) {
« 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