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

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

Issue 884213006: Make document.location unforgeable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop DoNotCheckSecurity 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..9797d2e96644c6898c5a68eb83b05b6d6037b2aa 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, Unforgeable] readonly attribute Location location;
// 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