DescriptionCross-origin access to Location::reload() should throw a SecurityError.
Location's 'reload' property is currently special-cased to be accessible
cross-origin, but doesn't actually perform the requested action when
executed. Instead, it dumps an error message to the console and returns
early.
Firefox's implementation throws an exception upon access of the property,
and given that we've just changed various other Location properties to
match this behavior. This also better aligns our behavior with the spec[1].
[1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#security-location
BUG=17325
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154480
Patch Set 1 #Messages
Total messages: 4 (0 generated)
|