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

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

Issue 884213006: Make document.location unforgeable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 5 years, 10 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
« no previous file with comments | « LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 9537778eb9034872cbca02318fd3cce16b675b0a..dabab04a968f0b1434ee508ec472318aa74c5d0b 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -128,7 +128,7 @@ interface Document : Node {
[PerWorldBindings] NodeList getElementsByName(DOMString elementName);
- [PutForwards=href] readonly attribute Location location;
+ [PutForwards=href, DoNotCheckSecurity, Unforgeable] readonly attribute Location location;
jochen (gone - plz use gerrit) 2015/02/09 14:29:07 why DoNotCheckSecurity?
philipj_slow 2015/02/09 14:37:01 That is the question in an earlier comment. Window
// IE extensions
[MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attribute DOMString charset;
« no previous file with comments | « LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698