blob: 178ce5aa892bcd466b849b5a4f99e844314c69b1 [file] [log] [blame]
<!doctype html>
<title>Input Device Capabilities IDL tests</title>
<link rel="help" href="https://wicg.github.io/InputDeviceCapabilities/">
<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 idl = await (await fetch("/interfaces/InputDeviceCapabilities.idl")).text();
const uievents = await (await fetch("/interfaces/uievents.idl")).text();
const dom = await (await fetch("/interfaces/dom.idl")).text();
idl_array.add_idls(idl);
idl_array.add_dependency_idls(uievents);
idl_array.add_dependency_idls(dom);
idl_array.add_objects({
InputDeviceCapabilities: ["new InputDeviceCapabilities"],
});
idl_array.test();
}, "Test driver");
</script>