Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef

This commit is contained in:
WPT Sync Bot 2018-06-13 21:09:34 -04:00
parent 36f5b69224
commit b198cd722a
622 changed files with 3374 additions and 2001 deletions

View file

@ -0,0 +1,4 @@
suggested_reviewers:
- bfgeek
- grorg
- shans

View file

@ -1,3 +0,0 @@
@bfgeek
@grorg
@shans

View file

@ -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>