| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Gamepad IDL tests</title> | 4 <title>Gamepad IDL tests</title> |
| 5 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepad-interface"> | 5 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepad-interface"> |
| 6 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepadbutton-interface"> | 6 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepadbutton-interface"> |
| 7 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepadevent-interface"> | 7 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#gamepadevent-interface"> |
| 8 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#navigator-interface-extension"> | 8 <link rel="help" href="https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.h
tml#navigator-interface-extension"> |
| 9 <script src="/resources/testharness.js"></script> | 9 <script src="/resources/testharness.js"></script> |
| 10 <script src="/resources/testharnessreport.js"></script> | 10 <script src="/resources/testharnessreport.js"></script> |
| 11 <script src="../../../resources/WebIDLParser.js"></script> | 11 <script src="/resources/WebIDLParser.js"></script> |
| 12 <script src="../../../resources/idlharness.js"></script> | 12 <script src="/resources/idlharness.js"></script> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <pre id="untested_idl" style="display: none"> | 15 <pre id="untested_idl" style="display: none"> |
| 16 interface Navigator { | 16 interface Navigator { |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 interface Event { | 19 interface Event { |
| 20 }; | 20 }; |
| 21 </pre> | 21 </pre> |
| 22 <pre id="idl" style="display: none"> | 22 <pre id="idl" style="display: none"> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 idl_array.add_idls(document.getElementById("idl").textContent); | 61 idl_array.add_idls(document.getElementById("idl").textContent); |
| 62 idl_array.add_objects({ | 62 idl_array.add_objects({ |
| 63 GamepadEvent: [new GamepadEvent("something")], | 63 GamepadEvent: [new GamepadEvent("something")], |
| 64 Navigator: ["navigator"], | 64 Navigator: ["navigator"], |
| 65 }); | 65 }); |
| 66 idl_array.test(); | 66 idl_array.test(); |
| 67 </script> | 67 </script> |
| 68 <div id="log"></div> | 68 <div id="log"></div> |
| 69 </body> | 69 </body> |
| 70 </html> | 70 </html> |
| OLD | NEW |