fune/testing/web-platform/tests/css/css-properties-values-api/idlharness.html
Luke Bjerring 34926fbe76 Bug 1479439 [wpt PR 9774] - Update the css-properties-values-api IDL file, a=testonly
Automatic update from web-platform-testsUpdate the css-properties-values-api IDL file (#9774)

--

wpt-commits: a71bbf196f17d9da2fec0a3b842aa267dff9c8cb
wpt-pr: 9774
2018-07-31 13:05:42 +00:00

20 lines
787 B
HTML

<!doctype html>
<title>CSS Properties Values API IDL tests</title>
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/">
<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 = await fetch("/interfaces/css-properties-values-api.idl").then(r => r.text());
const cssom = await fetch("/interfaces/cssom.idl").then(r => r.text());
const idl_array = new IdlArray();
idl_array.add_idls(idl);
idl_array.add_dependency_idls(cssom);
idl_array.test();
}, "Test IDL implementation of CSS Properties Values API");
</script>