Index: Source/core/dom/Document.idl |
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl |
index a27bc8a8b529bb5d5825558646f1f5656b279ed1..382baccdb08d194eaabdde6814df5eea54f6661b 100644 |
--- a/Source/core/dom/Document.idl |
+++ b/Source/core/dom/Document.idl |
@@ -107,7 +107,11 @@ interface Document : Node { |
readonly attribute HTMLScriptElement? currentScript; |
// dynamic markup insertion |
- // FIXME: open(), close(), write() and writeln() are on HTMLDocument. |
+ // FIXME: There are two open() methods in the spec. |
+ [Custom, CustomElementCallbacks, RaisesException] void open(); |
+ [RaisesException] void close(); |
+ [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write(DOMString... text); |
+ [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writeln(DOMString... text); |
// user interaction |
[ImplementedAs=domWindow] readonly attribute Window? defaultView; |