mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64
This commit is contained in:
parent
11a89bcc47
commit
8f98acd0e7
297 changed files with 3396 additions and 1555 deletions
16
tests/wpt/web-platform-tests/domparsing/interfaces.any.js
Normal file
16
tests/wpt/web-platform-tests/domparsing/interfaces.any.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
'use strict';
|
||||
|
||||
// https://w3c.github.io/DOM-Parsing/
|
||||
|
||||
promise_test(async () => {
|
||||
const dom = await fetch('/interfaces/dom.idl').then(r => r.text());
|
||||
const idl = await fetch('/interfaces/DOM-Parsing.idl').then(r => r.text());
|
||||
const idlArray = new IdlArray();
|
||||
idlArray.add_untested_idls(dom);
|
||||
idlArray.add_idls(idl);
|
||||
idlArray.test();
|
||||
done();
|
||||
}, 'Test driver');
|
Loading…
Add table
Add a link
Reference in a new issue