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

Side by Side Diff: LayoutTests/webmidi/loopback-receive.html

Issue 1346213002: Permission TestRunner: only use permissions-helper.js from http/tests/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@testrunner-setpermission-removal
Patch Set: Created 5 years, 3 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
« no previous file with comments | « LayoutTests/resources/permissions-helper.js ('k') | LayoutTests/webmidi/permission.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="../resources/permissions-helper.js"></script> 5 <script src="../http/tests/resources/permissions-helper.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 description("Test if midimessage event handler work."); 10 description("Test if midimessage event handler work.");
11 11
12 shouldBeDefined("navigator.requestMIDIAccess"); 12 shouldBeDefined("navigator.requestMIDIAccess");
13 13
14 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
15 15
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 }); 71 });
72 } 72 }
73 73
74 PermissionsHelper.setPermission('midi-sysex', 'granted').then(function() { 74 PermissionsHelper.setPermission('midi-sysex', 'granted').then(function() {
75 test(false).then(test.bind(null, true)).then(finishJSTest, finishJSTest); 75 test(false).then(test.bind(null, true)).then(finishJSTest, finishJSTest);
76 }); 76 });
77 77
78 </script> 78 </script>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW
« no previous file with comments | « LayoutTests/resources/permissions-helper.js ('k') | LayoutTests/webmidi/permission.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698