summaryrefslogtreecommitdiffstats
path: root/webkit/port/page
diff options
context:
space:
mode:
authorager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-07 08:29:55 +0000
committerager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-07 08:29:55 +0000
commit8eb9e9f3027704f7337c13c522e4b8c0941e086e (patch)
tree1456a36236ae0444803b5d1c57e7ce0c2e062060 /webkit/port/page
parentca9abf489577e82c54321b6a0642911b447317db (diff)
downloadchromium_src-8eb9e9f3027704f7337c13c522e4b8c0941e086e.zip
chromium_src-8eb9e9f3027704f7337c13c522e4b8c0941e086e.tar.gz
chromium_src-8eb9e9f3027704f7337c13c522e4b8c0941e086e.tar.bz2
Do not allow shadowing of location.href since that can break
frame-busting code. Review URL: http://codereview.chromium.org/9688 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/page')
-rw-r--r--webkit/port/page/Location.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/page/Location.idl b/webkit/port/page/Location.idl
index 73acabe..e33a694 100644
--- a/webkit/port/page/Location.idl
+++ b/webkit/port/page/Location.idl
@@ -7,7 +7,7 @@ module core {
attribute DOMString hash;
attribute DOMString host;
attribute DOMString hostname;
- attribute [DoNotCheckDomainSecurityOnSet] DOMString href;
+ attribute [DoNotCheckDomainSecurityOnSet, v8DisallowShadowing] DOMString href;
attribute DOMString pathname;
attribute DOMString port;
attribute DOMString protocol;