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

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

Issue 1611523002: Require the entry document to have the same origin as the open()d document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 11 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: 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 3ff51dc3d462ed8655b5b2f6bcc5a71ff519bd17..7696442efc76b1d2ef411e60d6b2ac05f2f20827 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -113,8 +113,8 @@ interface Document : Node {
// 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);
+ [CallWith=FirstWindow, CustomElementCallbacks, RaisesException] void write(DOMString... text);
jochen (gone - plz use gerrit) 2016/01/29 08:01:37 write() uses the window to call open() internally,
philipj_slow 2016/01/29 08:39:18 FirstWindow isn't documented in https://www.chromi
jochen (gone - plz use gerrit) 2016/01/29 09:40:24 done. I didn't document ActiveWindow, as I'll del
+ [CallWith=FirstWindow, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
// user interaction
[ImplementedAs=domWindow] readonly attribute Window? defaultView;

Powered by Google App Engine
This is Rietveld 408576698