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

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

Issue 2429343004: [CachedAccessor] for window.document. (Closed)
Patch Set: Review feedback (and rebase) Created 4 years, 2 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 0dfdb5338f70f667c4f533b3303fe6f6a068a08b..884ee89bd04e99394e442216466166ebe3248ddc 100644
--- a/third_party/WebKit/Source/core/frame/Window.idl
+++ b/third_party/WebKit/Source/core/frame/Window.idl
@@ -36,7 +36,7 @@
// FIXME: The spec uses the WindowProxy type for this and many other attributes.
[Unforgeable, DoNotCheckSecurity] readonly attribute Window window;
[Replaceable, DoNotCheckSecurity] readonly attribute Window self;
- [Unforgeable] readonly attribute Document document;
+ [Unforgeable, CachedAccessor] readonly attribute Document document;
attribute DOMString name;
[PutForwards=href, Unforgeable, DoNotCheckSecurity] readonly attribute Location location;
readonly attribute History history;

Powered by Google App Engine
This is Rietveld 408576698