зеркало из https://github.com/mozilla/gecko-dev.git
Bug 909859. Make the doctype argument of createDocument optional. r=smaug
This commit is contained in:
Родитель
e79ad519c7
Коммит
7cc447af5a
|
@ -245,7 +245,7 @@ interface XMLDocument : Document {};
|
|||
|
||||
interface DOMImplementation {
|
||||
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
|
||||
XMLDocument createDocument(DOMString? namespace, [TreatNullAs=EmptyString] DOMString qualifiedName, DocumentType? doctype);
|
||||
XMLDocument createDocument(DOMString? namespace, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
|
||||
Document createHTMLDocument(optional DOMString title);
|
||||
|
||||
boolean hasFeature(DOMString feature, [TreatNullAs=EmptyString] DOMString version);
|
||||
|
|
|
@ -21,7 +21,7 @@ interface DOMImplementation {
|
|||
[Throws]
|
||||
Document createDocument(DOMString? namespace,
|
||||
[TreatNullAs=EmptyString] DOMString qualifiedName,
|
||||
DocumentType? doctype);
|
||||
optional DocumentType? doctype = null);
|
||||
[Throws]
|
||||
Document createHTMLDocument(optional DOMString title);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче