OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 16 matching lines...) Expand all Loading... |
27 */ | 27 */ |
28 | 28 |
29 [ | 29 [ |
30 CheckSecurity, | 30 CheckSecurity, |
31 CustomNamedSetter, | 31 CustomNamedSetter, |
32 CustomDeleteProperty, | 32 CustomDeleteProperty, |
33 CustomEnumerateProperty, | 33 CustomEnumerateProperty, |
34 ] interface Location { | 34 ] interface Location { |
35 [DoNotCheckSecurityOnSetter, CustomSetter, Unforgeable] attribute DOMString
href; | 35 [DoNotCheckSecurityOnSetter, CustomSetter, Unforgeable] attribute DOMString
href; |
36 | 36 |
37 [Custom, Unforgeable] void assign([Optional=DefaultIsUndefined] DOMString ur
l); | 37 [Custom, Unforgeable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds]
void assign([Optional=DefaultIsUndefined] DOMString url); |
38 [Custom, Unforgeable] void replace([Optional=DefaultIsUndefined] DOMString u
rl); | 38 [Custom, Unforgeable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds]
void replace([Optional=DefaultIsUndefined] DOMString url); |
39 [Custom, Unforgeable] void reload(); | 39 [Custom, Unforgeable] void reload(); |
40 | 40 |
41 // URI decomposition attributes | 41 // URI decomposition attributes |
42 [CustomSetter] attribute DOMString protocol; | 42 [CustomSetter] attribute DOMString protocol; |
43 [CustomSetter] attribute DOMString host; | 43 [CustomSetter] attribute DOMString host; |
44 [CustomSetter] attribute DOMString hostname; | 44 [CustomSetter] attribute DOMString hostname; |
45 [CustomSetter] attribute DOMString port; | 45 [CustomSetter] attribute DOMString port; |
46 [CustomSetter] attribute DOMString pathname; | 46 [CustomSetter] attribute DOMString pathname; |
47 [CustomSetter] attribute DOMString search; | 47 [CustomSetter] attribute DOMString search; |
48 [CustomSetter] attribute DOMString hash; | 48 [CustomSetter] attribute DOMString hash; |
49 | 49 |
50 readonly attribute DOMString origin; | 50 readonly attribute DOMString origin; |
51 | 51 |
52 readonly attribute DOMStringList ancestorOrigins; | 52 readonly attribute DOMStringList ancestorOrigins; |
53 | 53 |
54 [NotEnumerable, Custom, Unforgeable, ReadOnly, ImplementedAs=toStringFunctio
n] DOMString toString(); | 54 [NotEnumerable, Custom, Unforgeable, ReadOnly, ImplementedAs=toStringFunctio
n] DOMString toString(); |
55 [NotEnumerable, Custom, Unforgeable, ReadOnly] any valueOf(); | 55 [NotEnumerable, Custom, Unforgeable, ReadOnly] any valueOf(); |
56 }; | 56 }; |
57 | 57 |
OLD | NEW |