Skip to content

Truly independent web browser

535 B
Raw Blame
// https://dom.spec.whatwg.org/#domimplementation
[Exposed=Window]
interface DOMImplementation {
    [NewObject] DocumentType createDocumentType([FlyString] DOMString qualifiedName, DOMString publicId, DOMString systemId);
    [NewObject] XMLDocument createDocument([FlyString] DOMString? namespace, [LegacyNullToEmptyString, FlyString] DOMString qualifiedName, optional DocumentType? doctype = null);
    [NewObject] Document createHTMLDocument(optional DOMString title);

    boolean hasFeature(); // useless; always returns true
};