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

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

Issue 2915203003: [System-Keyboard-Lock] Restore keyboard-lock tests (Closed)
Patch Set: Workaround testharness.js test requirement Created 3 years, 6 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 | « no previous file | third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/idlharness.https-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 requestKeyboardLock 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> requestKeyboardLock(optional sequence<DOMString> keyCodes = []);
26 [SecureContext] void cancelKeyboardLock();
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/keyboard-lock/idlharness.https-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698