| Index: Source/core/dom/Document.idl | 
| diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl | 
| index 63faf73fc46362a0d0142f8635a3637b2c47b38a..a2e6bf6add41146f5a61bff410b39d3117f9cc54 100644 | 
| --- a/Source/core/dom/Document.idl | 
| +++ b/Source/core/dom/Document.idl | 
| @@ -105,7 +105,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; | 
|  |