OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
Hzj_jie
2017/04/18 02:26:08
It's weird: this test won't be executed on my mach
foolip
2017/04/18 05:10:57
Were you using run-webkit-tests? After running it
Hzj_jie
2017/04/19 00:45:55
Done.
| |
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> | |
foolip
2017/04/18 05:10:57
Not sure, but this may be the reason that the test
Hzj_jie
2017/04/19 00:45:55
Oh, yes, that's the reason. Updated.
Sorry, I ver
foolip
2017/04/21 06:08:32
That is very strange, and sounds like a bug. Non-s
Hzj_jie
2017/04/22 01:20:24
The generated code looks correct, and both followi
| |
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); | |
19 [SecureContext, RuntimeEnabled=KeyboardLock] void cancelKeyLock(); | |
20 }; | |
21 </pre> | |
22 <script> | |
23 var idl_array = new IdlArray(); | |
24 idl_array.add_untested_idls(document.getElementById("untested_idl").textContent) ; | |
25 idl_array.add_idls(document.getElementById("idl").textContent); | |
26 idl_array.add_objects({ | |
27 Navigator: ["navigator"] | |
28 }); | |
29 idl_array.test(); | |
30 </script> | |
31 <div id="log"></div> | |
32 </body> | |
33 </html> | |
OLD | NEW |