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

Side by Side Diff: LayoutTests/webmidi/request-midi-access.html

Issue 17619003: Fulfill or reject MIDIAccessPromise from MIDIAccessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move layout test from fast/webmidi to webmidi Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/webmidi/request-midi-access-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8
9 description("Test if requestMIDIAccess is available.");
10
11 shouldBeDefined("navigator.requestMIDIAccess");
12
13 var promise = navigator.requestMIDIAccess();
14 shouldBeDefined("promise");
15
16 shouldBeDefined("promise.then");
17
18 promise.then(function(){}, function(){})
19
20 </script>
21 <script src="../fast/js/resources/js-test-post.js"></script>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/webmidi/request-midi-access-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698