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

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

Issue 2668753006: Special-case LocalDOMWindow for same-origin access in bindings. (Closed)
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 c4a747fc36b3dc5245ddc2f33d237945411f455c..6caefc692885da22bef46bf0c34978b0c0691b8b 100644
--- a/third_party/WebKit/Source/core/frame/Window.idl
+++ b/third_party/WebKit/Source/core/frame/Window.idl
@@ -30,6 +30,7 @@
[
CheckSecurity=Receiver,
ImplementedAs=DOMWindow,
+ SameOriginImplementedAs=LocalDOMWindow,
PrimaryGlobal,
] interface Window : EventTarget {
// the current browsing context

Powered by Google App Engine
This is Rietveld 408576698