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

Unified Diff: third_party/WebKit/Source/core/frame/Window.idl

Issue 2642643002: Remove CallWith=ScriptState from window/self/frames getters on Window.
Patch Set: Created 3 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/frame/Window.idl
diff --git a/third_party/WebKit/Source/core/frame/Window.idl b/third_party/WebKit/Source/core/frame/Window.idl
index 265cc88a4da44333415a9417802ec6cc61b6fe94..8b45bb3a467aecfd0b65c5f7efe72559a2b104e3 100644
--- a/third_party/WebKit/Source/core/frame/Window.idl
+++ b/third_party/WebKit/Source/core/frame/Window.idl
@@ -34,8 +34,8 @@
] interface Window : EventTarget {
// the current browsing context
// FIXME: The spec uses the WindowProxy type for this and many other attributes.
- [Unforgeable, CallWith=ScriptState, CrossOrigin] readonly attribute Window window;
- [Replaceable, CallWith=ScriptState, CrossOrigin] readonly attribute Window self;
+ [Unforgeable, CrossOrigin] readonly attribute Window window;
+ [Replaceable, CrossOrigin] readonly attribute Window self;
[Unforgeable, CachedAccessor] readonly attribute Document document;
attribute DOMString name;
[PutForwards=href, Unforgeable, CrossOrigin=(Getter,Setter)] readonly attribute Location location;
@@ -54,7 +54,7 @@
[CrossOrigin] void blur();
// other browsing contexts
- [Replaceable, CallWith=ScriptState, CrossOrigin] readonly attribute Window frames;
+ [Replaceable, CrossOrigin] readonly attribute Window frames;
[Replaceable, CrossOrigin] readonly attribute unsigned long length;
[Unforgeable, CrossOrigin] readonly attribute Window? top;
// FIXME: opener should be of type any.

Powered by Google App Engine
This is Rietveld 408576698