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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/idlharness.https.html

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Resolve review comments Created 3 years, 8 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
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Keyboard Lock IDL tests</title>
5 <link rel="help" href="https://garykac.github.io/system-keyboard-lock/">
6 <script src="../../../resources/testharness.js"></script>
7 <script src="../../../resources/testharnessreport.js"></script>
8 <script src="../../../resources/WebIDLParser.js"></script>
9 <script src="../../../resources/idlharness.js"></script>
10 </head>
11 <body>
12 <pre id="untested_idl" style="display: none">
13 interface Navigator {
14 };
15 </pre>
16 <pre id="idl" style="display: none">
17 partial interface Navigator {
18 [SecureContext, RuntimeEnabled=KeyboardLock, CallWith=ScriptState] Promise<voi d> requestKeyLock(optional sequence<DOMString> keyCodes);
foolip 2017/04/18 05:10:57 Copy the IDL from the spec, not Blink's IDL files.
Hzj_jie 2017/04/20 21:23:58 Done.
19 [SecureContext, RuntimeEnabled=KeyboardLock] void cancelKeyLock();
20 };
21 </pre>
22 <script>
23 var idl_array = new IdlArray();
24 idl_array.add_untested_idls(
25 document.getElementById("untested_idl").textContent);
26 idl_array.add_idls(document.getElementById("idl").textContent);
27 idl_array.add_objects({
28 Navigator: ["navigator"]
29 });
30 idl_array.test();
31 </script>
32 <div id="log"></div>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698