forked from mirrors/gecko-dev
Automatic update from web-platform-tests Update interfaces/DOM-Parsing.idl and associated test (#21512) Closes https://github.com/web-platform-tests/wpt/pull/21496 See https://github.com/web-platform-tests/wpt/pull/21488 for where the IDL has moved to -- wpt-commits: ff41ce271628e397d269109f29d6e9c8d00ba2b1 wpt-pr: 21512
18 lines
362 B
JavaScript
18 lines
362 B
JavaScript
// 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({
|
|
Element: ['document.createElement("div")'],
|
|
Range: ['new Range()'],
|
|
XMLSerializer: ['new XMLSerializer()'],
|
|
})
|
|
}
|
|
);
|