diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/page/Location.idl')
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/Location.idl | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/src/3rdparty/webkit/WebCore/page/Location.idl b/src/3rdparty/webkit/WebCore/page/Location.idl index 91822ab..e7fa31a 100644 --- a/src/3rdparty/webkit/WebCore/page/Location.idl +++ b/src/3rdparty/webkit/WebCore/page/Location.idl @@ -29,16 +29,22 @@ module window { interface [ +#if defined(V8_BINDING) && V8_BINDING + CheckDomainSecurity, +#endif CustomGetOwnPropertySlot, CustomPutFunction, CustomDeleteProperty, - CustomGetPropertyNames + CustomGetPropertyNames, + CustomDefineGetter, + CustomPrototypePutFunction, + CustomPrototypeDefineGetter ] Location { - attribute [CustomSetter] DOMString href; + attribute [DoNotCheckDomainSecurityOnSet, CustomSetter, V8DisallowShadowing] DOMString href; - [Custom] void assign(in DOMString url); - [Custom] void replace(in DOMString url); - [Custom] void reload(); + [Custom, V8OnInstance] void assign(in DOMString url); + [Custom, V8OnInstance] void replace(in DOMString url); + [Custom, V8OnInstance] void reload(); // URI decomposition attributes attribute [CustomSetter] DOMString protocol; @@ -49,8 +55,11 @@ module window { attribute [CustomSetter] DOMString search; attribute [CustomSetter] DOMString hash; -#if defined(LANGUAGE_JAVASCRIPT) - [DontEnum, Custom] DOMString toString(); +#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT + [DontEnum, Custom, V8OnInstance, V8ReadOnly] DOMString toString(); +#endif +#if defined(V8_BINDING) && V8_BINDING + [DontEnum, Custom, V8OnInstance, V8ReadOnly] DOMObject valueOf(); #endif }; |