| Index: third_party/WebKit/Source/core/frame/Location.idl
|
| diff --git a/third_party/WebKit/Source/core/frame/Location.idl b/third_party/WebKit/Source/core/frame/Location.idl
|
| index 02bf37b7a18aa559a096dfa0ccbf8929342f9913..f4157beb68c00f78816f8ef1ce36ebaf919c4d10 100644
|
| --- a/third_party/WebKit/Source/core/frame/Location.idl
|
| +++ b/third_party/WebKit/Source/core/frame/Location.idl
|
| @@ -37,8 +37,8 @@
|
| // 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.
|
| - [CallWith=(CurrentWindow,EnteredWindow), DoNotCheckSecurity, RaisesException] void assign(DOMString url);
|
| - [CallWith=(CurrentWindow,EnteredWindow), DoNotCheckSecurity, RaisesException] void replace(DOMString url);
|
| + [CallWith=(CurrentWindow,EnteredWindow), CrossOrigin, RaisesException] void assign(DOMString url);
|
| + [CallWith=(CurrentWindow,EnteredWindow), CrossOrigin, RaisesException] void replace(DOMString url);
|
| [CallWith=CurrentWindow] void reload();
|
|
|
| // TODO(foolip): |ancestorOrigins| should have [Unforgeable, SameObject] and
|
| @@ -48,7 +48,7 @@
|
| // TODO(foolip): Per spec, Location implements URLUtils. The below is
|
| // mostly like the URLUtils interface, but with some members missing and
|
| // using DOMString instead of USVString.
|
| - [SetterCallWith=(CurrentWindow,EnteredWindow), DoNotCheckSecurity=Setter, RaisesException=Setter] attribute DOMString href;
|
| + [SetterCallWith=(CurrentWindow,EnteredWindow), CrossOrigin=Setter, RaisesException=Setter] attribute DOMString href;
|
| [NotEnumerable, ImplementedAs=href] DOMString toString();
|
| readonly attribute DOMString origin;
|
|
|
|
|