mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision fb898b46adaf656c9807ed0b8adb39d84162cb98
This commit is contained in:
parent
6a4e6174a7
commit
eed68f662b
222 changed files with 12791 additions and 14492 deletions
19
tests/wpt/web-platform-tests/domparsing/idlharness.window.js
Normal file
19
tests/wpt/web-platform-tests/domparsing/idlharness.window.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
'use strict';
|
||||
|
||||
// https://w3c.github.io/DOM-Parsing/
|
||||
|
||||
idl_test(
|
||||
['DOM-Parsing'],
|
||||
['dom'],
|
||||
idlArray => {
|
||||
idlArray.add_objects({
|
||||
DOMParser: ['new DOMParser()'],
|
||||
Element: ['document.createElement("div")'],
|
||||
Range: ['new Range()'],
|
||||
XMLSerializer: ['new XMLSerializer()'],
|
||||
})
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue