Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: Source/core/dom/Document.idl

Issue 1176013002: Move attributes and methods from HTMLDocument to Document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/HTMLDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/HTMLDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698