52 virtual JSC::UString className() const { return "global"; } |
52 virtual JSC::UString className() const { return "global"; } |
53 virtual void markChildren(JSC::MarkStack&); |
53 virtual void markChildren(JSC::MarkStack&); |
54 virtual bool getOwnPropertySlot(JSC::ExecState*, |
54 virtual bool getOwnPropertySlot(JSC::ExecState*, |
55 const JSC::Identifier& propertyName, |
55 const JSC::Identifier& propertyName, |
56 JSC::PropertySlot&); |
56 JSC::PropertySlot&); |
|
57 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, |
|
58 const JSC::Identifier& propertyName, |
|
59 JSC::PropertyDescriptor&); |
57 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
60 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
58 JSC::JSValue, JSC::PutPropertySlot&); |
61 JSC::JSValue, JSC::PutPropertySlot&); |
59 virtual void putWithAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
62 virtual void putWithAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
60 JSC::JSValue value, unsigned attributes); |
63 JSC::JSValue value, unsigned attributes); |
61 virtual bool deleteProperty(JSC::ExecState*, |
64 virtual bool deleteProperty(JSC::ExecState*, |
62 const JSC::Identifier& propertyName, |
65 const JSC::Identifier& propertyName); |
63 bool checkDontDelete = true); |
|
64 virtual bool getPropertyAttributes(JSC::ExecState*, const JSC::Identifier&, |
|
65 unsigned&) const; |
|
66 virtual void getOwnPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&, |
66 virtual void getOwnPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&, |
67 bool includeNonEnumerable = false); |
67 JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties); |
68 virtual void defineGetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes = 0); |
68 virtual void defineGetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes = 0); |
69 virtual void defineSetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes = 0); |
69 virtual void defineSetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes = 0); |
70 virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName); |
70 virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName); |
71 virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName); |
71 virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName); |
72 |
72 |
92 } |
92 } |
93 virtual bool getOwnPropertySlot(JSC::ExecState* exec, |
93 virtual bool getOwnPropertySlot(JSC::ExecState* exec, |
94 const JSC::Identifier& propertyName, |
94 const JSC::Identifier& propertyName, |
95 JSC::PropertySlot& slot) |
95 JSC::PropertySlot& slot) |
96 { return originalGlobalObject->JSC::JSGlobalObject::getOwnPropertySlot(exec, propertyName, slot); } |
96 { return originalGlobalObject->JSC::JSGlobalObject::getOwnPropertySlot(exec, propertyName, slot); } |
|
97 virtual bool getOwnPropertyDescriptor(JSC::ExecState* exec, |
|
98 const JSC::Identifier& propertyName, |
|
99 JSC::PropertyDescriptor& descriptor) |
|
100 { return originalGlobalObject->JSC::JSGlobalObject::getOwnPropertyDescriptor(exec, propertyName, descriptor); } |
97 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
101 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
98 JSC::JSValue value, JSC::PutPropertySlot& slot) |
102 JSC::JSValue value, JSC::PutPropertySlot& slot) |
99 { originalGlobalObject->JSC::JSGlobalObject::put(exec, propertyName, value, slot); } |
103 { originalGlobalObject->JSC::JSGlobalObject::put(exec, propertyName, value, slot); } |
100 virtual void putWithAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSValue value, unsigned attributes) |
104 virtual void putWithAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSValue value, unsigned attributes) |
101 { originalGlobalObject->JSC::JSGlobalObject::putWithAttributes(exec, propertyName, value, attributes); } |
105 { originalGlobalObject->JSC::JSGlobalObject::putWithAttributes(exec, propertyName, value, attributes); } |
102 virtual bool deleteProperty(JSC::ExecState* exec, |
106 virtual bool deleteProperty(JSC::ExecState* exec, |
103 const JSC::Identifier& propertyName, bool checkDontDelete = true) |
107 const JSC::Identifier& propertyName) |
104 { return originalGlobalObject->JSC::JSGlobalObject::deleteProperty(exec, propertyName, checkDontDelete); } |
108 { return originalGlobalObject->JSC::JSGlobalObject::deleteProperty(exec, propertyName); } |
105 virtual bool getPropertyAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, |
109 virtual void getOwnPropertyNames(JSC::ExecState* exec, JSC::PropertyNameArray& propertyNames, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties) |
106 unsigned& attributes) const |
110 { originalGlobalObject->JSC::JSGlobalObject::getOwnPropertyNames(exec, propertyNames, mode); } |
107 { return originalGlobalObject->JSC::JSGlobalObject::getPropertyAttributes(exec, propertyName, attributes); } |
|
108 virtual void getOwnPropertyNames(JSC::ExecState* exec, JSC::PropertyNameArray& propertyNames, bool includeNonEnumerable = false) |
|
109 { originalGlobalObject->JSC::JSGlobalObject::getOwnPropertyNames(exec, propertyNames, includeNonEnumerable); } |
|
110 virtual void defineGetter(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes) |
111 virtual void defineGetter(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes) |
111 { originalGlobalObject->JSC::JSGlobalObject::defineGetter(exec, propertyName, getterFunction, attributes); } |
112 { originalGlobalObject->JSC::JSGlobalObject::defineGetter(exec, propertyName, getterFunction, attributes); } |
112 virtual void defineSetter(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes) |
113 virtual void defineSetter(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes) |
113 { originalGlobalObject->JSC::JSGlobalObject::defineSetter(exec, propertyName, setterFunction, attributes); } |
114 { originalGlobalObject->JSC::JSGlobalObject::defineSetter(exec, propertyName, setterFunction, attributes); } |
114 virtual JSC::JSValue lookupGetter(JSC::ExecState* exec, const JSC::Identifier& propertyName) |
115 virtual JSC::JSValue lookupGetter(JSC::ExecState* exec, const JSC::Identifier& propertyName) |