mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef
This commit is contained in:
parent
36f5b69224
commit
b198cd722a
622 changed files with 3374 additions and 2001 deletions
4
tests/wpt/web-platform-tests/css/css-paint-api/META.yml
Normal file
4
tests/wpt/web-platform-tests/css/css-paint-api/META.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
suggested_reviewers:
|
||||
- bfgeek
|
||||
- grorg
|
||||
- shans
|
|
@ -1,3 +0,0 @@
|
|||
@bfgeek
|
||||
@grorg
|
||||
@shans
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<title>CSS Painting API IDL tests</title>
|
||||
<link rel="help" href="https://drafts.css-houdini.org/css-paint-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_array = new IdlArray();
|
||||
const idl = await fetch("/interfaces/css-paint-api.idl").then(r => r.text());
|
||||
const cssom = await fetch("/interfaces/cssom.idl").then(r => r.text());
|
||||
const html = await fetch("/interfaces/html.idl").then(r => r.text());
|
||||
idl_array.add_idls(idl);
|
||||
idl_array.add_dependency_idls(cssom);
|
||||
idl_array.add_dependency_idls(html);
|
||||
idl_array.add_untested_idls(`
|
||||
[Exposed=Worklet]
|
||||
interface WorkletGlobalScope {
|
||||
attribute Console console;
|
||||
};`);
|
||||
idl_array.test();
|
||||
}, "Test IDL implementation of CSS Painting API");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue