Revision dfa3cf326b7381ab9eec488911595df9e11deb15 authored by Robert Ma on 16 March 2018, 21:17:56 UTC, committed by Robert Ma on 16 March 2018, 21:17:56 UTC
After #10064, Chrome jobs run successfully on Travis, so we can turn the stability check back on. Fixes #9932.
1 parent 89ba944
idlharness.html
<!doctype html>
<title>Gamepad IDL tests</title>
<link rel="help" href="https://w3c.github.io/gamepad/#gamepad-interface">
<link rel="help" href="https://w3c.github.io/gamepad/#gamepadbutton-interface">
<link rel="help" href="https://w3c.github.io/gamepad/#gamepadevent-interface">
<link rel="help" href="https://w3c.github.io/gamepad/#navigator-interface-extension">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="/resources/idlharness.js"></script>
<script>
"use strict";
promise_test(async () => {
const idl_array = new IdlArray();
const gamepad_idl = await fetch("/interfaces/gamepad.idl").then(r => r.text());
idl_array.add_untested_idls('interface Event {};');
idl_array.add_untested_idls('interface Navigator {};');
idl_array.add_idls(gamepad_idl);
idl_array.add_objects({
GamepadEvent: [new GamepadEvent("something")],
Navigator: ["navigator"]
});
idl_array.test();
}, "Test IDL implementation of Gamepad API");
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...