mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 132d12daea699ce266324e79eecbe59b10e56502
This commit is contained in:
parent
527d874bc1
commit
fe00a63040
1004 changed files with 18598 additions and 92770 deletions
|
@ -0,0 +1,2 @@
|
|||
@SummerLW
|
||||
@NavidZ
|
|
@ -0,0 +1,24 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue