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 bc6a55fa0e2bac0d8b016d668d6e7f7071004230..39e49dbbc4c616f4856ba5456e0e4789ac83ac60 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. |