gecko-dev/testing/web-platform/tests/domparsing/idlharness.window.js

19 строки
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()'],
})
}
);