Index: Source/core/dom/DOMImplementation.idl |
diff --git a/Source/core/dom/DOMImplementation.idl b/Source/core/dom/DOMImplementation.idl |
index 778896c116cb5540761ef551cfabdbab879aa557..98764298beb26375612ccee6f7a654e39370df52 100644 |
--- a/Source/core/dom/DOMImplementation.idl |
+++ b/Source/core/dom/DOMImplementation.idl |
@@ -25,11 +25,11 @@ |
TypeChecking=Interface, |
WillBeGarbageCollected, |
] interface DOMImplementation { |
- [RaisesException] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); |
- [RaisesException] XMLDocument createDocument(DOMString? namespaceURI, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); |
+ [NewObject, RaisesException] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); |
+ [NewObject, RaisesException] XMLDocument createDocument(DOMString? namespaceURI, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); |
// FIXME: createHTMLDocument should return a Document. crbug.com/238368 |
// FIXME: The title argument should not have a default value. crbug.com/335871 |
- HTMLDocument createHTMLDocument(optional DOMString title = null); |
+ [NewObject] HTMLDocument createHTMLDocument(optional DOMString title = null); |
// FIXME: hasFeature should take no arguments and always return true. crbug.com/429536 |
[ImplementedAs=hasFeatureForBindings, MeasureAs=DOMImplementationHasFeature] |