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

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: Introduced open and close methods without arguments to handle internal calls. Created 5 years, 6 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
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.
philipj_slow 2015/06/24 11:52:19 Make this TODO(habib.virji) since it's a new probl
Habib Virji 2015/06/25 13:09:47 This FIXME is from the HTMLDocument.idl. There a
+ [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;

Powered by Google App Engine
This is Rietveld 408576698