LibWeb: Update DOM IDL specs

I noticed some of these were running behind the upstream spec.
This commit is contained in:
Jelle Raaijmakers 2024-10-14 11:55:51 +02:00 committed by Tim Flynn
commit d5fd29adb7
Notes: github-actions[bot] 2024-10-14 16:00:25 +00:00
18 changed files with 33 additions and 52 deletions

View file

@ -4,11 +4,9 @@
// https://dom.spec.whatwg.org/#domimplementation
[Exposed=Window]
interface DOMImplementation {
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
[NewObject] XMLDocument createDocument([FlyString] DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
[NewObject] Document createHTMLDocument(optional DOMString title);
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
boolean hasFeature();
boolean hasFeature(); // useless; always returns true
};