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

Unified Diff: sky/engine/core/frame/Location.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « sky/engine/core/frame/Location.cpp ('k') | sky/engine/core/frame/Screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/Location.idl
diff --git a/sky/engine/core/frame/Location.idl b/sky/engine/core/frame/Location.idl
index 35da608a3afa44bbe1e31eae5e625555e3b42b35..742bb8d6c2e43e978a5e2e10bf222ffc81bd612d 100644
--- a/sky/engine/core/frame/Location.idl
+++ b/sky/engine/core/frame/Location.idl
@@ -26,32 +26,20 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- CheckSecurity=Frame,
-] interface Location {
- // |assign|, |replace|, and *writing* |href| do not require a security
- // check, as they *change* the page, and thus these do not change any
- // 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.
- [SetterCallWith=(ActiveWindow,FirstWindow), DoNotCheckSecurity=Setter, Unforgeable] attribute DOMString href;
+interface Location {
+ attribute DOMString href;
- [CallWith=(ActiveWindow,FirstWindow), DoNotCheckSecurity, Unforgeable] void assign(DOMString url);
- [CallWith=(ActiveWindow,FirstWindow), DoNotCheckSecurity, Unforgeable] void replace(DOMString url);
- [CallWith=ActiveWindow, Unforgeable] void reload();
+ void assign(DOMString url);
+ void replace(DOMString url);
+ void reload();
- // URI decomposition attributes
- [SetterCallWith=(ActiveWindow,FirstWindow), RaisesException=Setter] attribute DOMString protocol;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString host;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString hostname;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString port;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString pathname;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString search;
- [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString hash;
+ [RaisesException=Setter] attribute DOMString protocol;
+ attribute DOMString host;
+ attribute DOMString hostname;
+ attribute DOMString port;
+ attribute DOMString pathname;
+ attribute DOMString search;
+ attribute DOMString hash;
readonly attribute DOMString origin;
-
- [NotEnumerable, Unforgeable, ImplementedAs=href] DOMString toString();
- [NotEnumerable, Custom, Unforgeable] any valueOf();
};
-
« no previous file with comments | « sky/engine/core/frame/Location.cpp ('k') | sky/engine/core/frame/Screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698