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

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: Sync latest changes Created 3 years, 7 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://github.com/w3c/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 <!--
17 The reason of the failure of requestKeyLock test looks like a code defect in
18 idlharness.js. media-capabilities/idlharness.html is also impacted by this
19 issue. See https://codereview.chromium.org/2805763004/#ps620001, which
20 includes a potential fix.
21 TODO(zijiehe): Submit the fix.
22 -->
23 <pre id="idl" style="display: none">
24 partial interface Navigator {
25 [SecureContext] Promise<void> requestKeyLock(optional sequence<DOMString> keyC odes = []);
26 [SecureContext] void cancelKeyLock();
27 };
28 </pre>
29 <script>
30 var idl_array = new IdlArray();
31 idl_array.add_untested_idls(
32 document.getElementById("untested_idl").textContent);
33 idl_array.add_idls(document.getElementById("idl").textContent);
34 idl_array.add_objects({
35 Navigator: ["navigator"]
36 });
37 idl_array.test();
38 </script>
39 <div id="log"></div>
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698