Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae

This commit is contained in:
WPT Sync Bot 2018-08-31 21:37:12 +00:00 committed by Tom Servo
parent b23125d590
commit 6c901de216
844 changed files with 19802 additions and 3093 deletions

View file

@ -0,0 +1,14 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['InputDeviceCapabilities'],
['uievents', 'dom'],
idl_array => {
idl_array.add_objects({
InputDeviceCapabilities: ["new InputDeviceCapabilities"],
});
}
);

View file

@ -1,24 +0,0 @@
<!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>