mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09: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
19
tests/wpt/web-platform-tests/css/css-fonts/idlharness.html
Normal file
19
tests/wpt/web-platform-tests/css/css-fonts/idlharness.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<title>css-fonts IDL tests</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/">
|
||||
<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 fetch("/interfaces/css-fonts.idl").then(r => r.text());
|
||||
const cssom = await fetch("/interfaces/cssom.idl").then(r => r.text());
|
||||
idl_array.add_idls(idl);
|
||||
idl_array.add_dependency_idls(cssom);
|
||||
idl_array.test();
|
||||
}, "Test IDL implementation of css-fonts API");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue