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

Side by Side Diff: LayoutTests/webmidi/permission.html

Issue 1339123002: Remove some usage of testRunner.setPermission. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@notifications-flakyness
Patch Set: review comments 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
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="../resources/permissions-helper.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 description("Test if sysex permission request is handled."); 10 description("Test if sysex permission request is handled.");
11 11
12 shouldBeDefined("testRunner.setPermission");
13 shouldBeDefined("navigator.requestMIDIAccess"); 12 shouldBeDefined("navigator.requestMIDIAccess");
14 shouldBeDefined("PermissionsHelper.setPermission"); 13 shouldBeDefined("PermissionsHelper.setPermission");
15 14
16 window.jsTestIsAsync = true; 15 window.jsTestIsAsync = true;
17 16
18 var finishSuccessfully = function () { 17 var finishSuccessfully = function () {
19 testPassed("all permission request rests pass successfully."); 18 testPassed("all permission request rests pass successfully.");
20 finishJSTest(); 19 finishJSTest();
21 } 20 }
22 21
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 finishJSTest(); 57 finishJSTest();
59 }); 58 });
60 }); 59 });
61 } 60 }
62 61
63 rejectSysex(acceptSysex); 62 rejectSysex(acceptSysex);
64 63
65 </script> 64 </script>
66 </body> 65 </body>
67 </html> 66 </html>
OLDNEW
« no previous file with comments | « LayoutTests/webmidi/loopback-receive-expected.txt ('k') | LayoutTests/webmidi/permission-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698