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

Side by Side Diff: LayoutTests/webmidi/requestmidiaccess-basic.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 8
9 description("Test if requestMIDIAccess is available."); 9 description("Test if requestMIDIAccess is available.");
10 10
11 shouldBeDefined("navigator.requestMIDIAccess"); 11 shouldBeDefined("navigator.requestMIDIAccess");
12 12
13 var promise = navigator.requestMIDIAccess(); 13 var promise = navigator.requestMIDIAccess();
14 shouldBeDefined("promise"); 14 shouldBeDefined("promise");
15 15
16 shouldBeDefined("promise.then"); 16 shouldBeDefined("promise.then");
17 17
18 promise.then(function(){}, function(){}) 18 promise.then(function(){}, function(){})
19 19
20 </script> 20 </script>
21 <script src="../fast/js/resources/js-test-post.js"></script> 21 <script src="../fast/js/resources/js-test-post.js"></script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/webmidi/requestmidiaccess.html ('k') | LayoutTests/webmidi/requestmidiaccess-basic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698