fune/testing/web-platform/tests/domparsing/idlharness.window.js
Stephen McGruer cf5f9b8ac6 Bug 1612340 [wpt PR 21512] - Update interfaces/DOM-Parsing.idl and associated test, a=testonly
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
2020-02-11 12:00:07 +00:00

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()'],
})
}
);