dom/tests/mochitest/gamepad/gamepad_frame_state.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/tests/mochitest/gamepad/gamepad_frame_state.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +<!-- Any copyright is dedicated to the Public Domain.
     1.5 +   - http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.6 +<!DOCTYPE HTML>
     1.7 +<html>
     1.8 +<head>
     1.9 +  <title>frame</title>
    1.10 +  <script type="text/javascript">
    1.11 +    var gamepad;
    1.12 +    window.addEventListener("gamepadconnected", function(e) {
    1.13 +      gamepad = e.gamepad;
    1.14 +});
    1.15 +  </script>
    1.16 +</head>
    1.17 +<body>
    1.18 +</body>
    1.19 +</html>

mercurial