Index: third_party/WebKit/Source/core/dom/Document.idl |
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl |
index ec933ed0215df2402ed1e719e6fd33a5952bc56a..48f4f0c74d110e1e7b20ffe9ca236d9911eb51e2 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.idl |
+++ b/third_party/WebKit/Source/core/dom/Document.idl |
@@ -34,8 +34,10 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; |
// https://dom.spec.whatwg.org/#interface-document |
-// FIXME: Document should have a constructor. crbug.com/238234 |
-interface Document : Node { |
+[ |
+ Constructor(), |
+ ConstructorCallWith=Document, |
+] interface Document : Node { |
[SameObject] readonly attribute DOMImplementation implementation; |
[ImplementedAs=urlForBinding] readonly attribute DOMString URL; |
// FIXME: documentURI should not be nullable. |