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

Unified Diff: Source/core/frame/Location.idl

Issue 77723003: [DoNotCheckSecurity=Getter] => [DoNotCheckSecurity] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Python Created 7 years, 1 month 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
« no previous file with comments | « Source/bindings/tests/results/V8TestObjectPython.cpp ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Location.idl
diff --git a/Source/core/frame/Location.idl b/Source/core/frame/Location.idl
index c8ea4f0675f281c1e1f4c1d5892c17ae154f2ab7..da81ecff9f585b6d5781ef7040e8320a339d950d 100644
--- a/Source/core/frame/Location.idl
+++ b/Source/core/frame/Location.idl
@@ -29,6 +29,11 @@
[
CheckSecurity=Frame,
] interface Location {
+ // |assign|, |replace|, and *writing* |href| do not require a security
+ // check, as they *change* the page, and thus these do not change any
+ // property of an *existing* document at a different origin.
+ // However, *reading* |href|, or accessing any component, is a security
+ // problem, since that allows tracking navigation.
[SetterCallWith=ActiveWindow&FirstWindow, DoNotCheckSecurity=Setter, Unforgeable] attribute DOMString href;
[CallWith=ActiveWindow&FirstWindow, DoNotCheckSecurity, Unforgeable, ReadOnly, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] void assign([Default=Undefined] optional DOMString url);
« no previous file with comments | « Source/bindings/tests/results/V8TestObjectPython.cpp ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698