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 12 matching lines...) Expand all Loading... |
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 [ | 29 [ |
30 #if defined(V8_BINDING) && V8_BINDING | 30 #if defined(V8_BINDING) && V8_BINDING |
31 CheckSecurity, | 31 CheckSecurity, |
32 #endif | 32 #endif |
33 JSCustomGetOwnPropertySlotAndDescriptor, | |
34 CustomNamedSetter, | 33 CustomNamedSetter, |
35 JSGenerateIsReachable=ImplFrame, | |
36 CustomDeleteProperty, | 34 CustomDeleteProperty, |
37 CustomEnumerateProperty, | 35 CustomEnumerateProperty, |
38 JSCustomDefineOwnProperty, | |
39 JSCustomNamedGetterOnPrototype, | |
40 JSCustomDefineOwnPropertyOnPrototype, | |
41 OmitConstructor | 36 OmitConstructor |
42 ] interface Location { | 37 ] interface Location { |
43 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP | 38 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP |
44 [DoNotCheckSecurityOnSetter, CustomSetter, V8Unforgeable] attribute
DOMString href; | 39 [DoNotCheckSecurityOnSetter, CustomSetter, V8Unforgeable] attribute
DOMString href; |
45 #endif | 40 #endif |
46 | 41 |
47 [Custom, V8Unforgeable] void assign(in [Optional=DefaultIsUndefined] DOMStri
ng url); | 42 [Custom, V8Unforgeable] void assign(in [Optional=DefaultIsUndefined] DOMStri
ng url); |
48 [Custom, V8Unforgeable] void replace(in [Optional=DefaultIsUndefined] DOMStr
ing url); | 43 [Custom, V8Unforgeable] void replace(in [Optional=DefaultIsUndefined] DOMStr
ing url); |
49 [Custom, V8Unforgeable] void reload(); | 44 [Custom, V8Unforgeable] void reload(); |
50 | 45 |
(...skipping 13 matching lines...) Expand all Loading... |
64 readonly attribute DOMStringList ancestorOrigins; | 59 readonly attribute DOMStringList ancestorOrigins; |
65 | 60 |
66 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 61 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
67 [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly, ImplementedAs=toStringFun
ction] DOMString toString(); | 62 [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly, ImplementedAs=toStringFun
ction] DOMString toString(); |
68 #endif | 63 #endif |
69 #if defined(V8_BINDING) && V8_BINDING | 64 #if defined(V8_BINDING) && V8_BINDING |
70 [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly] any valueOf(); | 65 [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly] any valueOf(); |
71 #endif | 66 #endif |
72 }; | 67 }; |
73 | 68 |
OLD | NEW |