diff options
Diffstat (limited to 'components/script/dom/webidls/DOMImplementation.webidl')
-rw-r--r-- | components/script/dom/webidls/DOMImplementation.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/DOMImplementation.webidl b/components/script/dom/webidls/DOMImplementation.webidl index 8bedebe8a87..eb29cd3c018 100644 --- a/components/script/dom/webidls/DOMImplementation.webidl +++ b/components/script/dom/webidls/DOMImplementation.webidl @@ -17,9 +17,9 @@ interface DOMImplementation { DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); [NewObject, Throws] - Document createDocument(DOMString? namespace, - [TreatNullAs=EmptyString] DOMString qualifiedName, - optional DocumentType? doctype = null); + XMLDocument createDocument(DOMString? namespace, + [TreatNullAs=EmptyString] DOMString qualifiedName, + optional DocumentType? doctype = null); [NewObject] Document createHTMLDocument(optional DOMString title); |