Changeset 196331 in webkit
- Timestamp:
- Feb 9, 2016 1:19:59 PM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 60 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSCallbackObject.h
r194369 r196331 212 212 213 213 JSValue getStaticValue(ExecState*, PropertyName); 214 static EncodedJSValue staticFunctionGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);215 static EncodedJSValue callbackGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);214 static EncodedJSValue staticFunctionGetter(ExecState*, EncodedJSValue, PropertyName); 215 static EncodedJSValue callbackGetter(ExecState*, EncodedJSValue, PropertyName); 216 216 217 217 std::unique_ptr<JSCallbackObjectData> m_callbackObjectData; -
trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
r187279 r196331 601 601 602 602 template <class Parent> 603 EncodedJSValue JSCallbackObject<Parent>::staticFunctionGetter(ExecState* exec, JSObject* slotParent, EncodedJSValue, PropertyName propertyName)604 { 605 JSCallbackObject* thisObj = asCallbackObject( slotParent);603 EncodedJSValue JSCallbackObject<Parent>::staticFunctionGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 604 { 605 JSCallbackObject* thisObj = asCallbackObject(thisValue); 606 606 607 607 // Check for cached or override property. … … 629 629 630 630 template <class Parent> 631 EncodedJSValue JSCallbackObject<Parent>::callbackGetter(ExecState* exec, JSObject* slotParent, EncodedJSValue, PropertyName propertyName)632 { 633 JSCallbackObject* thisObj = asCallbackObject( slotParent);631 EncodedJSValue JSCallbackObject<Parent>::callbackGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 632 { 633 JSCallbackObject* thisObj = asCallbackObject(thisValue); 634 634 635 635 JSObjectRef thisRef = toRef(thisObj); -
trunk/Source/JavaScriptCore/ChangeLog
r196323 r196331 1 2016-02-07 Gavin Barraclough <barraclough@apple.com> 2 3 GetValueFunc/PutValueFunc should not take both slotBase and thisValue 4 https://bugs.webkit.org/show_bug.cgi?id=154009 5 6 Reviewed by Geoff Garen. 7 8 In JavaScript there are two types of properties - regular value properties, and accessor properties. 9 One difference between these is how they are reflected by getOwnPropertyDescriptor, and another is 10 what object they operate on in the case of a prototype access. If you access a value property of a 11 prototype object it return a value pertinent to the prototype, but in the case of a prototype object 12 returning an accessor, then the accessor function is applied to the base object of the access. 13 14 JSC supports special 'custom' properties implemented as a c++ callback, and these custom properties 15 can be used to implement either value- or accessor-like behavior. getOwnPropertyDescriptor behavior 16 is selected via the CustomAccessor attribute. Value- or accessor-like object selection is current 17 supported by passing both the slotBase and the thisValue to the callback,and hoping it uses the 18 right one. This is probably inefficient, bug-prone, and leads to crazy like JSBoundSlotBaseFunction. 19 20 Instead, just pass one thisValue to the callback functions, consistent with CustomAccessor. 21 22 * API/JSCallbackObject.h: 23 * API/JSCallbackObjectFunctions.h: 24 (JSC::JSCallbackObject<Parent>::getStaticValue): 25 (JSC::JSCallbackObject<Parent>::staticFunctionGetter): 26 (JSC::JSCallbackObject<Parent>::callbackGetter): 27 - Merged slotBase & thisValue to custom property callbacks. 28 * bytecode/PolymorphicAccess.cpp: 29 (JSC::AccessCase::generate): 30 - Modified the call being JIT generated - GetValueFunc/PutValueFunc now only take 3, 31 rather than 4 arguments. Selects which one to keep/drop based on access type. 32 (WTF::printInternal): 33 * bytecode/PolymorphicAccess.h: 34 (JSC::AccessCase::isGet): 35 (JSC::AccessCase::isPut): 36 (JSC::AccessCase::isIn): 37 (JSC::AccessCase::doesCalls): 38 (JSC::AccessCase::isGetter): 39 * bytecode/PutByIdStatus.cpp: 40 (JSC::PutByIdStatus::computeForStubInfo): 41 * jit/Repatch.cpp: 42 (JSC::tryCacheGetByID): 43 (JSC::tryCachePutByID): 44 - Split the CustomGetter/Setter access types into Value/Accessor variants. 45 * jsc.cpp: 46 (WTF::CustomGetter::getOwnPropertySlot): 47 (WTF::CustomGetter::customGetter): 48 (WTF::RuntimeArray::RuntimeArray): 49 (WTF::RuntimeArray::lengthGetter): 50 - Merged slotBase & thisValue to custom property callbacks. 51 * runtime/CustomGetterSetter.cpp: 52 (JSC::callCustomSetter): 53 - Pass 3 arguments when calling PutValueFunc. 54 * runtime/CustomGetterSetter.h: 55 * runtime/JSBoundSlotBaseFunction.cpp: 56 (JSC::boundSlotBaseFunctionCall): 57 (JSC::JSBoundSlotBaseFunction::JSBoundSlotBaseFunction): 58 * runtime/JSCJSValue.cpp: 59 (JSC::JSValue::putToPrimitive): 60 - callCustomSetter currently takes a flag to distinguish value/accessor calls. 61 * runtime/JSFunction.cpp: 62 (JSC::retrieveArguments): 63 (JSC::JSFunction::argumentsGetter): 64 (JSC::retrieveCallerFunction): 65 (JSC::JSFunction::callerGetter): 66 (JSC::JSFunction::lengthGetter): 67 (JSC::JSFunction::nameGetter): 68 * runtime/JSFunction.h: 69 * runtime/JSModuleNamespaceObject.cpp: 70 (JSC::JSModuleNamespaceObject::visitChildren): 71 (JSC::callbackGetter): 72 - Merged slotBase & thisValue to custom property callbacks. 73 * runtime/JSObject.cpp: 74 (JSC::JSObject::putInlineSlow): 75 - callCustomSetter currently takes a flag to distinguish value/accessor calls. 76 * runtime/Lookup.h: 77 (JSC::putEntry): 78 - split PutPropertySlot setCustom into Value/Accessor variants. 79 * runtime/PropertySlot.cpp: 80 (JSC::PropertySlot::functionGetter): 81 (JSC::PropertySlot::customGetter): 82 * runtime/PropertySlot.h: 83 (JSC::PropertySlot::PropertySlot): 84 (JSC::PropertySlot::getValue): 85 - added customGetter helper to call GetValueFunc. 86 * runtime/PutPropertySlot.h: 87 (JSC::PutPropertySlot::PutPropertySlot): 88 (JSC::PutPropertySlot::setNewProperty): 89 (JSC::PutPropertySlot::setCustomValue): 90 (JSC::PutPropertySlot::setCustomAccessor): 91 (JSC::PutPropertySlot::setThisValue): 92 (JSC::PutPropertySlot::customSetter): 93 (JSC::PutPropertySlot::context): 94 (JSC::PutPropertySlot::isStrictMode): 95 (JSC::PutPropertySlot::isCacheablePut): 96 (JSC::PutPropertySlot::isCacheableSetter): 97 (JSC::PutPropertySlot::isCacheableCustom): 98 (JSC::PutPropertySlot::isCustomAccessor): 99 (JSC::PutPropertySlot::isInitialization): 100 (JSC::PutPropertySlot::cachedOffset): 101 (JSC::PutPropertySlot::setCustomProperty): Deleted. 102 - split PutPropertySlot setCustom into Value/Accessor variants. 103 * runtime/RegExpConstructor.cpp: 104 (JSC::RegExpConstructor::getOwnPropertySlot): 105 (JSC::regExpConstructorDollar1): 106 (JSC::regExpConstructorDollar2): 107 (JSC::regExpConstructorDollar3): 108 (JSC::regExpConstructorDollar4): 109 (JSC::regExpConstructorDollar5): 110 (JSC::regExpConstructorDollar6): 111 (JSC::regExpConstructorDollar7): 112 (JSC::regExpConstructorDollar8): 113 (JSC::regExpConstructorDollar9): 114 (JSC::regExpConstructorInput): 115 (JSC::regExpConstructorMultiline): 116 (JSC::regExpConstructorLastMatch): 117 (JSC::regExpConstructorLastParen): 118 (JSC::regExpConstructorLeftContext): 119 (JSC::regExpConstructorRightContext): 120 (JSC::setRegExpConstructorInput): 121 (JSC::setRegExpConstructorMultiline): 122 * runtime/RegExpObject.cpp: 123 (JSC::RegExpObject::defineOwnProperty): 124 (JSC::regExpObjectSetLastIndexStrict): 125 (JSC::regExpObjectSetLastIndexNonStrict): 126 (JSC::RegExpObject::put): 127 - Merged slotBase & thisValue to custom property callbacks. 128 1 129 2016-02-09 Filip Pizlo <fpizlo@apple.com> 2 130 -
trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp
r194496 r196331 524 524 case Getter: 525 525 case Setter: 526 case CustomGetter: 527 case CustomSetter: { 526 case CustomValueGetter: 527 case CustomAccessorGetter: 528 case CustomValueSetter: 529 case CustomAccessorSetter: { 528 530 if (isValidOffset(m_offset)) { 529 531 Structure* currStructure; … … 554 556 555 557 GPRReg loadedValueGPR = InvalidGPRReg; 556 if (m_type != Custom Getter && m_type != CustomSetter) {558 if (m_type != CustomValueGetter && m_type != CustomAccessorGetter && m_type != CustomValueSetter && m_type != CustomAccessorSetter) { 557 559 if (m_type == Load) 558 560 loadedValueGPR = valueRegs.payloadGPR(); … … 751 753 jit.makeSpaceOnStackForCCall(); 752 754 753 // getter: EncodedJSValue (*GetValueFunc)(ExecState*, JSObject* slotBase, EncodedJSValue thisValue, PropertyName); 754 // setter: void (*PutValueFunc)(ExecState*, JSObject* base, EncodedJSValue thisObject, EncodedJSValue value); 755 // getter: EncodedJSValue (*GetValueFunc)(ExecState*, EncodedJSValue thisValue, PropertyName); 756 // setter: void (*PutValueFunc)(ExecState*, EncodedJSValue thisObject, EncodedJSValue value); 757 // Custom values are passed the slotBase (the property holder), custom accessors are passed the thisVaule (reciever). 758 GPRReg baseForCustomValue = m_type == CustomValueGetter || m_type == CustomValueSetter ? baseForAccessGPR : baseForGetGPR; 755 759 #if USE(JSVALUE64) 756 if (m_type == Custom Getter) {760 if (m_type == CustomValueGetter || m_type == CustomAccessorGetter) { 757 761 jit.setupArgumentsWithExecState( 758 baseFor AccessGPR, baseForGetGPR,762 baseForCustomValue, 759 763 CCallHelpers::TrustedImmPtr(ident.impl())); 760 764 } else 761 jit.setupArgumentsWithExecState(baseFor AccessGPR, baseForGetGPR, valueRegs.gpr());765 jit.setupArgumentsWithExecState(baseForCustomValue, valueRegs.gpr()); 762 766 #else 763 if (m_type == Custom Getter) {767 if (m_type == CustomValueGetter || m_type == CustomAccessorGetter) { 764 768 jit.setupArgumentsWithExecState( 765 baseFor AccessGPR, baseForGetGPR,769 baseForCustomValue, 766 770 CCallHelpers::TrustedImm32(JSValue::CellTag), 767 771 CCallHelpers::TrustedImmPtr(ident.impl())); 768 772 } else { 769 773 jit.setupArgumentsWithExecState( 770 baseFor AccessGPR, baseForGetGPR,774 baseForCustomValue, 771 775 CCallHelpers::TrustedImm32(JSValue::CellTag), 772 776 valueRegs.payloadGPR(), valueRegs.tagGPR()); … … 776 780 777 781 operationCall = jit.call(); 778 if (m_type == Custom Getter)782 if (m_type == CustomValueGetter || m_type == CustomAccessorGetter) 779 783 jit.setupResults(valueRegs); 780 784 if (needsToMakeRoomOnStackForCCall) … … 1419 1423 out.print("Setter"); 1420 1424 return; 1421 case AccessCase::CustomGetter: 1422 out.print("CustomGetter"); 1423 return; 1424 case AccessCase::CustomSetter: 1425 out.print("CustomSetter"); 1425 case AccessCase::CustomValueGetter: 1426 out.print("CustomValueGetter"); 1427 return; 1428 case AccessCase::CustomAccessorGetter: 1429 out.print("CustomAccessorGetter"); 1430 return; 1431 case AccessCase::CustomValueSetter: 1432 out.print("CustomValueSetter"); 1433 return; 1434 case AccessCase::CustomAccessorSetter: 1435 out.print("CustomAccessorSetter"); 1426 1436 return; 1427 1437 case AccessCase::IntrinsicGetter: -
trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.h
r195865 r196331 59 59 Getter, 60 60 Setter, 61 CustomGetter, 62 CustomSetter, 61 CustomValueGetter, 62 CustomAccessorGetter, 63 CustomValueSetter, 64 CustomAccessorSetter, 63 65 IntrinsicGetter, 64 66 InHit, … … 74 76 case Replace: 75 77 case Setter: 76 case CustomSetter: 78 case CustomValueSetter: 79 case CustomAccessorSetter: 77 80 case InHit: 78 81 case InMiss: … … 81 84 case Miss: 82 85 case Getter: 83 case CustomGetter: 86 case CustomValueGetter: 87 case CustomAccessorGetter: 84 88 case IntrinsicGetter: 85 89 case ArrayLength: … … 95 99 case Miss: 96 100 case Getter: 97 case CustomGetter: 101 case CustomValueGetter: 102 case CustomAccessorGetter: 98 103 case IntrinsicGetter: 99 104 case InHit: … … 105 110 case Replace: 106 111 case Setter: 107 case CustomSetter: 112 case CustomValueSetter: 113 case CustomAccessorSetter: 108 114 return true; 109 115 } … … 116 122 case Miss: 117 123 case Getter: 118 case CustomGetter: 124 case CustomValueGetter: 125 case CustomAccessorGetter: 119 126 case IntrinsicGetter: 120 127 case Transition: 121 128 case Replace: 122 129 case Setter: 123 case CustomSetter: 130 case CustomValueSetter: 131 case CustomAccessorSetter: 124 132 case ArrayLength: 125 133 case StringLength: … … 209 217 case Getter: 210 218 case Setter: 211 case CustomGetter: 212 case CustomSetter: 219 case CustomValueGetter: 220 case CustomAccessorGetter: 221 case CustomValueSetter: 222 case CustomAccessorSetter: 213 223 return true; 214 224 default: … … 221 231 switch (type()) { 222 232 case Getter: 223 case CustomGetter: 233 case CustomValueGetter: 234 case CustomAccessorGetter: 224 235 return true; 225 236 default: -
trunk/Source/JavaScriptCore/bytecode/PutByIdStatus.cpp
r194496 r196331 239 239 } 240 240 241 case AccessCase::CustomSetter: 241 case AccessCase::CustomValueSetter: 242 case AccessCase::CustomAccessorSetter: 242 243 return PutByIdStatus(MakesCalls); 243 244 -
trunk/Source/JavaScriptCore/jit/CCallHelpers.h
r194766 r196331 679 679 } 680 680 681 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, TrustedImm32 arg2, GPRReg arg3, GPRReg arg4) 682 { 683 resetCallArguments(); 684 addCallArgument(GPRInfo::callFrameRegister); 685 addCallArgument(arg1); 686 addCallArgument(arg2); 687 addCallArgument(arg3); 688 addCallArgument(arg4); 689 } 690 681 691 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, GPRReg arg2, GPRReg arg3, GPRReg arg4, GPRReg arg5) 682 692 { … … 1679 1689 } 1680 1690 1691 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, TrustedImm32 arg2, GPRReg arg3, GPRReg arg4) 1692 { 1693 poke(arg4, POKE_ARGUMENT_OFFSET); 1694 setupArgumentsWithExecState(arg1, arg2, arg3); 1695 } 1696 1681 1697 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, GPRReg arg2, TrustedImm32 arg3, GPRReg arg4, GPRReg arg5) 1682 1698 { -
trunk/Source/JavaScriptCore/jit/Repatch.cpp
r194496 r196331 304 304 else if (slot.isCacheableGetter()) 305 305 type = AccessCase::Getter; 306 else if (slot.attributes() & CustomAccessor) 307 type = AccessCase::CustomAccessorGetter; 306 308 else 307 type = AccessCase::Custom Getter;309 type = AccessCase::CustomValueGetter; 308 310 309 311 newCase = AccessCase::get( … … 435 437 436 438 newCase = AccessCase::setter( 437 vm, codeBlock, AccessCase::CustomSetter, structure, invalidOffset, conditionSet,439 vm, codeBlock, slot.isCustomAccessor() ? AccessCase::CustomAccessorSetter : AccessCase::CustomValueSetter, structure, invalidOffset, conditionSet, 438 440 slot.customSetter(), slot.base()); 439 441 } else { -
trunk/Source/JavaScriptCore/jsc.cpp
r196165 r196331 350 350 351 351 private: 352 static EncodedJSValue customGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName)352 static EncodedJSValue customGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 353 353 { 354 354 CustomGetter* thisObject = jsDynamicCast<CustomGetter*>(JSValue::decode(thisValue)); … … 455 455 } 456 456 457 static EncodedJSValue lengthGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName)457 static EncodedJSValue lengthGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 458 458 { 459 459 RuntimeArray* thisObject = jsDynamicCast<RuntimeArray*>(JSValue::decode(thisValue)); -
trunk/Source/JavaScriptCore/runtime/CustomGetterSetter.cpp
r171824 r196331 28 28 29 29 #include "JSCJSValueInlines.h" 30 #include "JSObject.h" 30 31 #include "SlotVisitorInlines.h" 31 32 #include <wtf/Assertions.h> … … 37 38 const ClassInfo CustomGetterSetter::s_info = { "CustomGetterSetter", 0, 0, CREATE_METHOD_TABLE(CustomGetterSetter) }; 38 39 39 void callCustomSetter(ExecState* exec, JSValue customGetterSetter, JSObject* base, JSValue thisValue, JSValue value)40 void callCustomSetter(ExecState* exec, JSValue customGetterSetter, bool isAccessor, JSObject* base, JSValue thisValue, JSValue value) 40 41 { 41 42 CustomGetterSetter::CustomSetter setter = jsCast<CustomGetterSetter*>(customGetterSetter)->setter(); 42 43 if (!setter) 43 44 return; 44 setter(exec, base, JSValue::encode(thisValue), JSValue::encode(value)); 45 if (!isAccessor) 46 thisValue = base; 47 setter(exec, JSValue::encode(thisValue), JSValue::encode(value)); 45 48 } 46 49 -
trunk/Source/JavaScriptCore/runtime/CustomGetterSetter.h
r194175 r196331 71 71 }; 72 72 73 JS_EXPORT_PRIVATE void callCustomSetter(ExecState*, JSValue customGetterSetter, JSObject* base, JSValue thisValue, JSValue value);73 JS_EXPORT_PRIVATE void callCustomSetter(ExecState*, JSValue customGetterSetter, bool isAccessor, JSObject* slotBase, JSValue thisValue, JSValue); 74 74 75 75 } // namespace JSC -
trunk/Source/JavaScriptCore/runtime/JSBoundSlotBaseFunction.cpp
r196001 r196331 43 43 44 44 if (boundSlotBaseFunction->isSetter()) { 45 callCustomSetter(exec, customGetterSetter, baseObject, exec->thisValue(), exec->argument(0));45 callCustomSetter(exec, customGetterSetter, true, baseObject, exec->thisValue(), exec->argument(0)); 46 46 return JSValue::encode(jsUndefined()); 47 47 } … … 52 52 53 53 const String& name = boundSlotBaseFunction->name(exec); 54 return getter(exec, baseObject,JSValue::encode(exec->thisValue()), PropertyName(Identifier::fromString(exec, name)));54 return getter(exec, JSValue::encode(exec->thisValue()), PropertyName(Identifier::fromString(exec, name))); 55 55 } 56 56 -
trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
r189811 r196331 170 170 171 171 if (gs.isCustomGetterSetter()) { 172 callCustomSetter(exec, gs, obj, slot.thisValue(), value);172 callCustomSetter(exec, gs, attributes & CustomAccessor, obj, slot.thisValue(), value); 173 173 return; 174 174 } -
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r195070 r196331 270 270 } 271 271 272 EncodedJSValue JSFunction::argumentsGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)273 { 274 JSFunction* thisObj = jsCast<JSFunction*>( slotBase);272 EncodedJSValue JSFunction::argumentsGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 273 { 274 JSFunction* thisObj = jsCast<JSFunction*>(JSValue::decode(thisValue)); 275 275 ASSERT(!thisObj->isHostFunction()); 276 276 … … 325 325 } 326 326 327 EncodedJSValue JSFunction::callerGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)328 { 329 JSFunction* thisObj = jsCast<JSFunction*>( slotBase);327 EncodedJSValue JSFunction::callerGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 328 { 329 JSFunction* thisObj = jsCast<JSFunction*>(JSValue::decode(thisValue)); 330 330 ASSERT(!thisObj->isHostFunction()); 331 331 JSValue caller = retrieveCallerFunction(exec, thisObj); … … 344 344 } 345 345 346 EncodedJSValue JSFunction::lengthGetter(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)347 { 348 JSFunction* thisObj = jsCast<JSFunction*>( slotBase);346 EncodedJSValue JSFunction::lengthGetter(ExecState*, EncodedJSValue thisValue, PropertyName) 347 { 348 JSFunction* thisObj = jsCast<JSFunction*>(JSValue::decode(thisValue)); 349 349 ASSERT(!thisObj->isHostFunction()); 350 350 return JSValue::encode(jsNumber(thisObj->jsExecutable()->parameterCount())); 351 351 } 352 352 353 EncodedJSValue JSFunction::nameGetter(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)354 { 355 JSFunction* thisObj = jsCast<JSFunction*>( slotBase);353 EncodedJSValue JSFunction::nameGetter(ExecState*, EncodedJSValue thisValue, PropertyName) 354 { 355 JSFunction* thisObj = jsCast<JSFunction*>(JSValue::decode(thisValue)); 356 356 ASSERT(!thisObj->isHostFunction()); 357 357 return JSValue::encode(thisObj->jsExecutable()->nameValue()); -
trunk/Source/JavaScriptCore/runtime/JSFunction.h
r195070 r196331 190 190 friend class LLIntOffsetsExtractor; 191 191 192 static EncodedJSValue argumentsGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);193 static EncodedJSValue callerGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);194 static EncodedJSValue lengthGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);195 static EncodedJSValue nameGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);192 static EncodedJSValue argumentsGetter(ExecState*, EncodedJSValue, PropertyName); 193 static EncodedJSValue callerGetter(ExecState*, EncodedJSValue, PropertyName); 194 static EncodedJSValue lengthGetter(ExecState*, EncodedJSValue, PropertyName); 195 static EncodedJSValue nameGetter(ExecState*, EncodedJSValue, PropertyName); 196 196 197 197 WriteBarrier<ExecutableBase> m_executable; -
trunk/Source/JavaScriptCore/runtime/JSModuleNamespaceObject.cpp
r191864 r196331 96 96 } 97 97 98 static EncodedJSValue callbackGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName propertyName)98 static EncodedJSValue callbackGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 99 99 { 100 100 JSModuleNamespaceObject* thisObject = jsCast<JSModuleNamespaceObject*>(JSValue::decode(thisValue)); -
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r196220 r196331 401 401 } 402 402 if (gs.isCustomGetterSetter()) { 403 callCustomSetter(exec, gs, obj, slot.thisValue(), value); 404 slot.setCustomProperty(obj, jsCast<CustomGetterSetter*>(gs.asCell())->setter()); 403 callCustomSetter(exec, gs, attributes & CustomAccessor, obj, slot.thisValue(), value); 404 if (attributes & CustomAccessor) 405 slot.setCustomAccessor(obj, jsCast<CustomGetterSetter*>(gs.asCell())->setter()); 406 else 407 slot.setCustomValue(obj, jsCast<CustomGetterSetter*>(gs.asCell())->setter()); 405 408 return; 406 409 } -
trunk/Source/JavaScriptCore/runtime/Lookup.h
r196145 r196331 277 277 throwTypeError(exec, StrictModeReadonlyPropertyWriteError); 278 278 } else if (!(entry->attributes() & ReadOnly)) { 279 entry->propertyPutter()(exec, base, JSValue::encode(slot.thisValue()), JSValue::encode(value)); 280 slot.setCustomProperty(base, entry->propertyPutter()); 279 JSValue thisValue = entry->attributes() & CustomAccessor ? slot.thisValue() : JSValue(base); 280 entry->propertyPutter()(exec, JSValue::encode(thisValue), JSValue::encode(value)); 281 if (entry->attributes() & CustomAccessor) 282 slot.setCustomAccessor(base, entry->propertyPutter()); 283 else 284 slot.setCustomValue(base, entry->propertyPutter()); 281 285 } else if (slot.isStrictMode()) 282 286 throwTypeError(exec, StrictModeReadonlyPropertyWriteError); -
trunk/Source/JavaScriptCore/runtime/PropertySlot.cpp
r153556 r196331 24 24 #include "GetterSetter.h" 25 25 #include "JSCJSValueInlines.h" 26 #include "JSObject.h" 26 27 27 28 namespace JSC { … … 33 34 } 34 35 36 JSValue PropertySlot::customGetter(ExecState* exec, PropertyName propertyName) const 37 { 38 JSValue thisValue = m_attributes & CustomAccessor ? m_thisValue : JSValue(slotBase()); 39 return JSValue::decode(m_data.custom.getValue(exec, JSValue::encode(thisValue), propertyName)); 40 } 41 35 42 } // namespace JSC -
trunk/Source/JavaScriptCore/runtime/PropertySlot.h
r189160 r196331 83 83 } 84 84 85 typedef EncodedJSValue (*GetValueFunc)(ExecState*, JSObject* slotBase,EncodedJSValue thisValue, PropertyName);85 typedef EncodedJSValue (*GetValueFunc)(ExecState*, EncodedJSValue thisValue, PropertyName); 86 86 87 87 JSValue getValue(ExecState*, PropertyName) const; … … 250 250 private: 251 251 JS_EXPORT_PRIVATE JSValue functionGetter(ExecState*) const; 252 JS_EXPORT_PRIVATE JSValue customGetter(ExecState*, PropertyName) const; 252 253 253 254 unsigned m_attributes; … … 276 277 if (m_propertyType == TypeGetter) 277 278 return functionGetter(exec); 278 return JSValue::decode(m_data.custom.getValue(exec, slotBase(), JSValue::encode(m_thisValue), propertyName));279 return customGetter(exec, propertyName); 279 280 } 280 281 … … 285 286 if (m_propertyType == TypeGetter) 286 287 return functionGetter(exec); 287 return JSValue::decode(m_data.custom.getValue(exec, slotBase(), JSValue::encode(m_thisValue), Identifier::from(exec, propertyName)));288 return customGetter(exec, Identifier::from(exec, propertyName)); 288 289 } 289 290 -
trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
r189279 r196331 39 39 class PutPropertySlot { 40 40 public: 41 enum Type { Uncachable, ExistingProperty, NewProperty, SetterProperty, Custom Property};41 enum Type { Uncachable, ExistingProperty, NewProperty, SetterProperty, CustomValue, CustomAccessor }; 42 42 enum Context { UnknownContext, PutById, PutByIdEval }; 43 typedef void (*PutValueFunc)(ExecState*, JSObject* base,EncodedJSValue thisObject, EncodedJSValue value);43 typedef void (*PutValueFunc)(ExecState*, EncodedJSValue thisObject, EncodedJSValue value); 44 44 45 45 PutPropertySlot(JSValue thisValue, bool isStrictMode = false, Context context = UnknownContext, bool isInitialization = false) … … 69 69 } 70 70 71 void setCustom Property(JSObject* base, PutValueFunc function)71 void setCustomValue(JSObject* base, PutValueFunc function) 72 72 { 73 m_type = CustomProperty; 73 m_type = CustomValue; 74 m_base = base; 75 m_putFunction = function; 76 } 77 78 void setCustomAccessor(JSObject* base, PutValueFunc function) 79 { 80 m_type = CustomAccessor; 74 81 m_base = base; 75 82 m_putFunction = function; … … 88 95 } 89 96 90 PutValueFunc customSetter() const { return m_putFunction; } 97 PutValueFunc customSetter() const 98 { 99 ASSERT(isCacheableCustom()); 100 return m_putFunction; 101 } 91 102 92 103 Context context() const { return static_cast<Context>(m_context); } … … 99 110 bool isCacheablePut() const { return m_type == NewProperty || m_type == ExistingProperty; } 100 111 bool isCacheableSetter() const { return m_type == SetterProperty; } 101 bool isCacheableCustom() const { return m_type == CustomProperty; } 112 bool isCacheableCustom() const { return m_type == CustomValue || m_type == CustomAccessor; } 113 bool isCustomAccessor() const { return m_type == CustomAccessor; } 102 114 bool isInitialization() const { return m_isInitialization; } 103 115 -
trunk/Source/JavaScriptCore/runtime/RegExpConstructor.cpp
r195460 r196331 32 32 namespace JSC { 33 33 34 static EncodedJSValue regExpConstructorInput(ExecState*, JSObject*,EncodedJSValue, PropertyName);35 static EncodedJSValue regExpConstructorMultiline(ExecState*, JSObject*,EncodedJSValue, PropertyName);36 static EncodedJSValue regExpConstructorLastMatch(ExecState*, JSObject*,EncodedJSValue, PropertyName);37 static EncodedJSValue regExpConstructorLastParen(ExecState*, JSObject*,EncodedJSValue, PropertyName);38 static EncodedJSValue regExpConstructorLeftContext(ExecState*, JSObject*,EncodedJSValue, PropertyName);39 static EncodedJSValue regExpConstructorRightContext(ExecState*, JSObject*,EncodedJSValue, PropertyName);40 static EncodedJSValue regExpConstructorDollar1(ExecState*, JSObject*,EncodedJSValue, PropertyName);41 static EncodedJSValue regExpConstructorDollar2(ExecState*, JSObject*,EncodedJSValue, PropertyName);42 static EncodedJSValue regExpConstructorDollar3(ExecState*, JSObject*,EncodedJSValue, PropertyName);43 static EncodedJSValue regExpConstructorDollar4(ExecState*, JSObject*,EncodedJSValue, PropertyName);44 static EncodedJSValue regExpConstructorDollar5(ExecState*, JSObject*,EncodedJSValue, PropertyName);45 static EncodedJSValue regExpConstructorDollar6(ExecState*, JSObject*,EncodedJSValue, PropertyName);46 static EncodedJSValue regExpConstructorDollar7(ExecState*, JSObject*,EncodedJSValue, PropertyName);47 static EncodedJSValue regExpConstructorDollar8(ExecState*, JSObject*,EncodedJSValue, PropertyName);48 static EncodedJSValue regExpConstructorDollar9(ExecState*, JSObject*,EncodedJSValue, PropertyName);49 50 static void setRegExpConstructorInput(ExecState*, JSObject*,EncodedJSValue, EncodedJSValue);51 static void setRegExpConstructorMultiline(ExecState*, JSObject*,EncodedJSValue, EncodedJSValue);34 static EncodedJSValue regExpConstructorInput(ExecState*, EncodedJSValue, PropertyName); 35 static EncodedJSValue regExpConstructorMultiline(ExecState*, EncodedJSValue, PropertyName); 36 static EncodedJSValue regExpConstructorLastMatch(ExecState*, EncodedJSValue, PropertyName); 37 static EncodedJSValue regExpConstructorLastParen(ExecState*, EncodedJSValue, PropertyName); 38 static EncodedJSValue regExpConstructorLeftContext(ExecState*, EncodedJSValue, PropertyName); 39 static EncodedJSValue regExpConstructorRightContext(ExecState*, EncodedJSValue, PropertyName); 40 static EncodedJSValue regExpConstructorDollar1(ExecState*, EncodedJSValue, PropertyName); 41 static EncodedJSValue regExpConstructorDollar2(ExecState*, EncodedJSValue, PropertyName); 42 static EncodedJSValue regExpConstructorDollar3(ExecState*, EncodedJSValue, PropertyName); 43 static EncodedJSValue regExpConstructorDollar4(ExecState*, EncodedJSValue, PropertyName); 44 static EncodedJSValue regExpConstructorDollar5(ExecState*, EncodedJSValue, PropertyName); 45 static EncodedJSValue regExpConstructorDollar6(ExecState*, EncodedJSValue, PropertyName); 46 static EncodedJSValue regExpConstructorDollar7(ExecState*, EncodedJSValue, PropertyName); 47 static EncodedJSValue regExpConstructorDollar8(ExecState*, EncodedJSValue, PropertyName); 48 static EncodedJSValue regExpConstructorDollar9(ExecState*, EncodedJSValue, PropertyName); 49 50 static void setRegExpConstructorInput(ExecState*, EncodedJSValue, EncodedJSValue); 51 static void setRegExpConstructorMultiline(ExecState*, EncodedJSValue, EncodedJSValue); 52 52 53 53 } // namespace JSC … … 160 160 } 161 161 162 EncodedJSValue regExpConstructorDollar1(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)163 { 164 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 1));165 } 166 167 EncodedJSValue regExpConstructorDollar2(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)168 { 169 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 2));170 } 171 172 EncodedJSValue regExpConstructorDollar3(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)173 { 174 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 3));175 } 176 177 EncodedJSValue regExpConstructorDollar4(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)178 { 179 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 4));180 } 181 182 EncodedJSValue regExpConstructorDollar5(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)183 { 184 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 5));185 } 186 187 EncodedJSValue regExpConstructorDollar6(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)188 { 189 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 6));190 } 191 192 EncodedJSValue regExpConstructorDollar7(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)193 { 194 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 7));195 } 196 197 EncodedJSValue regExpConstructorDollar8(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)198 { 199 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 8));200 } 201 202 EncodedJSValue regExpConstructorDollar9(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)203 { 204 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 9));205 } 206 207 EncodedJSValue regExpConstructorInput(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)208 { 209 return JSValue::encode(asRegExpConstructor( slotBase)->input());210 } 211 212 EncodedJSValue regExpConstructorMultiline(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)213 { 214 return JSValue::encode(jsBoolean(asRegExpConstructor( slotBase)->multiline()));215 } 216 217 EncodedJSValue regExpConstructorLastMatch(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)218 { 219 return JSValue::encode(asRegExpConstructor( slotBase)->getBackref(exec, 0));220 } 221 222 EncodedJSValue regExpConstructorLastParen(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)223 { 224 return JSValue::encode(asRegExpConstructor( slotBase)->getLastParen(exec));225 } 226 227 EncodedJSValue regExpConstructorLeftContext(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)228 { 229 return JSValue::encode(asRegExpConstructor( slotBase)->getLeftContext(exec));230 } 231 232 EncodedJSValue regExpConstructorRightContext(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)233 { 234 return JSValue::encode(asRegExpConstructor( slotBase)->getRightContext(exec));235 } 236 237 void setRegExpConstructorInput(ExecState* exec, JSObject* baseObject, EncodedJSValue, EncodedJSValue value)238 { 239 if (auto constructor = jsDynamicCast<RegExpConstructor*>( baseObject))162 EncodedJSValue regExpConstructorDollar1(ExecState* exec, EncodedJSValue thisValue, PropertyName) 163 { 164 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 1)); 165 } 166 167 EncodedJSValue regExpConstructorDollar2(ExecState* exec, EncodedJSValue thisValue, PropertyName) 168 { 169 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 2)); 170 } 171 172 EncodedJSValue regExpConstructorDollar3(ExecState* exec, EncodedJSValue thisValue, PropertyName) 173 { 174 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 3)); 175 } 176 177 EncodedJSValue regExpConstructorDollar4(ExecState* exec, EncodedJSValue thisValue, PropertyName) 178 { 179 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 4)); 180 } 181 182 EncodedJSValue regExpConstructorDollar5(ExecState* exec, EncodedJSValue thisValue, PropertyName) 183 { 184 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 5)); 185 } 186 187 EncodedJSValue regExpConstructorDollar6(ExecState* exec, EncodedJSValue thisValue, PropertyName) 188 { 189 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 6)); 190 } 191 192 EncodedJSValue regExpConstructorDollar7(ExecState* exec, EncodedJSValue thisValue, PropertyName) 193 { 194 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 7)); 195 } 196 197 EncodedJSValue regExpConstructorDollar8(ExecState* exec, EncodedJSValue thisValue, PropertyName) 198 { 199 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 8)); 200 } 201 202 EncodedJSValue regExpConstructorDollar9(ExecState* exec, EncodedJSValue thisValue, PropertyName) 203 { 204 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 9)); 205 } 206 207 EncodedJSValue regExpConstructorInput(ExecState*, EncodedJSValue thisValue, PropertyName) 208 { 209 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->input()); 210 } 211 212 EncodedJSValue regExpConstructorMultiline(ExecState*, EncodedJSValue thisValue, PropertyName) 213 { 214 return JSValue::encode(jsBoolean(asRegExpConstructor(JSValue::decode(thisValue))->multiline())); 215 } 216 217 EncodedJSValue regExpConstructorLastMatch(ExecState* exec, EncodedJSValue thisValue, PropertyName) 218 { 219 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getBackref(exec, 0)); 220 } 221 222 EncodedJSValue regExpConstructorLastParen(ExecState* exec, EncodedJSValue thisValue, PropertyName) 223 { 224 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getLastParen(exec)); 225 } 226 227 EncodedJSValue regExpConstructorLeftContext(ExecState* exec, EncodedJSValue thisValue, PropertyName) 228 { 229 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getLeftContext(exec)); 230 } 231 232 EncodedJSValue regExpConstructorRightContext(ExecState* exec, EncodedJSValue thisValue, PropertyName) 233 { 234 return JSValue::encode(asRegExpConstructor(JSValue::decode(thisValue))->getRightContext(exec)); 235 } 236 237 void setRegExpConstructorInput(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue value) 238 { 239 if (auto constructor = jsDynamicCast<RegExpConstructor*>(JSValue::decode(thisValue))) 240 240 constructor->setInput(exec, JSValue::decode(value).toString(exec)); 241 241 } 242 242 243 void setRegExpConstructorMultiline(ExecState* exec, JSObject* baseObject, EncodedJSValue, EncodedJSValue value)244 { 245 if (auto constructor = jsDynamicCast<RegExpConstructor*>( baseObject))243 void setRegExpConstructorMultiline(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue value) 244 { 245 if (auto constructor = jsDynamicCast<RegExpConstructor*>(JSValue::decode(thisValue))) 246 246 constructor->setMultiline(JSValue::decode(value).toBoolean(exec)); 247 247 } -
trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
r185370 r196331 138 138 } 139 139 140 static void regExpObjectSetLastIndexStrict(ExecState* exec, JSObject* slotBase, EncodedJSValue, EncodedJSValue value)141 { 142 asRegExpObject( slotBase)->setLastIndex(exec, JSValue::decode(value), true);143 } 144 145 static void regExpObjectSetLastIndexNonStrict(ExecState* exec, JSObject* slotBase, EncodedJSValue, EncodedJSValue value)146 { 147 asRegExpObject( slotBase)->setLastIndex(exec, JSValue::decode(value), false);140 static void regExpObjectSetLastIndexStrict(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue value) 141 { 142 asRegExpObject(JSValue::decode(thisValue))->setLastIndex(exec, JSValue::decode(value), true); 143 } 144 145 static void regExpObjectSetLastIndexNonStrict(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue value) 146 { 147 asRegExpObject(JSValue::decode(thisValue))->setLastIndex(exec, JSValue::decode(value), false); 148 148 } 149 149 … … 152 152 if (propertyName == exec->propertyNames().lastIndex) { 153 153 asRegExpObject(cell)->setLastIndex(exec, value, slot.isStrictMode()); 154 slot.setCustom Property(asRegExpObject(cell), slot.isStrictMode()154 slot.setCustomValue(asRegExpObject(cell), slot.isStrictMode() 155 155 ? regExpObjectSetLastIndexStrict 156 156 : regExpObjectSetLastIndexNonStrict); -
trunk/Source/WebCore/ChangeLog
r196330 r196331 1 2016-02-07 Gavin Barraclough <barraclough@apple.com> 2 3 GetValueFunc/PutValueFunc should not take both slotBase and thisValue 4 https://bugs.webkit.org/show_bug.cgi?id=154009 5 6 Reviewed by Geoff Garen. 7 8 In JavaScript there are two types of properties - regular value properties, and accessor properties. 9 One difference between these is how they are reflected by getOwnPropertyDescriptor, and another is 10 what object they operate on in the case of a prototype access. If you access a value property of a 11 prototype object it return a value pertinent to the prototype, but in the case of a prototype object 12 returning an accessor, then the accessor function is applied to the base object of the access. 13 14 JSC supports special 'custom' properties implemented as a c++ callback, and these custom properties 15 can be used to implement either value- or accessor-like behavior. getOwnPropertyDescriptor behavior 16 is selected via the CustomAccessor attribute. Value- or accessor-like object selection is current 17 supported by passing both the slotBase and the thisValue to the callback,and hoping it uses the 18 right one. This is probably inefficient, bug-prone, and leads to crazy like JSBoundSlotBaseFunction. 19 20 Instead, just pass one thisValue to the callback functions, consistent with CustomAccessor. 21 22 * bindings/js/JSDOMBinding.cpp: 23 (WebCore::printErrorMessageForFrame): 24 (WebCore::objectToStringFunctionGetter): 25 * bindings/js/JSDOMBinding.h: 26 (WebCore::propertyNameToString): 27 (WebCore::getStaticValueSlotEntryWithoutCaching<JSDOMObject>): 28 (WebCore::nonCachingStaticFunctionGetter): 29 * bindings/js/JSDOMWindowCustom.cpp: 30 (WebCore::JSDOMWindow::visitAdditionalChildren): 31 (WebCore::childFrameGetter): 32 (WebCore::namedItemGetter): 33 (WebCore::jsDOMWindowWebKit): 34 (WebCore::jsDOMWindowIndexedDB): 35 - add missing null check, in case indexDB acessor is applied to non-window object. 36 * bindings/js/JSPluginElementFunctions.cpp: 37 (WebCore::pluginScriptObject): 38 (WebCore::pluginElementPropertyGetter): 39 * bindings/js/JSPluginElementFunctions.h: 40 * bindings/scripts/CodeGeneratorJS.pm: 41 (GenerateHeader): 42 (GenerateImplementation): 43 * bridge/runtime_array.cpp: 44 (JSC::RuntimeArray::destroy): 45 (JSC::RuntimeArray::lengthGetter): 46 * bridge/runtime_array.h: 47 * bridge/runtime_method.cpp: 48 (JSC::RuntimeMethod::finishCreation): 49 (JSC::RuntimeMethod::lengthGetter): 50 * bridge/runtime_method.h: 51 * bridge/runtime_object.cpp: 52 (JSC::Bindings::RuntimeObject::invalidate): 53 (JSC::Bindings::RuntimeObject::fallbackObjectGetter): 54 (JSC::Bindings::RuntimeObject::fieldGetter): 55 (JSC::Bindings::RuntimeObject::methodGetter): 56 * bridge/runtime_object.h: 57 - Merged slotBase & thisValue to custom property callbacks. 58 1 59 2016-02-09 Jer Noble <jer.noble@apple.com> 2 60 -
trunk/Source/WebCore/bindings/js/JSDOMBinding.cpp
r193428 r196331 335 335 } 336 336 337 EncodedJSValue objectToStringFunctionGetter(ExecState* exec, JSObject*,EncodedJSValue, PropertyName propertyName)337 EncodedJSValue objectToStringFunctionGetter(ExecState* exec, EncodedJSValue, PropertyName propertyName) 338 338 { 339 339 return JSValue::encode(JSFunction::create(exec->vm(), exec->lexicalGlobalObject(), 0, propertyName.publicName(), objectProtoFuncToString)); -
trunk/Source/WebCore/bindings/js/JSDOMBinding.h
r196128 r196331 654 654 655 655 void printErrorMessageForFrame(Frame*, const String& message); 656 JSC::EncodedJSValue objectToStringFunctionGetter(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);656 JSC::EncodedJSValue objectToStringFunctionGetter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 657 657 658 658 inline String propertyNameToString(JSC::PropertyName propertyName) … … 684 684 685 685 template<JSC::NativeFunction nativeFunction, int length> 686 JSC::EncodedJSValue nonCachingStaticFunctionGetter(JSC::ExecState* exec, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName propertyName)686 JSC::EncodedJSValue nonCachingStaticFunctionGetter(JSC::ExecState* exec, JSC::EncodedJSValue, JSC::PropertyName propertyName) 687 687 { 688 688 return JSC::JSValue::encode(JSC::JSFunction::create(exec->vm(), exec->lexicalGlobalObject(), length, propertyName.publicName(), nativeFunction)); -
trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp
r195594 r196331 67 67 } 68 68 69 static EncodedJSValue childFrameGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)70 { 71 return JSValue::encode(toJS(exec, jsCast<JSDOMWindow*>( slotBase)->wrapped().frame()->tree().scopedChild(propertyNameToAtomicString(propertyName))->document()->domWindow()));72 } 73 74 static EncodedJSValue namedItemGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)75 { 76 JSDOMWindowBase* thisObj = jsCast<JSDOMWindow*>( slotBase);69 static EncodedJSValue childFrameGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 70 { 71 return JSValue::encode(toJS(exec, jsCast<JSDOMWindow*>(JSValue::decode(thisValue))->wrapped().frame()->tree().scopedChild(propertyNameToAtomicString(propertyName))->document()->domWindow())); 72 } 73 74 static EncodedJSValue namedItemGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 75 { 76 JSDOMWindowBase* thisObj = jsCast<JSDOMWindow*>(JSValue::decode(thisValue)); 77 77 Document* document = thisObj->wrapped().frame()->document(); 78 78 … … 94 94 95 95 #if ENABLE(USER_MESSAGE_HANDLERS) 96 static EncodedJSValue jsDOMWindowWebKit(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName)96 static EncodedJSValue jsDOMWindowWebKit(ExecState* exec, EncodedJSValue thisValue, PropertyName) 97 97 { 98 98 JSDOMWindow* castedThis = toJSDOMWindow(JSValue::decode(thisValue)); … … 104 104 105 105 #if ENABLE(INDEXED_DATABASE) 106 static EncodedJSValue jsDOMWindowIndexedDB(ExecState* exec, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)106 static EncodedJSValue jsDOMWindowIndexedDB(ExecState* exec, EncodedJSValue thisValue, PropertyName) 107 107 { 108 108 UNUSED_PARAM(exec); 109 UNUSED_PARAM(slotBase);110 UNUSED_PARAM(thisValue);111 109 auto* castedThis = toJSDOMWindow(JSValue::decode(thisValue)); 112 110 if (!RuntimeEnabledFeatures::sharedFeatures().indexedDBEnabled()) 113 111 return JSValue::encode(jsUndefined()); 114 if (! BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->wrapped()))112 if (!castedThis || !BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->wrapped())) 115 113 return JSValue::encode(jsUndefined()); 116 114 auto& impl = castedThis->wrapped(); -
trunk/Source/WebCore/bindings/js/JSPluginElementFunctions.cpp
r191887 r196331 95 95 } 96 96 97 EncodedJSValue pluginElementPropertyGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName propertyName)97 EncodedJSValue pluginElementPropertyGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 98 98 { 99 99 -
trunk/Source/WebCore/bindings/js/JSPluginElementFunctions.h
r195904 r196331 39 39 WEBCORE_EXPORT JSC::JSObject* pluginScriptObject(JSC::ExecState*, JSHTMLElement*); 40 40 41 JSC::EncodedJSValue pluginElementPropertyGetter(JSC::ExecState*, JSC::JSObject*, JSC::EncodedJSValue, JSC::PropertyName); 41 JSC::EncodedJSValue pluginElementPropertyGetter(JSC::ExecState*, 42 JSC::EncodedJSValue, JSC::PropertyName); 42 43 bool pluginElementCustomGetOwnPropertySlot(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&, JSHTMLElement*); 43 44 bool pluginElementCustomPut(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSHTMLElement*, JSC::PutPropertySlot&); -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r196303 r196331 1303 1303 push(@headerContent, "#if ${conditionalString}\n") if $conditionalString; 1304 1304 my $getter = GetAttributeGetterName($interfaceName, $className, $interface, $attribute); 1305 push(@headerContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);\n");1305 push(@headerContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);\n"); 1306 1306 if (!IsReadonly($attribute)) { 1307 1307 my $setter = GetAttributeSetterName($interfaceName, $className, $interface, $attribute); 1308 push(@headerContent, "void ${setter}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n");1308 push(@headerContent, "void ${setter}(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n"); 1309 1309 } 1310 1310 push(@headerContent, "#endif\n") if $conditionalString; … … 1836 1836 push(@implContent, "#if ${conditionalString}\n") if $conditionalString; 1837 1837 my $getter = GetAttributeGetterName($interfaceName, $className, $interface, $attribute); 1838 push(@implContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);\n");1838 push(@implContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);\n"); 1839 1839 if (!IsReadonly($attribute)) { 1840 1840 my $setter = GetAttributeSetterName($interfaceName, $className, $interface, $attribute); 1841 push(@implContent, "void ${setter}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n");1841 push(@implContent, "void ${setter}(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n"); 1842 1842 } 1843 1843 push(@implContent, "#endif\n") if $conditionalString; … … 1846 1846 if (NeedsConstructorProperty($interface)) { 1847 1847 my $getter = "js" . $interfaceName . "Constructor"; 1848 push(@implContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);\n");1848 push(@implContent, "JSC::EncodedJSValue ${getter}(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);\n"); 1849 1849 } 1850 1850 1851 1851 my $constructorFunctionName = "setJS" . $interfaceName . "Constructor"; 1852 push(@implContent, "void ${constructorFunctionName}(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n");1852 push(@implContent, "void ${constructorFunctionName}(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);\n"); 1853 1853 1854 1854 push(@implContent, "\n"); … … 2279 2279 push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString; 2280 2280 2281 push(@implContent, "EncodedJSValue ${getFunctionName}(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)\n");2281 push(@implContent, "EncodedJSValue ${getFunctionName}(ExecState* state, EncodedJSValue thisValue, PropertyName)\n"); 2282 2282 push(@implContent, "{\n"); 2283 2283 2284 2284 push(@implContent, " UNUSED_PARAM(state);\n"); 2285 push(@implContent, " UNUSED_PARAM(slotBase);\n");2286 2285 push(@implContent, " UNUSED_PARAM(thisValue);\n"); 2287 2286 … … 2489 2488 2490 2489 if ($interface->extendedAttributes->{"CustomProxyToJSObject"}) { 2491 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject*,EncodedJSValue thisValue, PropertyName)\n");2490 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, EncodedJSValue thisValue, PropertyName)\n"); 2492 2491 push(@implContent, "{\n"); 2493 2492 push(@implContent, " ${className}* domObject = to${className}(JSValue::decode(thisValue));\n"); 2494 2493 } elsif (ConstructorShouldBeOnInstance($interface)) { 2495 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject*,EncodedJSValue thisValue, PropertyName)\n");2494 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, EncodedJSValue thisValue, PropertyName)\n"); 2496 2495 push(@implContent, "{\n"); 2497 2496 push(@implContent, " ${className}* domObject = " . GetCastingHelperForThisObject($interface) . "(JSValue::decode(thisValue));\n"); 2498 2497 } else { 2499 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)\n");2498 push(@implContent, "EncodedJSValue ${constructorFunctionName}(ExecState* state, EncodedJSValue thisValue, PropertyName)\n"); 2500 2499 push(@implContent, "{\n"); 2501 push(@implContent, " ${className}Prototype* domObject = jsDynamicCast<${className}Prototype*>( baseValue);\n");2500 push(@implContent, " ${className}Prototype* domObject = jsDynamicCast<${className}Prototype*>(JSValue::decode(thisValue));\n"); 2502 2501 } 2503 2502 push(@implContent, " if (!domObject)\n"); … … 2523 2522 my $constructorFunctionName = "setJS" . $interfaceName . "Constructor"; 2524 2523 2525 push(@implContent, "void ${constructorFunctionName}(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)\n");2524 push(@implContent, "void ${constructorFunctionName}(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)\n"); 2526 2525 push(@implContent, "{\n"); 2527 2526 push(@implContent, " JSValue value = JSValue::decode(encodedValue);\n"); 2528 2527 if ($interface->extendedAttributes->{"CustomProxyToJSObject"}) { 2529 push(@implContent, " UNUSED_PARAM(baseValue);\n");2530 2528 push(@implContent, " ${className}* domObject = to${className}(JSValue::decode(thisValue));\n"); 2531 2529 } elsif (ConstructorShouldBeOnInstance($interface)) { 2532 push(@implContent, " UNUSED_PARAM(baseValue);\n");2533 2530 push(@implContent, " ${className}* domObject = " . GetCastingHelperForThisObject($interface) . "(JSValue::decode(thisValue));\n"); 2534 2531 } else { 2535 push(@implContent, " UNUSED_PARAM(thisValue);\n"); 2536 push(@implContent, " ${className}Prototype* domObject = jsDynamicCast<${className}Prototype*>(baseValue);\n"); 2532 push(@implContent, " ${className}Prototype* domObject = jsDynamicCast<${className}Prototype*>(JSValue::decode(thisValue));\n"); 2537 2533 } 2538 2534 push(@implContent, " if (UNLIKELY(!domObject)) {\n"); … … 2621 2617 push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString; 2622 2618 2623 push(@implContent, "void ${putFunctionName}(ExecState* state, JSObject* baseObject, EncodedJSValue"); 2624 push(@implContent, " thisValue") if !$attribute->isStatic; 2625 push(@implContent, ", EncodedJSValue encodedValue)\n"); 2619 push(@implContent, "void ${putFunctionName}(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)\n"); 2626 2620 push(@implContent, "{\n"); 2627 2621 push(@implContent, " JSValue value = JSValue::decode(encodedValue);\n"); 2628 push(@implContent, " UNUSED_PARAM( baseObject);\n");2622 push(@implContent, " UNUSED_PARAM(thisValue);\n") if !$attribute->isStatic; 2629 2623 if (!$attribute->isStatic) { 2630 2624 if ($interface->extendedAttributes->{"CustomProxyToJSObject"}) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp
r196303 r196331 40 40 // Attributes 41 41 42 JSC::EncodedJSValue jsTestActiveDOMObjectExcitingAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);43 JSC::EncodedJSValue jsTestActiveDOMObjectConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);44 void setJSTestActiveDOMObjectConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);42 JSC::EncodedJSValue jsTestActiveDOMObjectExcitingAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 43 JSC::EncodedJSValue jsTestActiveDOMObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 44 void setJSTestActiveDOMObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 45 45 46 46 class JSTestActiveDOMObjectPrototype : public JSC::JSNonFinalObject { … … 145 145 } 146 146 147 EncodedJSValue jsTestActiveDOMObjectExcitingAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)147 EncodedJSValue jsTestActiveDOMObjectExcitingAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 148 148 { 149 149 UNUSED_PARAM(state); 150 UNUSED_PARAM(slotBase);151 150 UNUSED_PARAM(thisValue); 152 151 JSValue decodedThisValue = JSValue::decode(thisValue); … … 163 162 164 163 165 EncodedJSValue jsTestActiveDOMObjectConstructor(ExecState* state, JSObject*,EncodedJSValue thisValue, PropertyName)164 EncodedJSValue jsTestActiveDOMObjectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 166 165 { 167 166 JSTestActiveDOMObject* domObject = jsDynamicCast<JSTestActiveDOMObject*>(JSValue::decode(thisValue)); … … 173 172 } 174 173 175 void setJSTestActiveDOMObjectConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)174 void setJSTestActiveDOMObjectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 176 175 { 177 176 JSValue value = JSValue::decode(encodedValue); 178 UNUSED_PARAM(baseValue);179 177 JSTestActiveDOMObject* domObject = jsDynamicCast<JSTestActiveDOMObject*>(JSValue::decode(thisValue)); 180 178 if (UNLIKELY(!domObject)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp
r195907 r196331 33 33 // Attributes 34 34 35 JSC::EncodedJSValue jsTestClassWithJSBuiltinConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);36 void setJSTestClassWithJSBuiltinConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);35 JSC::EncodedJSValue jsTestClassWithJSBuiltinConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 36 void setJSTestClassWithJSBuiltinConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 37 37 38 38 class JSTestClassWithJSBuiltinConstructorPrototype : public JSC::JSNonFinalObject { … … 120 120 } 121 121 122 EncodedJSValue jsTestClassWithJSBuiltinConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)123 { 124 JSTestClassWithJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestClassWithJSBuiltinConstructorPrototype*>( baseValue);122 EncodedJSValue jsTestClassWithJSBuiltinConstructorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 123 { 124 JSTestClassWithJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestClassWithJSBuiltinConstructorPrototype*>(JSValue::decode(thisValue)); 125 125 if (!domObject) 126 126 return throwVMTypeError(state); … … 128 128 } 129 129 130 void setJSTestClassWithJSBuiltinConstructorConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)130 void setJSTestClassWithJSBuiltinConstructorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 131 131 { 132 132 JSValue value = JSValue::decode(encodedValue); 133 UNUSED_PARAM(thisValue); 134 JSTestClassWithJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestClassWithJSBuiltinConstructorPrototype*>(baseValue); 133 JSTestClassWithJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestClassWithJSBuiltinConstructorPrototype*>(JSValue::decode(thisValue)); 135 134 if (UNLIKELY(!domObject)) { 136 135 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp
r195907 r196331 32 32 // Attributes 33 33 34 JSC::EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);35 void setJSTestCustomConstructorWithNoInterfaceObjectConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);34 JSC::EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 35 void setJSTestCustomConstructorWithNoInterfaceObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 36 36 37 37 class JSTestCustomConstructorWithNoInterfaceObjectPrototype : public JSC::JSNonFinalObject { … … 114 114 } 115 115 116 EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)117 { 118 JSTestCustomConstructorWithNoInterfaceObjectPrototype* domObject = jsDynamicCast<JSTestCustomConstructorWithNoInterfaceObjectPrototype*>( baseValue);116 EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 117 { 118 JSTestCustomConstructorWithNoInterfaceObjectPrototype* domObject = jsDynamicCast<JSTestCustomConstructorWithNoInterfaceObjectPrototype*>(JSValue::decode(thisValue)); 119 119 if (!domObject) 120 120 return throwVMTypeError(state); … … 125 125 } 126 126 127 void setJSTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)127 void setJSTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 128 128 { 129 129 JSValue value = JSValue::decode(encodedValue); 130 UNUSED_PARAM(thisValue); 131 JSTestCustomConstructorWithNoInterfaceObjectPrototype* domObject = jsDynamicCast<JSTestCustomConstructorWithNoInterfaceObjectPrototype*>(baseValue); 130 JSTestCustomConstructorWithNoInterfaceObjectPrototype* domObject = jsDynamicCast<JSTestCustomConstructorWithNoInterfaceObjectPrototype*>(JSValue::decode(thisValue)); 132 131 if (UNLIKELY(!domObject)) { 133 132 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp
r195908 r196331 39 39 // Attributes 40 40 41 JSC::EncodedJSValue jsTestCustomNamedGetterConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);42 void setJSTestCustomNamedGetterConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);41 JSC::EncodedJSValue jsTestCustomNamedGetterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 42 void setJSTestCustomNamedGetterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 43 43 44 44 class JSTestCustomNamedGetterPrototype : public JSC::JSNonFinalObject { … … 152 152 } 153 153 154 EncodedJSValue jsTestCustomNamedGetterConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)155 { 156 JSTestCustomNamedGetterPrototype* domObject = jsDynamicCast<JSTestCustomNamedGetterPrototype*>( baseValue);154 EncodedJSValue jsTestCustomNamedGetterConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 155 { 156 JSTestCustomNamedGetterPrototype* domObject = jsDynamicCast<JSTestCustomNamedGetterPrototype*>(JSValue::decode(thisValue)); 157 157 if (!domObject) 158 158 return throwVMTypeError(state); … … 160 160 } 161 161 162 void setJSTestCustomNamedGetterConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)162 void setJSTestCustomNamedGetterConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 163 163 { 164 164 JSValue value = JSValue::decode(encodedValue); 165 UNUSED_PARAM(thisValue); 166 JSTestCustomNamedGetterPrototype* domObject = jsDynamicCast<JSTestCustomNamedGetterPrototype*>(baseValue); 165 JSTestCustomNamedGetterPrototype* domObject = jsDynamicCast<JSTestCustomNamedGetterPrototype*>(JSValue::decode(thisValue)); 167 166 if (UNLIKELY(!domObject)) { 168 167 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
r196303 r196331 36 36 // Attributes 37 37 38 JSC::EncodedJSValue jsTestEventConstructorAttr1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);39 JSC::EncodedJSValue jsTestEventConstructorAttr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);40 JSC::EncodedJSValue jsTestEventConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);41 void setJSTestEventConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);38 JSC::EncodedJSValue jsTestEventConstructorAttr1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 39 JSC::EncodedJSValue jsTestEventConstructorAttr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 40 JSC::EncodedJSValue jsTestEventConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 41 void setJSTestEventConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 42 42 43 43 class JSTestEventConstructorPrototype : public JSC::JSNonFinalObject { … … 157 157 } 158 158 159 EncodedJSValue jsTestEventConstructorAttr1(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)159 EncodedJSValue jsTestEventConstructorAttr1(ExecState* state, EncodedJSValue thisValue, PropertyName) 160 160 { 161 161 UNUSED_PARAM(state); 162 UNUSED_PARAM(slotBase);163 162 UNUSED_PARAM(thisValue); 164 163 JSValue decodedThisValue = JSValue::decode(thisValue); … … 173 172 174 173 175 EncodedJSValue jsTestEventConstructorAttr2(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)174 EncodedJSValue jsTestEventConstructorAttr2(ExecState* state, EncodedJSValue thisValue, PropertyName) 176 175 { 177 176 UNUSED_PARAM(state); 178 UNUSED_PARAM(slotBase);179 177 UNUSED_PARAM(thisValue); 180 178 JSValue decodedThisValue = JSValue::decode(thisValue); … … 189 187 190 188 191 EncodedJSValue jsTestEventConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)192 { 193 JSTestEventConstructorPrototype* domObject = jsDynamicCast<JSTestEventConstructorPrototype*>( baseValue);189 EncodedJSValue jsTestEventConstructorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 190 { 191 JSTestEventConstructorPrototype* domObject = jsDynamicCast<JSTestEventConstructorPrototype*>(JSValue::decode(thisValue)); 194 192 if (!domObject) 195 193 return throwVMTypeError(state); … … 197 195 } 198 196 199 void setJSTestEventConstructorConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)197 void setJSTestEventConstructorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 200 198 { 201 199 JSValue value = JSValue::decode(encodedValue); 202 UNUSED_PARAM(thisValue); 203 JSTestEventConstructorPrototype* domObject = jsDynamicCast<JSTestEventConstructorPrototype*>(baseValue); 200 JSTestEventConstructorPrototype* domObject = jsDynamicCast<JSTestEventConstructorPrototype*>(JSValue::decode(thisValue)); 204 201 if (UNLIKELY(!domObject)) { 205 202 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
r195908 r196331 48 48 // Attributes 49 49 50 JSC::EncodedJSValue jsTestEventTargetConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);51 void setJSTestEventTargetConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);50 JSC::EncodedJSValue jsTestEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 51 void setJSTestEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 52 52 53 53 class JSTestEventTargetPrototype : public JSC::JSNonFinalObject { … … 168 168 } 169 169 170 EncodedJSValue jsTestEventTargetConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)171 { 172 JSTestEventTargetPrototype* domObject = jsDynamicCast<JSTestEventTargetPrototype*>( baseValue);170 EncodedJSValue jsTestEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 171 { 172 JSTestEventTargetPrototype* domObject = jsDynamicCast<JSTestEventTargetPrototype*>(JSValue::decode(thisValue)); 173 173 if (!domObject) 174 174 return throwVMTypeError(state); … … 176 176 } 177 177 178 void setJSTestEventTargetConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)178 void setJSTestEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 179 179 { 180 180 JSValue value = JSValue::decode(encodedValue); 181 UNUSED_PARAM(thisValue); 182 JSTestEventTargetPrototype* domObject = jsDynamicCast<JSTestEventTargetPrototype*>(baseValue); 181 JSTestEventTargetPrototype* domObject = jsDynamicCast<JSTestEventTargetPrototype*>(JSValue::decode(thisValue)); 183 182 if (UNLIKELY(!domObject)) { 184 183 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
r196303 r196331 34 34 // Attributes 35 35 36 JSC::EncodedJSValue jsTestExceptionName(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);37 JSC::EncodedJSValue jsTestExceptionConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);38 void setJSTestExceptionConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);36 JSC::EncodedJSValue jsTestExceptionName(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 37 JSC::EncodedJSValue jsTestExceptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 38 void setJSTestExceptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 39 39 40 40 class JSTestExceptionPrototype : public JSC::JSNonFinalObject { … … 135 135 } 136 136 137 EncodedJSValue jsTestExceptionName(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)137 EncodedJSValue jsTestExceptionName(ExecState* state, EncodedJSValue thisValue, PropertyName) 138 138 { 139 139 UNUSED_PARAM(state); 140 UNUSED_PARAM(slotBase);141 140 UNUSED_PARAM(thisValue); 142 141 JSValue decodedThisValue = JSValue::decode(thisValue); … … 151 150 152 151 153 EncodedJSValue jsTestExceptionConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)154 { 155 JSTestExceptionPrototype* domObject = jsDynamicCast<JSTestExceptionPrototype*>( baseValue);152 EncodedJSValue jsTestExceptionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 153 { 154 JSTestExceptionPrototype* domObject = jsDynamicCast<JSTestExceptionPrototype*>(JSValue::decode(thisValue)); 156 155 if (!domObject) 157 156 return throwVMTypeError(state); … … 159 158 } 160 159 161 void setJSTestExceptionConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)160 void setJSTestExceptionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 162 161 { 163 162 JSValue value = JSValue::decode(encodedValue); 164 UNUSED_PARAM(thisValue); 165 JSTestExceptionPrototype* domObject = jsDynamicCast<JSTestExceptionPrototype*>(baseValue); 163 JSTestExceptionPrototype* domObject = jsDynamicCast<JSTestExceptionPrototype*>(JSValue::decode(thisValue)); 166 164 if (UNLIKELY(!domObject)) { 167 165 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp
r195907 r196331 32 32 // Attributes 33 33 34 JSC::EncodedJSValue jsTestGenerateIsReachableConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);35 void setJSTestGenerateIsReachableConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);34 JSC::EncodedJSValue jsTestGenerateIsReachableConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 35 void setJSTestGenerateIsReachableConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 36 36 37 37 class JSTestGenerateIsReachablePrototype : public JSC::JSNonFinalObject { … … 109 109 } 110 110 111 EncodedJSValue jsTestGenerateIsReachableConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)112 { 113 JSTestGenerateIsReachablePrototype* domObject = jsDynamicCast<JSTestGenerateIsReachablePrototype*>( baseValue);111 EncodedJSValue jsTestGenerateIsReachableConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 112 { 113 JSTestGenerateIsReachablePrototype* domObject = jsDynamicCast<JSTestGenerateIsReachablePrototype*>(JSValue::decode(thisValue)); 114 114 if (!domObject) 115 115 return throwVMTypeError(state); … … 117 117 } 118 118 119 void setJSTestGenerateIsReachableConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)119 void setJSTestGenerateIsReachableConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 120 120 { 121 121 JSValue value = JSValue::decode(encodedValue); 122 UNUSED_PARAM(thisValue); 123 JSTestGenerateIsReachablePrototype* domObject = jsDynamicCast<JSTestGenerateIsReachablePrototype*>(baseValue); 122 JSTestGenerateIsReachablePrototype* domObject = jsDynamicCast<JSTestGenerateIsReachablePrototype*>(JSValue::decode(thisValue)); 124 123 if (UNLIKELY(!domObject)) { 125 124 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
r196303 r196331 79 79 80 80 #if ENABLE(Condition22) || ENABLE(Condition23) 81 JSC::EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);82 #endif 83 #if ENABLE(Condition22) || ENABLE(Condition23) 84 JSC::EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);85 void setJSTestInterfaceConstructorImplementsStaticAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);86 #endif 87 #if ENABLE(Condition22) || ENABLE(Condition23) 88 JSC::EncodedJSValue jsTestInterfaceImplementsStr1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);89 #endif 90 #if ENABLE(Condition22) || ENABLE(Condition23) 91 JSC::EncodedJSValue jsTestInterfaceImplementsStr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);92 void setJSTestInterfaceImplementsStr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);93 #endif 94 #if ENABLE(Condition22) || ENABLE(Condition23) 95 JSC::EncodedJSValue jsTestInterfaceImplementsStr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);96 void setJSTestInterfaceImplementsStr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);97 #endif 98 #if ENABLE(Condition22) || ENABLE(Condition23) 99 JSC::EncodedJSValue jsTestInterfaceImplementsNode(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);100 void setJSTestInterfaceImplementsNode(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);101 #endif 102 #if ENABLE(Condition11) || ENABLE(Condition12) 103 JSC::EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);104 #endif 105 #if ENABLE(Condition11) || ENABLE(Condition12) 106 JSC::EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);107 void setJSTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);108 #endif 109 #if ENABLE(Condition11) || ENABLE(Condition12) 110 JSC::EncodedJSValue jsTestInterfaceSupplementalStr1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);111 #endif 112 #if ENABLE(Condition11) || ENABLE(Condition12) 113 JSC::EncodedJSValue jsTestInterfaceSupplementalStr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);114 void setJSTestInterfaceSupplementalStr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);115 #endif 116 #if ENABLE(Condition11) || ENABLE(Condition12) 117 JSC::EncodedJSValue jsTestInterfaceSupplementalStr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);118 void setJSTestInterfaceSupplementalStr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);119 #endif 120 #if ENABLE(Condition11) || ENABLE(Condition12) 121 JSC::EncodedJSValue jsTestInterfaceSupplementalNode(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);122 void setJSTestInterfaceSupplementalNode(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);123 #endif 124 JSC::EncodedJSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);125 void setJSTestInterfaceConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);81 JSC::EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 82 #endif 83 #if ENABLE(Condition22) || ENABLE(Condition23) 84 JSC::EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 85 void setJSTestInterfaceConstructorImplementsStaticAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 86 #endif 87 #if ENABLE(Condition22) || ENABLE(Condition23) 88 JSC::EncodedJSValue jsTestInterfaceImplementsStr1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 89 #endif 90 #if ENABLE(Condition22) || ENABLE(Condition23) 91 JSC::EncodedJSValue jsTestInterfaceImplementsStr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 92 void setJSTestInterfaceImplementsStr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 93 #endif 94 #if ENABLE(Condition22) || ENABLE(Condition23) 95 JSC::EncodedJSValue jsTestInterfaceImplementsStr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 96 void setJSTestInterfaceImplementsStr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 97 #endif 98 #if ENABLE(Condition22) || ENABLE(Condition23) 99 JSC::EncodedJSValue jsTestInterfaceImplementsNode(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 100 void setJSTestInterfaceImplementsNode(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 101 #endif 102 #if ENABLE(Condition11) || ENABLE(Condition12) 103 JSC::EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 104 #endif 105 #if ENABLE(Condition11) || ENABLE(Condition12) 106 JSC::EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 107 void setJSTestInterfaceConstructorSupplementalStaticAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 108 #endif 109 #if ENABLE(Condition11) || ENABLE(Condition12) 110 JSC::EncodedJSValue jsTestInterfaceSupplementalStr1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 111 #endif 112 #if ENABLE(Condition11) || ENABLE(Condition12) 113 JSC::EncodedJSValue jsTestInterfaceSupplementalStr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 114 void setJSTestInterfaceSupplementalStr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 115 #endif 116 #if ENABLE(Condition11) || ENABLE(Condition12) 117 JSC::EncodedJSValue jsTestInterfaceSupplementalStr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 118 void setJSTestInterfaceSupplementalStr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 119 #endif 120 #if ENABLE(Condition11) || ENABLE(Condition12) 121 JSC::EncodedJSValue jsTestInterfaceSupplementalNode(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 122 void setJSTestInterfaceSupplementalNode(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 123 #endif 124 JSC::EncodedJSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 125 void setJSTestInterfaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 126 126 127 127 class JSTestInterfacePrototype : public JSC::JSNonFinalObject { … … 405 405 406 406 #if ENABLE(Condition22) || ENABLE(Condition23) 407 EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 408 { 409 UNUSED_PARAM(state); 410 UNUSED_PARAM(slotBase); 407 EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 408 { 409 UNUSED_PARAM(state); 411 410 UNUSED_PARAM(thisValue); 412 411 JSValue result = jsNumber(TestInterface::implementsStaticReadOnlyAttr()); … … 417 416 418 417 #if ENABLE(Condition22) || ENABLE(Condition23) 419 EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 420 { 421 UNUSED_PARAM(state); 422 UNUSED_PARAM(slotBase); 418 EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 419 { 420 UNUSED_PARAM(state); 423 421 UNUSED_PARAM(thisValue); 424 422 JSValue result = jsStringWithCache(state, TestInterface::implementsStaticAttr()); … … 429 427 430 428 #if ENABLE(Condition22) || ENABLE(Condition23) 431 EncodedJSValue jsTestInterfaceImplementsStr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 432 { 433 UNUSED_PARAM(state); 434 UNUSED_PARAM(slotBase); 429 EncodedJSValue jsTestInterfaceImplementsStr1(ExecState* state, EncodedJSValue thisValue, PropertyName) 430 { 431 UNUSED_PARAM(state); 435 432 UNUSED_PARAM(thisValue); 436 433 JSValue decodedThisValue = JSValue::decode(thisValue); … … 447 444 448 445 #if ENABLE(Condition22) || ENABLE(Condition23) 449 EncodedJSValue jsTestInterfaceImplementsStr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 450 { 451 UNUSED_PARAM(state); 452 UNUSED_PARAM(slotBase); 446 EncodedJSValue jsTestInterfaceImplementsStr2(ExecState* state, EncodedJSValue thisValue, PropertyName) 447 { 448 UNUSED_PARAM(state); 453 449 UNUSED_PARAM(thisValue); 454 450 JSValue decodedThisValue = JSValue::decode(thisValue); … … 465 461 466 462 #if ENABLE(Condition22) || ENABLE(Condition23) 467 EncodedJSValue jsTestInterfaceImplementsStr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 468 { 469 UNUSED_PARAM(state); 470 UNUSED_PARAM(slotBase); 463 EncodedJSValue jsTestInterfaceImplementsStr3(ExecState* state, EncodedJSValue thisValue, PropertyName) 464 { 465 UNUSED_PARAM(state); 471 466 UNUSED_PARAM(thisValue); 472 467 JSValue decodedThisValue = JSValue::decode(thisValue); … … 481 476 482 477 #if ENABLE(Condition22) || ENABLE(Condition23) 483 EncodedJSValue jsTestInterfaceImplementsNode(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 484 { 485 UNUSED_PARAM(state); 486 UNUSED_PARAM(slotBase); 478 EncodedJSValue jsTestInterfaceImplementsNode(ExecState* state, EncodedJSValue thisValue, PropertyName) 479 { 480 UNUSED_PARAM(state); 487 481 UNUSED_PARAM(thisValue); 488 482 JSValue decodedThisValue = JSValue::decode(thisValue); … … 499 493 500 494 #if ENABLE(Condition11) || ENABLE(Condition12) 501 EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 502 { 503 UNUSED_PARAM(state); 504 UNUSED_PARAM(slotBase); 495 EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 496 { 497 UNUSED_PARAM(state); 505 498 UNUSED_PARAM(thisValue); 506 499 JSValue result = jsNumber(WebCore::TestSupplemental::supplementalStaticReadOnlyAttr()); … … 511 504 512 505 #if ENABLE(Condition11) || ENABLE(Condition12) 513 EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 514 { 515 UNUSED_PARAM(state); 516 UNUSED_PARAM(slotBase); 506 EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 507 { 508 UNUSED_PARAM(state); 517 509 UNUSED_PARAM(thisValue); 518 510 JSValue result = jsStringWithCache(state, WebCore::TestSupplemental::supplementalStaticAttr()); … … 523 515 524 516 #if ENABLE(Condition11) || ENABLE(Condition12) 525 EncodedJSValue jsTestInterfaceSupplementalStr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 526 { 527 UNUSED_PARAM(state); 528 UNUSED_PARAM(slotBase); 517 EncodedJSValue jsTestInterfaceSupplementalStr1(ExecState* state, EncodedJSValue thisValue, PropertyName) 518 { 519 UNUSED_PARAM(state); 529 520 UNUSED_PARAM(thisValue); 530 521 JSValue decodedThisValue = JSValue::decode(thisValue); … … 541 532 542 533 #if ENABLE(Condition11) || ENABLE(Condition12) 543 EncodedJSValue jsTestInterfaceSupplementalStr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 544 { 545 UNUSED_PARAM(state); 546 UNUSED_PARAM(slotBase); 534 EncodedJSValue jsTestInterfaceSupplementalStr2(ExecState* state, EncodedJSValue thisValue, PropertyName) 535 { 536 UNUSED_PARAM(state); 547 537 UNUSED_PARAM(thisValue); 548 538 JSValue decodedThisValue = JSValue::decode(thisValue); … … 559 549 560 550 #if ENABLE(Condition11) || ENABLE(Condition12) 561 EncodedJSValue jsTestInterfaceSupplementalStr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 562 { 563 UNUSED_PARAM(state); 564 UNUSED_PARAM(slotBase); 551 EncodedJSValue jsTestInterfaceSupplementalStr3(ExecState* state, EncodedJSValue thisValue, PropertyName) 552 { 553 UNUSED_PARAM(state); 565 554 UNUSED_PARAM(thisValue); 566 555 JSValue decodedThisValue = JSValue::decode(thisValue); … … 575 564 576 565 #if ENABLE(Condition11) || ENABLE(Condition12) 577 EncodedJSValue jsTestInterfaceSupplementalNode(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 578 { 579 UNUSED_PARAM(state); 580 UNUSED_PARAM(slotBase); 566 EncodedJSValue jsTestInterfaceSupplementalNode(ExecState* state, EncodedJSValue thisValue, PropertyName) 567 { 568 UNUSED_PARAM(state); 581 569 UNUSED_PARAM(thisValue); 582 570 JSValue decodedThisValue = JSValue::decode(thisValue); … … 592 580 #endif 593 581 594 EncodedJSValue jsTestInterfaceConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)595 { 596 JSTestInterfacePrototype* domObject = jsDynamicCast<JSTestInterfacePrototype*>( baseValue);582 EncodedJSValue jsTestInterfaceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 583 { 584 JSTestInterfacePrototype* domObject = jsDynamicCast<JSTestInterfacePrototype*>(JSValue::decode(thisValue)); 597 585 if (!domObject) 598 586 return throwVMTypeError(state); … … 600 588 } 601 589 602 void setJSTestInterfaceConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)590 void setJSTestInterfaceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 603 591 { 604 592 JSValue value = JSValue::decode(encodedValue); 605 UNUSED_PARAM(thisValue); 606 JSTestInterfacePrototype* domObject = jsDynamicCast<JSTestInterfacePrototype*>(baseValue); 593 JSTestInterfacePrototype* domObject = jsDynamicCast<JSTestInterfacePrototype*>(JSValue::decode(thisValue)); 607 594 if (UNLIKELY(!domObject)) { 608 595 throwVMTypeError(state); … … 634 621 635 622 #if ENABLE(Condition22) || ENABLE(Condition23) 636 void setJSTestInterfaceConstructorImplementsStaticAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)623 void setJSTestInterfaceConstructorImplementsStaticAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 637 624 { 638 625 JSValue value = JSValue::decode(encodedValue); 639 UNUSED_PARAM(baseObject);640 626 String nativeValue = value.toString(state)->value(state); 641 627 if (UNLIKELY(state->hadException())) … … 647 633 648 634 #if ENABLE(Condition22) || ENABLE(Condition23) 649 void setJSTestInterfaceImplementsStr2(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)635 void setJSTestInterfaceImplementsStr2(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 650 636 { 651 637 JSValue value = JSValue::decode(encodedValue); 652 UNUSED_PARAM( baseObject);638 UNUSED_PARAM(thisValue); 653 639 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 654 640 if (UNLIKELY(!castedThis)) { … … 666 652 667 653 #if ENABLE(Condition22) || ENABLE(Condition23) 668 void setJSTestInterfaceImplementsStr3(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)654 void setJSTestInterfaceImplementsStr3(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 669 655 { 670 656 JSValue value = JSValue::decode(encodedValue); 671 UNUSED_PARAM( baseObject);657 UNUSED_PARAM(thisValue); 672 658 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 673 659 if (UNLIKELY(!castedThis)) { … … 681 667 682 668 #if ENABLE(Condition22) || ENABLE(Condition23) 683 void setJSTestInterfaceImplementsNode(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)669 void setJSTestInterfaceImplementsNode(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 684 670 { 685 671 JSValue value = JSValue::decode(encodedValue); 686 UNUSED_PARAM( baseObject);672 UNUSED_PARAM(thisValue); 687 673 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 688 674 if (UNLIKELY(!castedThis)) { … … 700 686 701 687 #if ENABLE(Condition11) || ENABLE(Condition12) 702 void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)688 void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 703 689 { 704 690 JSValue value = JSValue::decode(encodedValue); 705 UNUSED_PARAM(baseObject);706 691 String nativeValue = value.toString(state)->value(state); 707 692 if (UNLIKELY(state->hadException())) … … 713 698 714 699 #if ENABLE(Condition11) || ENABLE(Condition12) 715 void setJSTestInterfaceSupplementalStr2(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)700 void setJSTestInterfaceSupplementalStr2(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 716 701 { 717 702 JSValue value = JSValue::decode(encodedValue); 718 UNUSED_PARAM( baseObject);703 UNUSED_PARAM(thisValue); 719 704 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 720 705 if (UNLIKELY(!castedThis)) { … … 732 717 733 718 #if ENABLE(Condition11) || ENABLE(Condition12) 734 void setJSTestInterfaceSupplementalStr3(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)719 void setJSTestInterfaceSupplementalStr3(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 735 720 { 736 721 JSValue value = JSValue::decode(encodedValue); 737 UNUSED_PARAM( baseObject);722 UNUSED_PARAM(thisValue); 738 723 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 739 724 if (UNLIKELY(!castedThis)) { … … 747 732 748 733 #if ENABLE(Condition11) || ENABLE(Condition12) 749 void setJSTestInterfaceSupplementalNode(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)734 void setJSTestInterfaceSupplementalNode(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 750 735 { 751 736 JSValue value = JSValue::decode(encodedValue); 752 UNUSED_PARAM( baseObject);737 UNUSED_PARAM(thisValue); 753 738 JSTestInterface* castedThis = jsDynamicCast<JSTestInterface*>(JSValue::decode(thisValue)); 754 739 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp
r196303 r196331 38 38 // Attributes 39 39 40 JSC::EncodedJSValue jsTestJSBuiltinConstructorTestAttributeCustom(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);41 JSC::EncodedJSValue jsTestJSBuiltinConstructorTestAttributeRWCustom(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);42 void setJSTestJSBuiltinConstructorTestAttributeRWCustom(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);43 JSC::EncodedJSValue jsTestJSBuiltinConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);44 void setJSTestJSBuiltinConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);40 JSC::EncodedJSValue jsTestJSBuiltinConstructorTestAttributeCustom(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 41 JSC::EncodedJSValue jsTestJSBuiltinConstructorTestAttributeRWCustom(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 42 void setJSTestJSBuiltinConstructorTestAttributeRWCustom(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 43 JSC::EncodedJSValue jsTestJSBuiltinConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 44 void setJSTestJSBuiltinConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 45 45 46 46 class JSTestJSBuiltinConstructorPrototype : public JSC::JSNonFinalObject { … … 126 126 } 127 127 128 EncodedJSValue jsTestJSBuiltinConstructorTestAttributeCustom(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)128 EncodedJSValue jsTestJSBuiltinConstructorTestAttributeCustom(ExecState* state, EncodedJSValue thisValue, PropertyName) 129 129 { 130 130 UNUSED_PARAM(state); 131 UNUSED_PARAM(slotBase);132 131 UNUSED_PARAM(thisValue); 133 132 JSValue decodedThisValue = JSValue::decode(thisValue); … … 140 139 141 140 142 EncodedJSValue jsTestJSBuiltinConstructorTestAttributeRWCustom(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)141 EncodedJSValue jsTestJSBuiltinConstructorTestAttributeRWCustom(ExecState* state, EncodedJSValue thisValue, PropertyName) 143 142 { 144 143 UNUSED_PARAM(state); 145 UNUSED_PARAM(slotBase);146 144 UNUSED_PARAM(thisValue); 147 145 JSValue decodedThisValue = JSValue::decode(thisValue); … … 154 152 155 153 156 EncodedJSValue jsTestJSBuiltinConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)157 { 158 JSTestJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestJSBuiltinConstructorPrototype*>( baseValue);154 EncodedJSValue jsTestJSBuiltinConstructorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 155 { 156 JSTestJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestJSBuiltinConstructorPrototype*>(JSValue::decode(thisValue)); 159 157 if (!domObject) 160 158 return throwVMTypeError(state); … … 162 160 } 163 161 164 void setJSTestJSBuiltinConstructorConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)162 void setJSTestJSBuiltinConstructorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 165 163 { 166 164 JSValue value = JSValue::decode(encodedValue); 167 UNUSED_PARAM(thisValue); 168 JSTestJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestJSBuiltinConstructorPrototype*>(baseValue); 165 JSTestJSBuiltinConstructorPrototype* domObject = jsDynamicCast<JSTestJSBuiltinConstructorPrototype*>(JSValue::decode(thisValue)); 169 166 if (UNLIKELY(!domObject)) { 170 167 throwVMTypeError(state); … … 175 172 } 176 173 177 void setJSTestJSBuiltinConstructorTestAttributeRWCustom(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)174 void setJSTestJSBuiltinConstructorTestAttributeRWCustom(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 178 175 { 179 176 JSValue value = JSValue::decode(encodedValue); 180 UNUSED_PARAM( baseObject);177 UNUSED_PARAM(thisValue); 181 178 JSTestJSBuiltinConstructor* castedThis = jsDynamicCast<JSTestJSBuiltinConstructor*>(JSValue::decode(thisValue)); 182 179 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp
r195907 r196331 39 39 // Attributes 40 40 41 JSC::EncodedJSValue jsTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);42 void setJSTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);41 JSC::EncodedJSValue jsTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 42 void setJSTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 43 43 44 44 class JSTestMediaQueryListListenerPrototype : public JSC::JSNonFinalObject { … … 117 117 } 118 118 119 EncodedJSValue jsTestMediaQueryListListenerConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)120 { 121 JSTestMediaQueryListListenerPrototype* domObject = jsDynamicCast<JSTestMediaQueryListListenerPrototype*>( baseValue);119 EncodedJSValue jsTestMediaQueryListListenerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 120 { 121 JSTestMediaQueryListListenerPrototype* domObject = jsDynamicCast<JSTestMediaQueryListListenerPrototype*>(JSValue::decode(thisValue)); 122 122 if (!domObject) 123 123 return throwVMTypeError(state); … … 125 125 } 126 126 127 void setJSTestMediaQueryListListenerConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)127 void setJSTestMediaQueryListListenerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 128 128 { 129 129 JSValue value = JSValue::decode(encodedValue); 130 UNUSED_PARAM(thisValue); 131 JSTestMediaQueryListListenerPrototype* domObject = jsDynamicCast<JSTestMediaQueryListListenerPrototype*>(baseValue); 130 JSTestMediaQueryListListenerPrototype* domObject = jsDynamicCast<JSTestMediaQueryListListenerPrototype*>(JSValue::decode(thisValue)); 132 131 if (UNLIKELY(!domObject)) { 133 132 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
r195907 r196331 34 34 // Attributes 35 35 36 JSC::EncodedJSValue jsTestNamedConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);37 void setJSTestNamedConstructorConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);36 JSC::EncodedJSValue jsTestNamedConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 37 void setJSTestNamedConstructorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 38 38 39 39 class JSTestNamedConstructorPrototype : public JSC::JSNonFinalObject { … … 144 144 } 145 145 146 EncodedJSValue jsTestNamedConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)147 { 148 JSTestNamedConstructorPrototype* domObject = jsDynamicCast<JSTestNamedConstructorPrototype*>( baseValue);146 EncodedJSValue jsTestNamedConstructorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 147 { 148 JSTestNamedConstructorPrototype* domObject = jsDynamicCast<JSTestNamedConstructorPrototype*>(JSValue::decode(thisValue)); 149 149 if (!domObject) 150 150 return throwVMTypeError(state); … … 152 152 } 153 153 154 void setJSTestNamedConstructorConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)154 void setJSTestNamedConstructorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 155 155 { 156 156 JSValue value = JSValue::decode(encodedValue); 157 UNUSED_PARAM(thisValue); 158 JSTestNamedConstructorPrototype* domObject = jsDynamicCast<JSTestNamedConstructorPrototype*>(baseValue); 157 JSTestNamedConstructorPrototype* domObject = jsDynamicCast<JSTestNamedConstructorPrototype*>(JSValue::decode(thisValue)); 159 158 if (UNLIKELY(!domObject)) { 160 159 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
r196303 r196331 36 36 // Attributes 37 37 38 JSC::EncodedJSValue jsTestNodeName(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);39 void setJSTestNodeName(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);40 JSC::EncodedJSValue jsTestNodeConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);41 void setJSTestNodeConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);38 JSC::EncodedJSValue jsTestNodeName(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 39 void setJSTestNodeName(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 40 JSC::EncodedJSValue jsTestNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 41 void setJSTestNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 42 42 43 43 class JSTestNodePrototype : public JSC::JSNonFinalObject { … … 117 117 } 118 118 119 EncodedJSValue jsTestNodeName(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)119 EncodedJSValue jsTestNodeName(ExecState* state, EncodedJSValue thisValue, PropertyName) 120 120 { 121 121 UNUSED_PARAM(state); 122 UNUSED_PARAM(slotBase);123 122 UNUSED_PARAM(thisValue); 124 123 JSValue decodedThisValue = JSValue::decode(thisValue); … … 133 132 134 133 135 EncodedJSValue jsTestNodeConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)134 EncodedJSValue jsTestNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 136 135 { 137 JSTestNodePrototype* domObject = jsDynamicCast<JSTestNodePrototype*>( baseValue);136 JSTestNodePrototype* domObject = jsDynamicCast<JSTestNodePrototype*>(JSValue::decode(thisValue)); 138 137 if (!domObject) 139 138 return throwVMTypeError(state); … … 141 140 } 142 141 143 void setJSTestNodeConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)142 void setJSTestNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 144 143 { 145 144 JSValue value = JSValue::decode(encodedValue); 146 UNUSED_PARAM(thisValue); 147 JSTestNodePrototype* domObject = jsDynamicCast<JSTestNodePrototype*>(baseValue); 145 JSTestNodePrototype* domObject = jsDynamicCast<JSTestNodePrototype*>(JSValue::decode(thisValue)); 148 146 if (UNLIKELY(!domObject)) { 149 147 throwVMTypeError(state); … … 154 152 } 155 153 156 void setJSTestNodeName(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)154 void setJSTestNodeName(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 157 155 { 158 156 JSValue value = JSValue::decode(encodedValue); 159 UNUSED_PARAM( baseObject);157 UNUSED_PARAM(thisValue); 160 158 JSTestNode* castedThis = jsDynamicCast<JSTestNode*>(JSValue::decode(thisValue)); 161 159 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp
r196303 r196331 46 46 // Attributes 47 47 48 JSC::EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);49 JSC::EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);50 void setJSTestNondeterministicNondeterministicWriteableAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);51 JSC::EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);52 void setJSTestNondeterministicNondeterministicExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);53 JSC::EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);54 void setJSTestNondeterministicNondeterministicGetterExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);55 JSC::EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);56 void setJSTestNondeterministicNondeterministicSetterExceptionAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);57 JSC::EncodedJSValue jsTestNondeterministicConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);58 void setJSTestNondeterministicConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);48 JSC::EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 49 JSC::EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 50 void setJSTestNondeterministicNondeterministicWriteableAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 51 JSC::EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 52 void setJSTestNondeterministicNondeterministicExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 53 JSC::EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 54 void setJSTestNondeterministicNondeterministicGetterExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 55 JSC::EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 56 void setJSTestNondeterministicNondeterministicSetterExceptionAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 57 JSC::EncodedJSValue jsTestNondeterministicConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 58 void setJSTestNondeterministicConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 59 59 60 60 class JSTestNondeterministicPrototype : public JSC::JSNonFinalObject { … … 138 138 } 139 139 140 EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)140 EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 141 141 { 142 142 UNUSED_PARAM(state); 143 UNUSED_PARAM(slotBase);144 143 UNUSED_PARAM(thisValue); 145 144 JSValue decodedThisValue = JSValue::decode(thisValue); … … 174 173 175 174 176 EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)175 EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 177 176 { 178 177 UNUSED_PARAM(state); 179 UNUSED_PARAM(slotBase);180 178 UNUSED_PARAM(thisValue); 181 179 JSValue decodedThisValue = JSValue::decode(thisValue); … … 210 208 211 209 212 EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)210 EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 213 211 { 214 212 UNUSED_PARAM(state); 215 UNUSED_PARAM(slotBase);216 213 UNUSED_PARAM(thisValue); 217 214 JSValue decodedThisValue = JSValue::decode(thisValue); … … 246 243 247 244 248 EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)245 EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 249 246 { 250 247 UNUSED_PARAM(state); 251 UNUSED_PARAM(slotBase);252 248 UNUSED_PARAM(thisValue); 253 249 JSValue decodedThisValue = JSValue::decode(thisValue); … … 286 282 287 283 288 EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)284 EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 289 285 { 290 286 UNUSED_PARAM(state); 291 UNUSED_PARAM(slotBase);292 287 UNUSED_PARAM(thisValue); 293 288 JSValue decodedThisValue = JSValue::decode(thisValue); … … 322 317 323 318 324 EncodedJSValue jsTestNondeterministicConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)325 { 326 JSTestNondeterministicPrototype* domObject = jsDynamicCast<JSTestNondeterministicPrototype*>( baseValue);319 EncodedJSValue jsTestNondeterministicConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 320 { 321 JSTestNondeterministicPrototype* domObject = jsDynamicCast<JSTestNondeterministicPrototype*>(JSValue::decode(thisValue)); 327 322 if (!domObject) 328 323 return throwVMTypeError(state); … … 330 325 } 331 326 332 void setJSTestNondeterministicConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)327 void setJSTestNondeterministicConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 333 328 { 334 329 JSValue value = JSValue::decode(encodedValue); 335 UNUSED_PARAM(thisValue); 336 JSTestNondeterministicPrototype* domObject = jsDynamicCast<JSTestNondeterministicPrototype*>(baseValue); 330 JSTestNondeterministicPrototype* domObject = jsDynamicCast<JSTestNondeterministicPrototype*>(JSValue::decode(thisValue)); 337 331 if (UNLIKELY(!domObject)) { 338 332 throwVMTypeError(state); … … 343 337 } 344 338 345 void setJSTestNondeterministicNondeterministicWriteableAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)339 void setJSTestNondeterministicNondeterministicWriteableAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 346 340 { 347 341 JSValue value = JSValue::decode(encodedValue); 348 UNUSED_PARAM( baseObject);342 UNUSED_PARAM(thisValue); 349 343 JSTestNondeterministic* castedThis = jsDynamicCast<JSTestNondeterministic*>(JSValue::decode(thisValue)); 350 344 if (UNLIKELY(!castedThis)) { … … 360 354 361 355 362 void setJSTestNondeterministicNondeterministicExceptionAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)356 void setJSTestNondeterministicNondeterministicExceptionAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 363 357 { 364 358 JSValue value = JSValue::decode(encodedValue); 365 UNUSED_PARAM( baseObject);359 UNUSED_PARAM(thisValue); 366 360 JSTestNondeterministic* castedThis = jsDynamicCast<JSTestNondeterministic*>(JSValue::decode(thisValue)); 367 361 if (UNLIKELY(!castedThis)) { … … 377 371 378 372 379 void setJSTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)373 void setJSTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 380 374 { 381 375 JSValue value = JSValue::decode(encodedValue); 382 UNUSED_PARAM( baseObject);376 UNUSED_PARAM(thisValue); 383 377 JSTestNondeterministic* castedThis = jsDynamicCast<JSTestNondeterministic*>(JSValue::decode(thisValue)); 384 378 if (UNLIKELY(!castedThis)) { … … 394 388 395 389 396 void setJSTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)390 void setJSTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 397 391 { 398 392 JSValue value = JSValue::decode(encodedValue); 399 UNUSED_PARAM( baseObject);393 UNUSED_PARAM(thisValue); 400 394 JSTestNondeterministic* castedThis = jsDynamicCast<JSTestNondeterministic*>(JSValue::decode(thisValue)); 401 395 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r196303 r196331 181 181 // Attributes 182 182 183 JSC::EncodedJSValue jsTestObjReadOnlyLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);184 JSC::EncodedJSValue jsTestObjReadOnlyStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);185 JSC::EncodedJSValue jsTestObjReadOnlyTestObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);186 JSC::EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);187 JSC::EncodedJSValue jsTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);188 void setJSTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);189 JSC::EncodedJSValue jsTestObjConstructorTestSubObj(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);190 JSC::EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);191 void setJSTestObjTestSubObjEnabledBySettingConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);192 JSC::EncodedJSValue jsTestObjEnumAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);193 void setJSTestObjEnumAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);194 JSC::EncodedJSValue jsTestObjByteAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);195 void setJSTestObjByteAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);196 JSC::EncodedJSValue jsTestObjOctetAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);197 void setJSTestObjOctetAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);198 JSC::EncodedJSValue jsTestObjShortAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);199 void setJSTestObjShortAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);200 JSC::EncodedJSValue jsTestObjUnsignedShortAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);201 void setJSTestObjUnsignedShortAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);202 JSC::EncodedJSValue jsTestObjLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);203 void setJSTestObjLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);204 JSC::EncodedJSValue jsTestObjLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);205 void setJSTestObjLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);206 JSC::EncodedJSValue jsTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);207 void setJSTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);208 JSC::EncodedJSValue jsTestObjStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);209 void setJSTestObjStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);210 JSC::EncodedJSValue jsTestObjTestObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);211 void setJSTestObjTestObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);212 JSC::EncodedJSValue jsTestObjLenientTestObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);213 void setJSTestObjLenientTestObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);214 JSC::EncodedJSValue jsTestObjXMLObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);215 void setJSTestObjXMLObjAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);216 JSC::EncodedJSValue jsTestObjCreate(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);217 void setJSTestObjCreate(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);218 JSC::EncodedJSValue jsTestObjReadOnlySymbolAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);219 JSC::EncodedJSValue jsTestObjConstructorStaticReadOnlySymbolAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);220 JSC::EncodedJSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);221 void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);222 JSC::EncodedJSValue jsTestObjReflectedIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);223 void setJSTestObjReflectedIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);224 JSC::EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);225 void setJSTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);226 JSC::EncodedJSValue jsTestObjReflectedBooleanAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);227 void setJSTestObjReflectedBooleanAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);228 JSC::EncodedJSValue jsTestObjReflectedURLAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);229 void setJSTestObjReflectedURLAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);230 JSC::EncodedJSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);231 void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);232 JSC::EncodedJSValue jsTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);233 void setJSTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);234 JSC::EncodedJSValue jsTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);235 void setJSTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);236 JSC::EncodedJSValue jsTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);237 void setJSTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);238 JSC::EncodedJSValue jsTestObjTypedArrayAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);239 void setJSTestObjTypedArrayAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);240 JSC::EncodedJSValue jsTestObjAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);241 void setJSTestObjAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);242 JSC::EncodedJSValue jsTestObjAttrWithGetterExceptionWithMessage(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);243 void setJSTestObjAttrWithGetterExceptionWithMessage(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);244 JSC::EncodedJSValue jsTestObjAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);245 void setJSTestObjAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);246 JSC::EncodedJSValue jsTestObjAttrWithSetterExceptionWithMessage(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);247 void setJSTestObjAttrWithSetterExceptionWithMessage(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);248 JSC::EncodedJSValue jsTestObjStringAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);249 void setJSTestObjStringAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);250 JSC::EncodedJSValue jsTestObjStringAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);251 void setJSTestObjStringAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);252 JSC::EncodedJSValue jsTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);253 void setJSTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);254 JSC::EncodedJSValue jsTestObjCustomAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);255 void setJSTestObjCustomAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);256 JSC::EncodedJSValue jsTestObjOnfoo(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);257 void setJSTestObjOnfoo(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);258 JSC::EncodedJSValue jsTestObjWithScriptStateAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);259 void setJSTestObjWithScriptStateAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);260 JSC::EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);261 void setJSTestObjWithCallWithAndSetterCallWithAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);262 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);263 void setJSTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);264 JSC::EncodedJSValue jsTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);265 void setJSTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);266 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);267 void setJSTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);268 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);269 void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);270 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);271 void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);272 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);273 void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);274 JSC::EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);275 void setJSTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);183 JSC::EncodedJSValue jsTestObjReadOnlyLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 184 JSC::EncodedJSValue jsTestObjReadOnlyStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 185 JSC::EncodedJSValue jsTestObjReadOnlyTestObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 186 JSC::EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 187 JSC::EncodedJSValue jsTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 188 void setJSTestObjConstructorStaticStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 189 JSC::EncodedJSValue jsTestObjConstructorTestSubObj(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 190 JSC::EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 191 void setJSTestObjTestSubObjEnabledBySettingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 192 JSC::EncodedJSValue jsTestObjEnumAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 193 void setJSTestObjEnumAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 194 JSC::EncodedJSValue jsTestObjByteAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 195 void setJSTestObjByteAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 196 JSC::EncodedJSValue jsTestObjOctetAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 197 void setJSTestObjOctetAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 198 JSC::EncodedJSValue jsTestObjShortAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 199 void setJSTestObjShortAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 200 JSC::EncodedJSValue jsTestObjUnsignedShortAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 201 void setJSTestObjUnsignedShortAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 202 JSC::EncodedJSValue jsTestObjLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 203 void setJSTestObjLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 204 JSC::EncodedJSValue jsTestObjLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 205 void setJSTestObjLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 206 JSC::EncodedJSValue jsTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 207 void setJSTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 208 JSC::EncodedJSValue jsTestObjStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 209 void setJSTestObjStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 210 JSC::EncodedJSValue jsTestObjTestObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 211 void setJSTestObjTestObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 212 JSC::EncodedJSValue jsTestObjLenientTestObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 213 void setJSTestObjLenientTestObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 214 JSC::EncodedJSValue jsTestObjXMLObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 215 void setJSTestObjXMLObjAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 216 JSC::EncodedJSValue jsTestObjCreate(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 217 void setJSTestObjCreate(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 218 JSC::EncodedJSValue jsTestObjReadOnlySymbolAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 219 JSC::EncodedJSValue jsTestObjConstructorStaticReadOnlySymbolAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 220 JSC::EncodedJSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 221 void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 222 JSC::EncodedJSValue jsTestObjReflectedIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 223 void setJSTestObjReflectedIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 224 JSC::EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 225 void setJSTestObjReflectedUnsignedIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 226 JSC::EncodedJSValue jsTestObjReflectedBooleanAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 227 void setJSTestObjReflectedBooleanAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 228 JSC::EncodedJSValue jsTestObjReflectedURLAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 229 void setJSTestObjReflectedURLAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 230 JSC::EncodedJSValue jsTestObjReflectedStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 231 void setJSTestObjReflectedStringAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 232 JSC::EncodedJSValue jsTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 233 void setJSTestObjReflectedCustomIntegralAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 234 JSC::EncodedJSValue jsTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 235 void setJSTestObjReflectedCustomBooleanAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 236 JSC::EncodedJSValue jsTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 237 void setJSTestObjReflectedCustomURLAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 238 JSC::EncodedJSValue jsTestObjTypedArrayAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 239 void setJSTestObjTypedArrayAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 240 JSC::EncodedJSValue jsTestObjAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 241 void setJSTestObjAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 242 JSC::EncodedJSValue jsTestObjAttrWithGetterExceptionWithMessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 243 void setJSTestObjAttrWithGetterExceptionWithMessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 244 JSC::EncodedJSValue jsTestObjAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 245 void setJSTestObjAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 246 JSC::EncodedJSValue jsTestObjAttrWithSetterExceptionWithMessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 247 void setJSTestObjAttrWithSetterExceptionWithMessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 248 JSC::EncodedJSValue jsTestObjStringAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 249 void setJSTestObjStringAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 250 JSC::EncodedJSValue jsTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 251 void setJSTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 252 JSC::EncodedJSValue jsTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 253 void setJSTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 254 JSC::EncodedJSValue jsTestObjCustomAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 255 void setJSTestObjCustomAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 256 JSC::EncodedJSValue jsTestObjOnfoo(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 257 void setJSTestObjOnfoo(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 258 JSC::EncodedJSValue jsTestObjWithScriptStateAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 259 void setJSTestObjWithScriptStateAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 260 JSC::EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 261 void setJSTestObjWithCallWithAndSetterCallWithAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 262 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 263 void setJSTestObjWithScriptExecutionContextAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 264 JSC::EncodedJSValue jsTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 265 void setJSTestObjWithScriptStateAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 266 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 267 void setJSTestObjWithScriptExecutionContextAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 268 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 269 void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 270 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 271 void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 272 JSC::EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 273 void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 274 JSC::EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 275 void setJSTestObjWithScriptArgumentsAndCallStackAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 276 276 #if ENABLE(Condition1) 277 JSC::EncodedJSValue jsTestObjConditionalAttr1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);278 void setJSTestObjConditionalAttr1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);277 JSC::EncodedJSValue jsTestObjConditionalAttr1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 278 void setJSTestObjConditionalAttr1(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 279 279 #endif 280 280 #if ENABLE(Condition1) && ENABLE(Condition2) 281 JSC::EncodedJSValue jsTestObjConditionalAttr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);282 void setJSTestObjConditionalAttr2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);281 JSC::EncodedJSValue jsTestObjConditionalAttr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 282 void setJSTestObjConditionalAttr2(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 283 283 #endif 284 284 #if ENABLE(Condition1) || ENABLE(Condition2) 285 JSC::EncodedJSValue jsTestObjConditionalAttr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);286 void setJSTestObjConditionalAttr3(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);285 JSC::EncodedJSValue jsTestObjConditionalAttr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 286 void setJSTestObjConditionalAttr3(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 287 287 #endif 288 288 #if ENABLE(Condition1) 289 JSC::EncodedJSValue jsTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);290 void setJSTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);289 JSC::EncodedJSValue jsTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 290 void setJSTestObjConditionalAttr4Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 291 291 #endif 292 292 #if ENABLE(Condition1) && ENABLE(Condition2) 293 JSC::EncodedJSValue jsTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);294 void setJSTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);293 JSC::EncodedJSValue jsTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 294 void setJSTestObjConditionalAttr5Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 295 295 #endif 296 296 #if ENABLE(Condition1) || ENABLE(Condition2) 297 JSC::EncodedJSValue jsTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);298 void setJSTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);299 #endif 300 JSC::EncodedJSValue jsTestObjCachedAttribute1(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);301 JSC::EncodedJSValue jsTestObjCachedAttribute2(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);302 JSC::EncodedJSValue jsTestObjAnyAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);303 void setJSTestObjAnyAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);304 JSC::EncodedJSValue jsTestObjContentDocument(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);305 JSC::EncodedJSValue jsTestObjMutablePoint(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);306 void setJSTestObjMutablePoint(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);307 JSC::EncodedJSValue jsTestObjImmutablePoint(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);308 void setJSTestObjImmutablePoint(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);309 JSC::EncodedJSValue jsTestObjStrawberry(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);310 void setJSTestObjStrawberry(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);311 JSC::EncodedJSValue jsTestObjStrictFloat(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);312 void setJSTestObjStrictFloat(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);313 JSC::EncodedJSValue jsTestObjDescription(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);314 JSC::EncodedJSValue jsTestObjId(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);315 void setJSTestObjId(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);316 JSC::EncodedJSValue jsTestObjHash(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);317 JSC::EncodedJSValue jsTestObjReplaceableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);318 void setJSTestObjReplaceableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);319 JSC::EncodedJSValue jsTestObjNullableDoubleAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);320 JSC::EncodedJSValue jsTestObjNullableLongAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);321 JSC::EncodedJSValue jsTestObjNullableBooleanAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);322 JSC::EncodedJSValue jsTestObjNullableStringAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);323 JSC::EncodedJSValue jsTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);324 void setJSTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);325 JSC::EncodedJSValue jsTestObjNullableStringValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);326 void setJSTestObjNullableStringValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);327 JSC::EncodedJSValue jsTestObjAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);328 JSC::EncodedJSValue jsTestObjAttributeWithReservedEnumType(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);329 void setJSTestObjAttributeWithReservedEnumType(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);330 JSC::EncodedJSValue jsTestObjPutForwardsAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);331 void setJSTestObjPutForwardsAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);332 JSC::EncodedJSValue jsTestObjPutForwardsNullableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);333 void setJSTestObjPutForwardsNullableAttribute(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);334 JSC::EncodedJSValue jsTestObjConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);335 void setJSTestObjConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);297 JSC::EncodedJSValue jsTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 298 void setJSTestObjConditionalAttr6Constructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 299 #endif 300 JSC::EncodedJSValue jsTestObjCachedAttribute1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 301 JSC::EncodedJSValue jsTestObjCachedAttribute2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 302 JSC::EncodedJSValue jsTestObjAnyAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 303 void setJSTestObjAnyAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 304 JSC::EncodedJSValue jsTestObjContentDocument(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 305 JSC::EncodedJSValue jsTestObjMutablePoint(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 306 void setJSTestObjMutablePoint(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 307 JSC::EncodedJSValue jsTestObjImmutablePoint(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 308 void setJSTestObjImmutablePoint(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 309 JSC::EncodedJSValue jsTestObjStrawberry(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 310 void setJSTestObjStrawberry(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 311 JSC::EncodedJSValue jsTestObjStrictFloat(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 312 void setJSTestObjStrictFloat(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 313 JSC::EncodedJSValue jsTestObjDescription(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 314 JSC::EncodedJSValue jsTestObjId(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 315 void setJSTestObjId(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 316 JSC::EncodedJSValue jsTestObjHash(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 317 JSC::EncodedJSValue jsTestObjReplaceableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 318 void setJSTestObjReplaceableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 319 JSC::EncodedJSValue jsTestObjNullableDoubleAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 320 JSC::EncodedJSValue jsTestObjNullableLongAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 321 JSC::EncodedJSValue jsTestObjNullableBooleanAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 322 JSC::EncodedJSValue jsTestObjNullableStringAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 323 JSC::EncodedJSValue jsTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 324 void setJSTestObjNullableLongSettableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 325 JSC::EncodedJSValue jsTestObjNullableStringValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 326 void setJSTestObjNullableStringValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 327 JSC::EncodedJSValue jsTestObjAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 328 JSC::EncodedJSValue jsTestObjAttributeWithReservedEnumType(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 329 void setJSTestObjAttributeWithReservedEnumType(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 330 JSC::EncodedJSValue jsTestObjPutForwardsAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 331 void setJSTestObjPutForwardsAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 332 JSC::EncodedJSValue jsTestObjPutForwardsNullableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 333 void setJSTestObjPutForwardsNullableAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 334 JSC::EncodedJSValue jsTestObjConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 335 void setJSTestObjConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 336 336 337 337 class JSTestObjPrototype : public JSC::JSNonFinalObject { … … 743 743 } 744 744 745 EncodedJSValue jsTestObjReadOnlyLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 746 { 747 UNUSED_PARAM(state); 748 UNUSED_PARAM(slotBase); 745 EncodedJSValue jsTestObjReadOnlyLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 746 { 747 UNUSED_PARAM(state); 749 748 UNUSED_PARAM(thisValue); 750 749 JSValue decodedThisValue = JSValue::decode(thisValue); … … 759 758 760 759 761 EncodedJSValue jsTestObjReadOnlyStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 762 { 763 UNUSED_PARAM(state); 764 UNUSED_PARAM(slotBase); 760 EncodedJSValue jsTestObjReadOnlyStringAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 761 { 762 UNUSED_PARAM(state); 765 763 UNUSED_PARAM(thisValue); 766 764 JSValue decodedThisValue = JSValue::decode(thisValue); … … 775 773 776 774 777 EncodedJSValue jsTestObjReadOnlyTestObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 778 { 779 UNUSED_PARAM(state); 780 UNUSED_PARAM(slotBase); 775 EncodedJSValue jsTestObjReadOnlyTestObjAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 776 { 777 UNUSED_PARAM(state); 781 778 UNUSED_PARAM(thisValue); 782 779 JSValue decodedThisValue = JSValue::decode(thisValue); … … 791 788 792 789 793 EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 794 { 795 UNUSED_PARAM(state); 796 UNUSED_PARAM(slotBase); 790 EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 791 { 792 UNUSED_PARAM(state); 797 793 UNUSED_PARAM(thisValue); 798 794 JSValue result = jsNumber(TestObj::staticReadOnlyLongAttr()); … … 801 797 802 798 803 EncodedJSValue jsTestObjConstructorStaticStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 804 { 805 UNUSED_PARAM(state); 806 UNUSED_PARAM(slotBase); 799 EncodedJSValue jsTestObjConstructorStaticStringAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 800 { 801 UNUSED_PARAM(state); 807 802 UNUSED_PARAM(thisValue); 808 803 JSValue result = jsStringWithCache(state, TestObj::staticStringAttr()); … … 811 806 812 807 813 EncodedJSValue jsTestObjConstructorTestSubObj(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 814 { 815 UNUSED_PARAM(state); 816 UNUSED_PARAM(slotBase); 808 EncodedJSValue jsTestObjConstructorTestSubObj(ExecState* state, EncodedJSValue thisValue, PropertyName) 809 { 810 UNUSED_PARAM(state); 817 811 UNUSED_PARAM(thisValue); 818 812 JSValue decodedThisValue = JSValue::decode(thisValue); … … 825 819 826 820 827 EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 828 { 829 UNUSED_PARAM(state); 830 UNUSED_PARAM(slotBase); 821 EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 822 { 823 UNUSED_PARAM(state); 831 824 UNUSED_PARAM(thisValue); 832 825 JSValue decodedThisValue = JSValue::decode(thisValue); … … 844 837 845 838 846 EncodedJSValue jsTestObjEnumAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 847 { 848 UNUSED_PARAM(state); 849 UNUSED_PARAM(slotBase); 839 EncodedJSValue jsTestObjEnumAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 840 { 841 UNUSED_PARAM(state); 850 842 UNUSED_PARAM(thisValue); 851 843 JSValue decodedThisValue = JSValue::decode(thisValue); … … 860 852 861 853 862 EncodedJSValue jsTestObjByteAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 863 { 864 UNUSED_PARAM(state); 865 UNUSED_PARAM(slotBase); 854 EncodedJSValue jsTestObjByteAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 855 { 856 UNUSED_PARAM(state); 866 857 UNUSED_PARAM(thisValue); 867 858 JSValue decodedThisValue = JSValue::decode(thisValue); … … 876 867 877 868 878 EncodedJSValue jsTestObjOctetAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 879 { 880 UNUSED_PARAM(state); 881 UNUSED_PARAM(slotBase); 869 EncodedJSValue jsTestObjOctetAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 870 { 871 UNUSED_PARAM(state); 882 872 UNUSED_PARAM(thisValue); 883 873 JSValue decodedThisValue = JSValue::decode(thisValue); … … 892 882 893 883 894 EncodedJSValue jsTestObjShortAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 895 { 896 UNUSED_PARAM(state); 897 UNUSED_PARAM(slotBase); 884 EncodedJSValue jsTestObjShortAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 885 { 886 UNUSED_PARAM(state); 898 887 UNUSED_PARAM(thisValue); 899 888 JSValue decodedThisValue = JSValue::decode(thisValue); … … 908 897 909 898 910 EncodedJSValue jsTestObjUnsignedShortAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 911 { 912 UNUSED_PARAM(state); 913 UNUSED_PARAM(slotBase); 899 EncodedJSValue jsTestObjUnsignedShortAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 900 { 901 UNUSED_PARAM(state); 914 902 UNUSED_PARAM(thisValue); 915 903 JSValue decodedThisValue = JSValue::decode(thisValue); … … 924 912 925 913 926 EncodedJSValue jsTestObjLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 927 { 928 UNUSED_PARAM(state); 929 UNUSED_PARAM(slotBase); 914 EncodedJSValue jsTestObjLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 915 { 916 UNUSED_PARAM(state); 930 917 UNUSED_PARAM(thisValue); 931 918 JSValue decodedThisValue = JSValue::decode(thisValue); … … 940 927 941 928 942 EncodedJSValue jsTestObjLongLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 943 { 944 UNUSED_PARAM(state); 945 UNUSED_PARAM(slotBase); 929 EncodedJSValue jsTestObjLongLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 930 { 931 UNUSED_PARAM(state); 946 932 UNUSED_PARAM(thisValue); 947 933 JSValue decodedThisValue = JSValue::decode(thisValue); … … 956 942 957 943 958 EncodedJSValue jsTestObjUnsignedLongLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 959 { 960 UNUSED_PARAM(state); 961 UNUSED_PARAM(slotBase); 944 EncodedJSValue jsTestObjUnsignedLongLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 945 { 946 UNUSED_PARAM(state); 962 947 UNUSED_PARAM(thisValue); 963 948 JSValue decodedThisValue = JSValue::decode(thisValue); … … 972 957 973 958 974 EncodedJSValue jsTestObjStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 975 { 976 UNUSED_PARAM(state); 977 UNUSED_PARAM(slotBase); 959 EncodedJSValue jsTestObjStringAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 960 { 961 UNUSED_PARAM(state); 978 962 UNUSED_PARAM(thisValue); 979 963 JSValue decodedThisValue = JSValue::decode(thisValue); … … 988 972 989 973 990 EncodedJSValue jsTestObjTestObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 991 { 992 UNUSED_PARAM(state); 993 UNUSED_PARAM(slotBase); 974 EncodedJSValue jsTestObjTestObjAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 975 { 976 UNUSED_PARAM(state); 994 977 UNUSED_PARAM(thisValue); 995 978 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1004 987 1005 988 1006 EncodedJSValue jsTestObjLenientTestObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1007 { 1008 UNUSED_PARAM(state); 1009 UNUSED_PARAM(slotBase); 989 EncodedJSValue jsTestObjLenientTestObjAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 990 { 991 UNUSED_PARAM(state); 1010 992 UNUSED_PARAM(thisValue); 1011 993 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1020 1002 1021 1003 1022 EncodedJSValue jsTestObjXMLObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1023 { 1024 UNUSED_PARAM(state); 1025 UNUSED_PARAM(slotBase); 1004 EncodedJSValue jsTestObjXMLObjAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1005 { 1006 UNUSED_PARAM(state); 1026 1007 UNUSED_PARAM(thisValue); 1027 1008 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1036 1017 1037 1018 1038 EncodedJSValue jsTestObjCreate(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1039 { 1040 UNUSED_PARAM(state); 1041 UNUSED_PARAM(slotBase); 1019 EncodedJSValue jsTestObjCreate(ExecState* state, EncodedJSValue thisValue, PropertyName) 1020 { 1021 UNUSED_PARAM(state); 1042 1022 UNUSED_PARAM(thisValue); 1043 1023 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1052 1032 1053 1033 1054 EncodedJSValue jsTestObjReadOnlySymbolAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1055 { 1056 UNUSED_PARAM(state); 1057 UNUSED_PARAM(slotBase); 1034 EncodedJSValue jsTestObjReadOnlySymbolAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1035 { 1036 UNUSED_PARAM(state); 1058 1037 UNUSED_PARAM(thisValue); 1059 1038 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1068 1047 1069 1048 1070 EncodedJSValue jsTestObjConstructorStaticReadOnlySymbolAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1071 { 1072 UNUSED_PARAM(state); 1073 UNUSED_PARAM(slotBase); 1049 EncodedJSValue jsTestObjConstructorStaticReadOnlySymbolAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1050 { 1051 UNUSED_PARAM(state); 1074 1052 UNUSED_PARAM(thisValue); 1075 1053 JSValue result = Symbol::create(state->vm(), *(TestObj::staticReadOnlySymbolAttr()).uid()); … … 1078 1056 1079 1057 1080 EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1081 { 1082 UNUSED_PARAM(state); 1083 UNUSED_PARAM(slotBase); 1058 EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1059 { 1060 UNUSED_PARAM(state); 1084 1061 UNUSED_PARAM(thisValue); 1085 1062 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1094 1071 1095 1072 1096 EncodedJSValue jsTestObjReflectedIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1097 { 1098 UNUSED_PARAM(state); 1099 UNUSED_PARAM(slotBase); 1073 EncodedJSValue jsTestObjReflectedIntegralAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1074 { 1075 UNUSED_PARAM(state); 1100 1076 UNUSED_PARAM(thisValue); 1101 1077 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1110 1086 1111 1087 1112 EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1113 { 1114 UNUSED_PARAM(state); 1115 UNUSED_PARAM(slotBase); 1088 EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1089 { 1090 UNUSED_PARAM(state); 1116 1091 UNUSED_PARAM(thisValue); 1117 1092 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1126 1101 1127 1102 1128 EncodedJSValue jsTestObjReflectedBooleanAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1129 { 1130 UNUSED_PARAM(state); 1131 UNUSED_PARAM(slotBase); 1103 EncodedJSValue jsTestObjReflectedBooleanAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1104 { 1105 UNUSED_PARAM(state); 1132 1106 UNUSED_PARAM(thisValue); 1133 1107 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1142 1116 1143 1117 1144 EncodedJSValue jsTestObjReflectedURLAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1145 { 1146 UNUSED_PARAM(state); 1147 UNUSED_PARAM(slotBase); 1118 EncodedJSValue jsTestObjReflectedURLAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1119 { 1120 UNUSED_PARAM(state); 1148 1121 UNUSED_PARAM(thisValue); 1149 1122 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1158 1131 1159 1132 1160 EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1161 { 1162 UNUSED_PARAM(state); 1163 UNUSED_PARAM(slotBase); 1133 EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1134 { 1135 UNUSED_PARAM(state); 1164 1136 UNUSED_PARAM(thisValue); 1165 1137 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1174 1146 1175 1147 1176 EncodedJSValue jsTestObjReflectedCustomIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1177 { 1178 UNUSED_PARAM(state); 1179 UNUSED_PARAM(slotBase); 1148 EncodedJSValue jsTestObjReflectedCustomIntegralAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1149 { 1150 UNUSED_PARAM(state); 1180 1151 UNUSED_PARAM(thisValue); 1181 1152 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1190 1161 1191 1162 1192 EncodedJSValue jsTestObjReflectedCustomBooleanAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1193 { 1194 UNUSED_PARAM(state); 1195 UNUSED_PARAM(slotBase); 1163 EncodedJSValue jsTestObjReflectedCustomBooleanAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1164 { 1165 UNUSED_PARAM(state); 1196 1166 UNUSED_PARAM(thisValue); 1197 1167 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1206 1176 1207 1177 1208 EncodedJSValue jsTestObjReflectedCustomURLAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1209 { 1210 UNUSED_PARAM(state); 1211 UNUSED_PARAM(slotBase); 1178 EncodedJSValue jsTestObjReflectedCustomURLAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1179 { 1180 UNUSED_PARAM(state); 1212 1181 UNUSED_PARAM(thisValue); 1213 1182 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1222 1191 1223 1192 1224 EncodedJSValue jsTestObjTypedArrayAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1225 { 1226 UNUSED_PARAM(state); 1227 UNUSED_PARAM(slotBase); 1193 EncodedJSValue jsTestObjTypedArrayAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1194 { 1195 UNUSED_PARAM(state); 1228 1196 UNUSED_PARAM(thisValue); 1229 1197 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1238 1206 1239 1207 1240 EncodedJSValue jsTestObjAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1241 { 1242 UNUSED_PARAM(state); 1243 UNUSED_PARAM(slotBase); 1208 EncodedJSValue jsTestObjAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 1209 { 1210 UNUSED_PARAM(state); 1244 1211 UNUSED_PARAM(thisValue); 1245 1212 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1256 1223 1257 1224 1258 EncodedJSValue jsTestObjAttrWithGetterExceptionWithMessage(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1259 { 1260 UNUSED_PARAM(state); 1261 UNUSED_PARAM(slotBase); 1225 EncodedJSValue jsTestObjAttrWithGetterExceptionWithMessage(ExecState* state, EncodedJSValue thisValue, PropertyName) 1226 { 1227 UNUSED_PARAM(state); 1262 1228 UNUSED_PARAM(thisValue); 1263 1229 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1274 1240 1275 1241 1276 EncodedJSValue jsTestObjAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1277 { 1278 UNUSED_PARAM(state); 1279 UNUSED_PARAM(slotBase); 1242 EncodedJSValue jsTestObjAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 1243 { 1244 UNUSED_PARAM(state); 1280 1245 UNUSED_PARAM(thisValue); 1281 1246 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1290 1255 1291 1256 1292 EncodedJSValue jsTestObjAttrWithSetterExceptionWithMessage(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1293 { 1294 UNUSED_PARAM(state); 1295 UNUSED_PARAM(slotBase); 1257 EncodedJSValue jsTestObjAttrWithSetterExceptionWithMessage(ExecState* state, EncodedJSValue thisValue, PropertyName) 1258 { 1259 UNUSED_PARAM(state); 1296 1260 UNUSED_PARAM(thisValue); 1297 1261 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1306 1270 1307 1271 1308 EncodedJSValue jsTestObjStringAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1309 { 1310 UNUSED_PARAM(state); 1311 UNUSED_PARAM(slotBase); 1272 EncodedJSValue jsTestObjStringAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 1273 { 1274 UNUSED_PARAM(state); 1312 1275 UNUSED_PARAM(thisValue); 1313 1276 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1324 1287 1325 1288 1326 EncodedJSValue jsTestObjStringAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1327 { 1328 UNUSED_PARAM(state); 1329 UNUSED_PARAM(slotBase); 1289 EncodedJSValue jsTestObjStringAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 1290 { 1291 UNUSED_PARAM(state); 1330 1292 UNUSED_PARAM(thisValue); 1331 1293 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1340 1302 1341 1303 1342 EncodedJSValue jsTestObjStrictTypeCheckingAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1343 { 1344 UNUSED_PARAM(state); 1345 UNUSED_PARAM(slotBase); 1304 EncodedJSValue jsTestObjStrictTypeCheckingAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1305 { 1306 UNUSED_PARAM(state); 1346 1307 UNUSED_PARAM(thisValue); 1347 1308 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1356 1317 1357 1318 1358 EncodedJSValue jsTestObjCustomAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1359 { 1360 UNUSED_PARAM(state); 1361 UNUSED_PARAM(slotBase); 1319 EncodedJSValue jsTestObjCustomAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 1320 { 1321 UNUSED_PARAM(state); 1362 1322 UNUSED_PARAM(thisValue); 1363 1323 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1370 1330 1371 1331 1372 EncodedJSValue jsTestObjOnfoo(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1373 { 1374 UNUSED_PARAM(state); 1375 UNUSED_PARAM(slotBase); 1332 EncodedJSValue jsTestObjOnfoo(ExecState* state, EncodedJSValue thisValue, PropertyName) 1333 { 1334 UNUSED_PARAM(state); 1376 1335 UNUSED_PARAM(thisValue); 1377 1336 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1385 1344 1386 1345 1387 EncodedJSValue jsTestObjWithScriptStateAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1388 { 1389 UNUSED_PARAM(state); 1390 UNUSED_PARAM(slotBase); 1346 EncodedJSValue jsTestObjWithScriptStateAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1347 { 1348 UNUSED_PARAM(state); 1391 1349 UNUSED_PARAM(thisValue); 1392 1350 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1401 1359 1402 1360 1403 EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1404 { 1405 UNUSED_PARAM(state); 1406 UNUSED_PARAM(slotBase); 1361 EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1362 { 1363 UNUSED_PARAM(state); 1407 1364 UNUSED_PARAM(thisValue); 1408 1365 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1417 1374 1418 1375 1419 EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1420 { 1421 UNUSED_PARAM(state); 1422 UNUSED_PARAM(slotBase); 1376 EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1377 { 1378 UNUSED_PARAM(state); 1423 1379 UNUSED_PARAM(thisValue); 1424 1380 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1436 1392 1437 1393 1438 EncodedJSValue jsTestObjWithScriptStateAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1439 { 1440 UNUSED_PARAM(state); 1441 UNUSED_PARAM(slotBase); 1394 EncodedJSValue jsTestObjWithScriptStateAttributeRaises(ExecState* state, EncodedJSValue thisValue, PropertyName) 1395 { 1396 UNUSED_PARAM(state); 1442 1397 UNUSED_PARAM(thisValue); 1443 1398 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1454 1409 1455 1410 1456 EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1457 { 1458 UNUSED_PARAM(state); 1459 UNUSED_PARAM(slotBase); 1411 EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, EncodedJSValue thisValue, PropertyName) 1412 { 1413 UNUSED_PARAM(state); 1460 1414 UNUSED_PARAM(thisValue); 1461 1415 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1475 1429 1476 1430 1477 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1478 { 1479 UNUSED_PARAM(state); 1480 UNUSED_PARAM(slotBase); 1431 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1432 { 1433 UNUSED_PARAM(state); 1481 1434 UNUSED_PARAM(thisValue); 1482 1435 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1494 1447 1495 1448 1496 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1497 { 1498 UNUSED_PARAM(state); 1499 UNUSED_PARAM(slotBase); 1449 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, EncodedJSValue thisValue, PropertyName) 1450 { 1451 UNUSED_PARAM(state); 1500 1452 UNUSED_PARAM(thisValue); 1501 1453 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1515 1467 1516 1468 1517 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1518 { 1519 UNUSED_PARAM(state); 1520 UNUSED_PARAM(slotBase); 1469 EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1470 { 1471 UNUSED_PARAM(state); 1521 1472 UNUSED_PARAM(thisValue); 1522 1473 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1534 1485 1535 1486 1536 EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1537 { 1538 UNUSED_PARAM(state); 1539 UNUSED_PARAM(slotBase); 1487 EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1488 { 1489 UNUSED_PARAM(state); 1540 1490 UNUSED_PARAM(thisValue); 1541 1491 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1551 1501 1552 1502 #if ENABLE(Condition1) 1553 EncodedJSValue jsTestObjConditionalAttr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1554 { 1555 UNUSED_PARAM(state); 1556 UNUSED_PARAM(slotBase); 1503 EncodedJSValue jsTestObjConditionalAttr1(ExecState* state, EncodedJSValue thisValue, PropertyName) 1504 { 1505 UNUSED_PARAM(state); 1557 1506 UNUSED_PARAM(thisValue); 1558 1507 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1569 1518 1570 1519 #if ENABLE(Condition1) && ENABLE(Condition2) 1571 EncodedJSValue jsTestObjConditionalAttr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1572 { 1573 UNUSED_PARAM(state); 1574 UNUSED_PARAM(slotBase); 1520 EncodedJSValue jsTestObjConditionalAttr2(ExecState* state, EncodedJSValue thisValue, PropertyName) 1521 { 1522 UNUSED_PARAM(state); 1575 1523 UNUSED_PARAM(thisValue); 1576 1524 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1587 1535 1588 1536 #if ENABLE(Condition1) || ENABLE(Condition2) 1589 EncodedJSValue jsTestObjConditionalAttr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1590 { 1591 UNUSED_PARAM(state); 1592 UNUSED_PARAM(slotBase); 1537 EncodedJSValue jsTestObjConditionalAttr3(ExecState* state, EncodedJSValue thisValue, PropertyName) 1538 { 1539 UNUSED_PARAM(state); 1593 1540 UNUSED_PARAM(thisValue); 1594 1541 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1605 1552 1606 1553 #if ENABLE(Condition1) 1607 EncodedJSValue jsTestObjConditionalAttr4Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1608 { 1609 UNUSED_PARAM(state); 1610 UNUSED_PARAM(slotBase); 1554 EncodedJSValue jsTestObjConditionalAttr4Constructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 1555 { 1556 UNUSED_PARAM(state); 1611 1557 UNUSED_PARAM(thisValue); 1612 1558 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1621 1567 1622 1568 #if ENABLE(Condition1) && ENABLE(Condition2) 1623 EncodedJSValue jsTestObjConditionalAttr5Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1624 { 1625 UNUSED_PARAM(state); 1626 UNUSED_PARAM(slotBase); 1569 EncodedJSValue jsTestObjConditionalAttr5Constructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 1570 { 1571 UNUSED_PARAM(state); 1627 1572 UNUSED_PARAM(thisValue); 1628 1573 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1637 1582 1638 1583 #if ENABLE(Condition1) || ENABLE(Condition2) 1639 EncodedJSValue jsTestObjConditionalAttr6Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1640 { 1641 UNUSED_PARAM(state); 1642 UNUSED_PARAM(slotBase); 1584 EncodedJSValue jsTestObjConditionalAttr6Constructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 1585 { 1586 UNUSED_PARAM(state); 1643 1587 UNUSED_PARAM(thisValue); 1644 1588 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1652 1596 #endif 1653 1597 1654 EncodedJSValue jsTestObjCachedAttribute1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1655 { 1656 UNUSED_PARAM(state); 1657 UNUSED_PARAM(slotBase); 1598 EncodedJSValue jsTestObjCachedAttribute1(ExecState* state, EncodedJSValue thisValue, PropertyName) 1599 { 1600 UNUSED_PARAM(state); 1658 1601 UNUSED_PARAM(thisValue); 1659 1602 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1671 1614 1672 1615 1673 EncodedJSValue jsTestObjCachedAttribute2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1674 { 1675 UNUSED_PARAM(state); 1676 UNUSED_PARAM(slotBase); 1616 EncodedJSValue jsTestObjCachedAttribute2(ExecState* state, EncodedJSValue thisValue, PropertyName) 1617 { 1618 UNUSED_PARAM(state); 1677 1619 UNUSED_PARAM(thisValue); 1678 1620 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1690 1632 1691 1633 1692 EncodedJSValue jsTestObjAnyAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1693 { 1694 UNUSED_PARAM(state); 1695 UNUSED_PARAM(slotBase); 1634 EncodedJSValue jsTestObjAnyAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1635 { 1636 UNUSED_PARAM(state); 1696 1637 UNUSED_PARAM(thisValue); 1697 1638 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1706 1647 1707 1648 1708 EncodedJSValue jsTestObjContentDocument(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1709 { 1710 UNUSED_PARAM(state); 1711 UNUSED_PARAM(slotBase); 1649 EncodedJSValue jsTestObjContentDocument(ExecState* state, EncodedJSValue thisValue, PropertyName) 1650 { 1651 UNUSED_PARAM(state); 1712 1652 UNUSED_PARAM(thisValue); 1713 1653 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1721 1661 1722 1662 1723 EncodedJSValue jsTestObjMutablePoint(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1724 { 1725 UNUSED_PARAM(state); 1726 UNUSED_PARAM(slotBase); 1663 EncodedJSValue jsTestObjMutablePoint(ExecState* state, EncodedJSValue thisValue, PropertyName) 1664 { 1665 UNUSED_PARAM(state); 1727 1666 UNUSED_PARAM(thisValue); 1728 1667 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1737 1676 1738 1677 1739 EncodedJSValue jsTestObjImmutablePoint(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1740 { 1741 UNUSED_PARAM(state); 1742 UNUSED_PARAM(slotBase); 1678 EncodedJSValue jsTestObjImmutablePoint(ExecState* state, EncodedJSValue thisValue, PropertyName) 1679 { 1680 UNUSED_PARAM(state); 1743 1681 UNUSED_PARAM(thisValue); 1744 1682 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1753 1691 1754 1692 1755 EncodedJSValue jsTestObjStrawberry(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1756 { 1757 UNUSED_PARAM(state); 1758 UNUSED_PARAM(slotBase); 1693 EncodedJSValue jsTestObjStrawberry(ExecState* state, EncodedJSValue thisValue, PropertyName) 1694 { 1695 UNUSED_PARAM(state); 1759 1696 UNUSED_PARAM(thisValue); 1760 1697 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1769 1706 1770 1707 1771 EncodedJSValue jsTestObjStrictFloat(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1772 { 1773 UNUSED_PARAM(state); 1774 UNUSED_PARAM(slotBase); 1708 EncodedJSValue jsTestObjStrictFloat(ExecState* state, EncodedJSValue thisValue, PropertyName) 1709 { 1710 UNUSED_PARAM(state); 1775 1711 UNUSED_PARAM(thisValue); 1776 1712 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1785 1721 1786 1722 1787 EncodedJSValue jsTestObjDescription(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1788 { 1789 UNUSED_PARAM(state); 1790 UNUSED_PARAM(slotBase); 1723 EncodedJSValue jsTestObjDescription(ExecState* state, EncodedJSValue thisValue, PropertyName) 1724 { 1725 UNUSED_PARAM(state); 1791 1726 UNUSED_PARAM(thisValue); 1792 1727 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1801 1736 1802 1737 1803 EncodedJSValue jsTestObjId(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1804 { 1805 UNUSED_PARAM(state); 1806 UNUSED_PARAM(slotBase); 1738 EncodedJSValue jsTestObjId(ExecState* state, EncodedJSValue thisValue, PropertyName) 1739 { 1740 UNUSED_PARAM(state); 1807 1741 UNUSED_PARAM(thisValue); 1808 1742 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1817 1751 1818 1752 1819 EncodedJSValue jsTestObjHash(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1820 { 1821 UNUSED_PARAM(state); 1822 UNUSED_PARAM(slotBase); 1753 EncodedJSValue jsTestObjHash(ExecState* state, EncodedJSValue thisValue, PropertyName) 1754 { 1755 UNUSED_PARAM(state); 1823 1756 UNUSED_PARAM(thisValue); 1824 1757 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1833 1766 1834 1767 1835 EncodedJSValue jsTestObjReplaceableAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1836 { 1837 UNUSED_PARAM(state); 1838 UNUSED_PARAM(slotBase); 1768 EncodedJSValue jsTestObjReplaceableAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1769 { 1770 UNUSED_PARAM(state); 1839 1771 UNUSED_PARAM(thisValue); 1840 1772 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1849 1781 1850 1782 1851 EncodedJSValue jsTestObjNullableDoubleAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1852 { 1853 UNUSED_PARAM(state); 1854 UNUSED_PARAM(slotBase); 1783 EncodedJSValue jsTestObjNullableDoubleAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1784 { 1785 UNUSED_PARAM(state); 1855 1786 UNUSED_PARAM(thisValue); 1856 1787 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1865 1796 1866 1797 1867 EncodedJSValue jsTestObjNullableLongAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1868 { 1869 UNUSED_PARAM(state); 1870 UNUSED_PARAM(slotBase); 1798 EncodedJSValue jsTestObjNullableLongAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1799 { 1800 UNUSED_PARAM(state); 1871 1801 UNUSED_PARAM(thisValue); 1872 1802 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1881 1811 1882 1812 1883 EncodedJSValue jsTestObjNullableBooleanAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1884 { 1885 UNUSED_PARAM(state); 1886 UNUSED_PARAM(slotBase); 1813 EncodedJSValue jsTestObjNullableBooleanAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1814 { 1815 UNUSED_PARAM(state); 1887 1816 UNUSED_PARAM(thisValue); 1888 1817 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1897 1826 1898 1827 1899 EncodedJSValue jsTestObjNullableStringAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1900 { 1901 UNUSED_PARAM(state); 1902 UNUSED_PARAM(slotBase); 1828 EncodedJSValue jsTestObjNullableStringAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1829 { 1830 UNUSED_PARAM(state); 1903 1831 UNUSED_PARAM(thisValue); 1904 1832 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1913 1841 1914 1842 1915 EncodedJSValue jsTestObjNullableLongSettableAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1916 { 1917 UNUSED_PARAM(state); 1918 UNUSED_PARAM(slotBase); 1843 EncodedJSValue jsTestObjNullableLongSettableAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1844 { 1845 UNUSED_PARAM(state); 1919 1846 UNUSED_PARAM(thisValue); 1920 1847 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1929 1856 1930 1857 1931 EncodedJSValue jsTestObjNullableStringValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1932 { 1933 UNUSED_PARAM(state); 1934 UNUSED_PARAM(slotBase); 1858 EncodedJSValue jsTestObjNullableStringValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 1859 { 1860 UNUSED_PARAM(state); 1935 1861 UNUSED_PARAM(thisValue); 1936 1862 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1947 1873 1948 1874 1949 EncodedJSValue jsTestObjAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1950 { 1951 UNUSED_PARAM(state); 1952 UNUSED_PARAM(slotBase); 1875 EncodedJSValue jsTestObjAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1876 { 1877 UNUSED_PARAM(state); 1953 1878 UNUSED_PARAM(thisValue); 1954 1879 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1963 1888 1964 1889 1965 EncodedJSValue jsTestObjAttributeWithReservedEnumType(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1966 { 1967 UNUSED_PARAM(state); 1968 UNUSED_PARAM(slotBase); 1890 EncodedJSValue jsTestObjAttributeWithReservedEnumType(ExecState* state, EncodedJSValue thisValue, PropertyName) 1891 { 1892 UNUSED_PARAM(state); 1969 1893 UNUSED_PARAM(thisValue); 1970 1894 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1979 1903 1980 1904 1981 EncodedJSValue jsTestObjPutForwardsAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1982 { 1983 UNUSED_PARAM(state); 1984 UNUSED_PARAM(slotBase); 1905 EncodedJSValue jsTestObjPutForwardsAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1906 { 1907 UNUSED_PARAM(state); 1985 1908 UNUSED_PARAM(thisValue); 1986 1909 JSValue decodedThisValue = JSValue::decode(thisValue); … … 1995 1918 1996 1919 1997 EncodedJSValue jsTestObjPutForwardsNullableAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 1998 { 1999 UNUSED_PARAM(state); 2000 UNUSED_PARAM(slotBase); 1920 EncodedJSValue jsTestObjPutForwardsNullableAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName) 1921 { 1922 UNUSED_PARAM(state); 2001 1923 UNUSED_PARAM(thisValue); 2002 1924 JSValue decodedThisValue = JSValue::decode(thisValue); … … 2011 1933 2012 1934 2013 EncodedJSValue jsTestObjConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)2014 { 2015 JSTestObjPrototype* domObject = jsDynamicCast<JSTestObjPrototype*>( baseValue);1935 EncodedJSValue jsTestObjConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 1936 { 1937 JSTestObjPrototype* domObject = jsDynamicCast<JSTestObjPrototype*>(JSValue::decode(thisValue)); 2016 1938 if (!domObject) 2017 1939 return throwVMTypeError(state); … … 2019 1941 } 2020 1942 2021 void setJSTestObjConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2022 { 2023 JSValue value = JSValue::decode(encodedValue); 2024 UNUSED_PARAM(thisValue); 2025 JSTestObjPrototype* domObject = jsDynamicCast<JSTestObjPrototype*>(baseValue); 1943 void setJSTestObjConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 1944 { 1945 JSValue value = JSValue::decode(encodedValue); 1946 JSTestObjPrototype* domObject = jsDynamicCast<JSTestObjPrototype*>(JSValue::decode(thisValue)); 2026 1947 if (UNLIKELY(!domObject)) { 2027 1948 throwVMTypeError(state); … … 2032 1953 } 2033 1954 2034 void setJSTestObjConstructorStaticStringAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue) 2035 { 2036 JSValue value = JSValue::decode(encodedValue); 2037 UNUSED_PARAM(baseObject); 1955 void setJSTestObjConstructorStaticStringAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 1956 { 1957 JSValue value = JSValue::decode(encodedValue); 2038 1958 String nativeValue = value.toString(state)->value(state); 2039 1959 if (UNLIKELY(state->hadException())) … … 2043 1963 2044 1964 2045 void setJSTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2046 { 2047 JSValue value = JSValue::decode(encodedValue); 2048 UNUSED_PARAM( baseObject);1965 void setJSTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 1966 { 1967 JSValue value = JSValue::decode(encodedValue); 1968 UNUSED_PARAM(thisValue); 2049 1969 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2050 1970 if (UNLIKELY(!castedThis)) { … … 2057 1977 2058 1978 2059 void setJSTestObjEnumAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2060 { 2061 JSValue value = JSValue::decode(encodedValue); 2062 UNUSED_PARAM( baseObject);1979 void setJSTestObjEnumAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 1980 { 1981 JSValue value = JSValue::decode(encodedValue); 1982 UNUSED_PARAM(thisValue); 2063 1983 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2064 1984 if (UNLIKELY(!castedThis)) { … … 2076 1996 2077 1997 2078 void setJSTestObjByteAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2079 { 2080 JSValue value = JSValue::decode(encodedValue); 2081 UNUSED_PARAM( baseObject);1998 void setJSTestObjByteAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 1999 { 2000 JSValue value = JSValue::decode(encodedValue); 2001 UNUSED_PARAM(thisValue); 2082 2002 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2083 2003 if (UNLIKELY(!castedThis)) { … … 2093 2013 2094 2014 2095 void setJSTestObjOctetAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2096 { 2097 JSValue value = JSValue::decode(encodedValue); 2098 UNUSED_PARAM( baseObject);2015 void setJSTestObjOctetAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2016 { 2017 JSValue value = JSValue::decode(encodedValue); 2018 UNUSED_PARAM(thisValue); 2099 2019 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2100 2020 if (UNLIKELY(!castedThis)) { … … 2110 2030 2111 2031 2112 void setJSTestObjShortAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2113 { 2114 JSValue value = JSValue::decode(encodedValue); 2115 UNUSED_PARAM( baseObject);2032 void setJSTestObjShortAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2033 { 2034 JSValue value = JSValue::decode(encodedValue); 2035 UNUSED_PARAM(thisValue); 2116 2036 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2117 2037 if (UNLIKELY(!castedThis)) { … … 2127 2047 2128 2048 2129 void setJSTestObjUnsignedShortAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2130 { 2131 JSValue value = JSValue::decode(encodedValue); 2132 UNUSED_PARAM( baseObject);2049 void setJSTestObjUnsignedShortAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2050 { 2051 JSValue value = JSValue::decode(encodedValue); 2052 UNUSED_PARAM(thisValue); 2133 2053 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2134 2054 if (UNLIKELY(!castedThis)) { … … 2144 2064 2145 2065 2146 void setJSTestObjLongAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2147 { 2148 JSValue value = JSValue::decode(encodedValue); 2149 UNUSED_PARAM( baseObject);2066 void setJSTestObjLongAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2067 { 2068 JSValue value = JSValue::decode(encodedValue); 2069 UNUSED_PARAM(thisValue); 2150 2070 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2151 2071 if (UNLIKELY(!castedThis)) { … … 2161 2081 2162 2082 2163 void setJSTestObjLongLongAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2164 { 2165 JSValue value = JSValue::decode(encodedValue); 2166 UNUSED_PARAM( baseObject);2083 void setJSTestObjLongLongAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2084 { 2085 JSValue value = JSValue::decode(encodedValue); 2086 UNUSED_PARAM(thisValue); 2167 2087 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2168 2088 if (UNLIKELY(!castedThis)) { … … 2178 2098 2179 2099 2180 void setJSTestObjUnsignedLongLongAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2181 { 2182 JSValue value = JSValue::decode(encodedValue); 2183 UNUSED_PARAM( baseObject);2100 void setJSTestObjUnsignedLongLongAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2101 { 2102 JSValue value = JSValue::decode(encodedValue); 2103 UNUSED_PARAM(thisValue); 2184 2104 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2185 2105 if (UNLIKELY(!castedThis)) { … … 2195 2115 2196 2116 2197 void setJSTestObjStringAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2198 { 2199 JSValue value = JSValue::decode(encodedValue); 2200 UNUSED_PARAM( baseObject);2117 void setJSTestObjStringAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2118 { 2119 JSValue value = JSValue::decode(encodedValue); 2120 UNUSED_PARAM(thisValue); 2201 2121 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2202 2122 if (UNLIKELY(!castedThis)) { … … 2212 2132 2213 2133 2214 void setJSTestObjTestObjAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2215 { 2216 JSValue value = JSValue::decode(encodedValue); 2217 UNUSED_PARAM( baseObject);2134 void setJSTestObjTestObjAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2135 { 2136 JSValue value = JSValue::decode(encodedValue); 2137 UNUSED_PARAM(thisValue); 2218 2138 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2219 2139 if (UNLIKELY(!castedThis)) { … … 2229 2149 2230 2150 2231 void setJSTestObjLenientTestObjAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2232 { 2233 JSValue value = JSValue::decode(encodedValue); 2234 UNUSED_PARAM( baseObject);2151 void setJSTestObjLenientTestObjAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2152 { 2153 JSValue value = JSValue::decode(encodedValue); 2154 UNUSED_PARAM(thisValue); 2235 2155 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2236 2156 if (UNLIKELY(!castedThis)) { … … 2245 2165 2246 2166 2247 void setJSTestObjXMLObjAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2248 { 2249 JSValue value = JSValue::decode(encodedValue); 2250 UNUSED_PARAM( baseObject);2167 void setJSTestObjXMLObjAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2168 { 2169 JSValue value = JSValue::decode(encodedValue); 2170 UNUSED_PARAM(thisValue); 2251 2171 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2252 2172 if (UNLIKELY(!castedThis)) { … … 2262 2182 2263 2183 2264 void setJSTestObjCreate(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2265 { 2266 JSValue value = JSValue::decode(encodedValue); 2267 UNUSED_PARAM( baseObject);2184 void setJSTestObjCreate(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2185 { 2186 JSValue value = JSValue::decode(encodedValue); 2187 UNUSED_PARAM(thisValue); 2268 2188 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2269 2189 if (UNLIKELY(!castedThis)) { … … 2279 2199 2280 2200 2281 void setJSTestObjReflectedStringAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2282 { 2283 JSValue value = JSValue::decode(encodedValue); 2284 UNUSED_PARAM( baseObject);2201 void setJSTestObjReflectedStringAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2202 { 2203 JSValue value = JSValue::decode(encodedValue); 2204 UNUSED_PARAM(thisValue); 2285 2205 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2286 2206 if (UNLIKELY(!castedThis)) { … … 2296 2216 2297 2217 2298 void setJSTestObjReflectedIntegralAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2299 { 2300 JSValue value = JSValue::decode(encodedValue); 2301 UNUSED_PARAM( baseObject);2218 void setJSTestObjReflectedIntegralAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2219 { 2220 JSValue value = JSValue::decode(encodedValue); 2221 UNUSED_PARAM(thisValue); 2302 2222 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2303 2223 if (UNLIKELY(!castedThis)) { … … 2313 2233 2314 2234 2315 void setJSTestObjReflectedUnsignedIntegralAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2316 { 2317 JSValue value = JSValue::decode(encodedValue); 2318 UNUSED_PARAM( baseObject);2235 void setJSTestObjReflectedUnsignedIntegralAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2236 { 2237 JSValue value = JSValue::decode(encodedValue); 2238 UNUSED_PARAM(thisValue); 2319 2239 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2320 2240 if (UNLIKELY(!castedThis)) { … … 2330 2250 2331 2251 2332 void setJSTestObjReflectedBooleanAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2333 { 2334 JSValue value = JSValue::decode(encodedValue); 2335 UNUSED_PARAM( baseObject);2252 void setJSTestObjReflectedBooleanAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2253 { 2254 JSValue value = JSValue::decode(encodedValue); 2255 UNUSED_PARAM(thisValue); 2336 2256 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2337 2257 if (UNLIKELY(!castedThis)) { … … 2347 2267 2348 2268 2349 void setJSTestObjReflectedURLAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2350 { 2351 JSValue value = JSValue::decode(encodedValue); 2352 UNUSED_PARAM( baseObject);2269 void setJSTestObjReflectedURLAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2270 { 2271 JSValue value = JSValue::decode(encodedValue); 2272 UNUSED_PARAM(thisValue); 2353 2273 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2354 2274 if (UNLIKELY(!castedThis)) { … … 2364 2284 2365 2285 2366 void setJSTestObjReflectedStringAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2367 { 2368 JSValue value = JSValue::decode(encodedValue); 2369 UNUSED_PARAM( baseObject);2286 void setJSTestObjReflectedStringAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2287 { 2288 JSValue value = JSValue::decode(encodedValue); 2289 UNUSED_PARAM(thisValue); 2370 2290 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2371 2291 if (UNLIKELY(!castedThis)) { … … 2381 2301 2382 2302 2383 void setJSTestObjReflectedCustomIntegralAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2384 { 2385 JSValue value = JSValue::decode(encodedValue); 2386 UNUSED_PARAM( baseObject);2303 void setJSTestObjReflectedCustomIntegralAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2304 { 2305 JSValue value = JSValue::decode(encodedValue); 2306 UNUSED_PARAM(thisValue); 2387 2307 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2388 2308 if (UNLIKELY(!castedThis)) { … … 2398 2318 2399 2319 2400 void setJSTestObjReflectedCustomBooleanAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2401 { 2402 JSValue value = JSValue::decode(encodedValue); 2403 UNUSED_PARAM( baseObject);2320 void setJSTestObjReflectedCustomBooleanAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2321 { 2322 JSValue value = JSValue::decode(encodedValue); 2323 UNUSED_PARAM(thisValue); 2404 2324 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2405 2325 if (UNLIKELY(!castedThis)) { … … 2415 2335 2416 2336 2417 void setJSTestObjReflectedCustomURLAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2418 { 2419 JSValue value = JSValue::decode(encodedValue); 2420 UNUSED_PARAM( baseObject);2337 void setJSTestObjReflectedCustomURLAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2338 { 2339 JSValue value = JSValue::decode(encodedValue); 2340 UNUSED_PARAM(thisValue); 2421 2341 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2422 2342 if (UNLIKELY(!castedThis)) { … … 2432 2352 2433 2353 2434 void setJSTestObjTypedArrayAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2435 { 2436 JSValue value = JSValue::decode(encodedValue); 2437 UNUSED_PARAM( baseObject);2354 void setJSTestObjTypedArrayAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2355 { 2356 JSValue value = JSValue::decode(encodedValue); 2357 UNUSED_PARAM(thisValue); 2438 2358 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2439 2359 if (UNLIKELY(!castedThis)) { … … 2449 2369 2450 2370 2451 void setJSTestObjAttrWithGetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2452 { 2453 JSValue value = JSValue::decode(encodedValue); 2454 UNUSED_PARAM( baseObject);2371 void setJSTestObjAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2372 { 2373 JSValue value = JSValue::decode(encodedValue); 2374 UNUSED_PARAM(thisValue); 2455 2375 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2456 2376 if (UNLIKELY(!castedThis)) { … … 2466 2386 2467 2387 2468 void setJSTestObjAttrWithGetterExceptionWithMessage(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2469 { 2470 JSValue value = JSValue::decode(encodedValue); 2471 UNUSED_PARAM( baseObject);2388 void setJSTestObjAttrWithGetterExceptionWithMessage(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2389 { 2390 JSValue value = JSValue::decode(encodedValue); 2391 UNUSED_PARAM(thisValue); 2472 2392 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2473 2393 if (UNLIKELY(!castedThis)) { … … 2483 2403 2484 2404 2485 void setJSTestObjAttrWithSetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2486 { 2487 JSValue value = JSValue::decode(encodedValue); 2488 UNUSED_PARAM( baseObject);2405 void setJSTestObjAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2406 { 2407 JSValue value = JSValue::decode(encodedValue); 2408 UNUSED_PARAM(thisValue); 2489 2409 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2490 2410 if (UNLIKELY(!castedThis)) { … … 2502 2422 2503 2423 2504 void setJSTestObjAttrWithSetterExceptionWithMessage(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2505 { 2506 JSValue value = JSValue::decode(encodedValue); 2507 UNUSED_PARAM( baseObject);2424 void setJSTestObjAttrWithSetterExceptionWithMessage(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2425 { 2426 JSValue value = JSValue::decode(encodedValue); 2427 UNUSED_PARAM(thisValue); 2508 2428 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2509 2429 if (UNLIKELY(!castedThis)) { … … 2521 2441 2522 2442 2523 void setJSTestObjStringAttrWithGetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2524 { 2525 JSValue value = JSValue::decode(encodedValue); 2526 UNUSED_PARAM( baseObject);2443 void setJSTestObjStringAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2444 { 2445 JSValue value = JSValue::decode(encodedValue); 2446 UNUSED_PARAM(thisValue); 2527 2447 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2528 2448 if (UNLIKELY(!castedThis)) { … … 2538 2458 2539 2459 2540 void setJSTestObjStringAttrWithSetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2541 { 2542 JSValue value = JSValue::decode(encodedValue); 2543 UNUSED_PARAM( baseObject);2460 void setJSTestObjStringAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2461 { 2462 JSValue value = JSValue::decode(encodedValue); 2463 UNUSED_PARAM(thisValue); 2544 2464 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2545 2465 if (UNLIKELY(!castedThis)) { … … 2557 2477 2558 2478 2559 void setJSTestObjStrictTypeCheckingAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2560 { 2561 JSValue value = JSValue::decode(encodedValue); 2562 UNUSED_PARAM( baseObject);2479 void setJSTestObjStrictTypeCheckingAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2480 { 2481 JSValue value = JSValue::decode(encodedValue); 2482 UNUSED_PARAM(thisValue); 2563 2483 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2564 2484 if (UNLIKELY(!castedThis)) { … … 2578 2498 2579 2499 2580 void setJSTestObjCustomAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2581 { 2582 JSValue value = JSValue::decode(encodedValue); 2583 UNUSED_PARAM( baseObject);2500 void setJSTestObjCustomAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2501 { 2502 JSValue value = JSValue::decode(encodedValue); 2503 UNUSED_PARAM(thisValue); 2584 2504 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2585 2505 if (UNLIKELY(!castedThis)) { … … 2591 2511 2592 2512 2593 void setJSTestObjOnfoo(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2594 { 2595 JSValue value = JSValue::decode(encodedValue); 2596 UNUSED_PARAM( baseObject);2513 void setJSTestObjOnfoo(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2514 { 2515 JSValue value = JSValue::decode(encodedValue); 2516 UNUSED_PARAM(thisValue); 2597 2517 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2598 2518 if (UNLIKELY(!castedThis)) { … … 2604 2524 2605 2525 2606 void setJSTestObjWithScriptStateAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2607 { 2608 JSValue value = JSValue::decode(encodedValue); 2609 UNUSED_PARAM( baseObject);2526 void setJSTestObjWithScriptStateAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2527 { 2528 JSValue value = JSValue::decode(encodedValue); 2529 UNUSED_PARAM(thisValue); 2610 2530 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2611 2531 if (UNLIKELY(!castedThis)) { … … 2621 2541 2622 2542 2623 void setJSTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2624 { 2625 JSValue value = JSValue::decode(encodedValue); 2626 UNUSED_PARAM( baseObject);2543 void setJSTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2544 { 2545 JSValue value = JSValue::decode(encodedValue); 2546 UNUSED_PARAM(thisValue); 2627 2547 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2628 2548 if (UNLIKELY(!castedThis)) { … … 2638 2558 2639 2559 2640 void setJSTestObjWithScriptExecutionContextAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2641 { 2642 JSValue value = JSValue::decode(encodedValue); 2643 UNUSED_PARAM( baseObject);2560 void setJSTestObjWithScriptExecutionContextAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2561 { 2562 JSValue value = JSValue::decode(encodedValue); 2563 UNUSED_PARAM(thisValue); 2644 2564 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2645 2565 if (UNLIKELY(!castedThis)) { … … 2658 2578 2659 2579 2660 void setJSTestObjWithScriptStateAttributeRaises(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2661 { 2662 JSValue value = JSValue::decode(encodedValue); 2663 UNUSED_PARAM( baseObject);2580 void setJSTestObjWithScriptStateAttributeRaises(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2581 { 2582 JSValue value = JSValue::decode(encodedValue); 2583 UNUSED_PARAM(thisValue); 2664 2584 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2665 2585 if (UNLIKELY(!castedThis)) { … … 2675 2595 2676 2596 2677 void setJSTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2678 { 2679 JSValue value = JSValue::decode(encodedValue); 2680 UNUSED_PARAM( baseObject);2597 void setJSTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2598 { 2599 JSValue value = JSValue::decode(encodedValue); 2600 UNUSED_PARAM(thisValue); 2681 2601 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2682 2602 if (UNLIKELY(!castedThis)) { … … 2695 2615 2696 2616 2697 void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2698 { 2699 JSValue value = JSValue::decode(encodedValue); 2700 UNUSED_PARAM( baseObject);2617 void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2618 { 2619 JSValue value = JSValue::decode(encodedValue); 2620 UNUSED_PARAM(thisValue); 2701 2621 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2702 2622 if (UNLIKELY(!castedThis)) { … … 2715 2635 2716 2636 2717 void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2718 { 2719 JSValue value = JSValue::decode(encodedValue); 2720 UNUSED_PARAM( baseObject);2637 void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2638 { 2639 JSValue value = JSValue::decode(encodedValue); 2640 UNUSED_PARAM(thisValue); 2721 2641 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2722 2642 if (UNLIKELY(!castedThis)) { … … 2735 2655 2736 2656 2737 void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2738 { 2739 JSValue value = JSValue::decode(encodedValue); 2740 UNUSED_PARAM( baseObject);2657 void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2658 { 2659 JSValue value = JSValue::decode(encodedValue); 2660 UNUSED_PARAM(thisValue); 2741 2661 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2742 2662 if (UNLIKELY(!castedThis)) { … … 2755 2675 2756 2676 2757 void setJSTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2758 { 2759 JSValue value = JSValue::decode(encodedValue); 2760 UNUSED_PARAM( baseObject);2677 void setJSTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2678 { 2679 JSValue value = JSValue::decode(encodedValue); 2680 UNUSED_PARAM(thisValue); 2761 2681 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2762 2682 if (UNLIKELY(!castedThis)) { … … 2773 2693 2774 2694 #if ENABLE(Condition1) 2775 void setJSTestObjConditionalAttr1(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2776 { 2777 JSValue value = JSValue::decode(encodedValue); 2778 UNUSED_PARAM( baseObject);2695 void setJSTestObjConditionalAttr1(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2696 { 2697 JSValue value = JSValue::decode(encodedValue); 2698 UNUSED_PARAM(thisValue); 2779 2699 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2780 2700 if (UNLIKELY(!castedThis)) { … … 2792 2712 2793 2713 #if ENABLE(Condition1) && ENABLE(Condition2) 2794 void setJSTestObjConditionalAttr2(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2795 { 2796 JSValue value = JSValue::decode(encodedValue); 2797 UNUSED_PARAM( baseObject);2714 void setJSTestObjConditionalAttr2(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2715 { 2716 JSValue value = JSValue::decode(encodedValue); 2717 UNUSED_PARAM(thisValue); 2798 2718 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2799 2719 if (UNLIKELY(!castedThis)) { … … 2811 2731 2812 2732 #if ENABLE(Condition1) || ENABLE(Condition2) 2813 void setJSTestObjConditionalAttr3(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2814 { 2815 JSValue value = JSValue::decode(encodedValue); 2816 UNUSED_PARAM( baseObject);2733 void setJSTestObjConditionalAttr3(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2734 { 2735 JSValue value = JSValue::decode(encodedValue); 2736 UNUSED_PARAM(thisValue); 2817 2737 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2818 2738 if (UNLIKELY(!castedThis)) { … … 2830 2750 2831 2751 #if ENABLE(Condition1) 2832 void setJSTestObjConditionalAttr4Constructor(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2833 { 2834 JSValue value = JSValue::decode(encodedValue); 2835 UNUSED_PARAM( baseObject);2752 void setJSTestObjConditionalAttr4Constructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2753 { 2754 JSValue value = JSValue::decode(encodedValue); 2755 UNUSED_PARAM(thisValue); 2836 2756 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2837 2757 if (UNLIKELY(!castedThis)) { … … 2846 2766 2847 2767 #if ENABLE(Condition1) && ENABLE(Condition2) 2848 void setJSTestObjConditionalAttr5Constructor(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2849 { 2850 JSValue value = JSValue::decode(encodedValue); 2851 UNUSED_PARAM( baseObject);2768 void setJSTestObjConditionalAttr5Constructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2769 { 2770 JSValue value = JSValue::decode(encodedValue); 2771 UNUSED_PARAM(thisValue); 2852 2772 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2853 2773 if (UNLIKELY(!castedThis)) { … … 2862 2782 2863 2783 #if ENABLE(Condition1) || ENABLE(Condition2) 2864 void setJSTestObjConditionalAttr6Constructor(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2865 { 2866 JSValue value = JSValue::decode(encodedValue); 2867 UNUSED_PARAM( baseObject);2784 void setJSTestObjConditionalAttr6Constructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2785 { 2786 JSValue value = JSValue::decode(encodedValue); 2787 UNUSED_PARAM(thisValue); 2868 2788 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2869 2789 if (UNLIKELY(!castedThis)) { … … 2877 2797 #endif 2878 2798 2879 void setJSTestObjAnyAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2880 { 2881 JSValue value = JSValue::decode(encodedValue); 2882 UNUSED_PARAM( baseObject);2799 void setJSTestObjAnyAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2800 { 2801 JSValue value = JSValue::decode(encodedValue); 2802 UNUSED_PARAM(thisValue); 2883 2803 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2884 2804 if (UNLIKELY(!castedThis)) { … … 2894 2814 2895 2815 2896 void setJSTestObjMutablePoint(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2897 { 2898 JSValue value = JSValue::decode(encodedValue); 2899 UNUSED_PARAM( baseObject);2816 void setJSTestObjMutablePoint(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2817 { 2818 JSValue value = JSValue::decode(encodedValue); 2819 UNUSED_PARAM(thisValue); 2900 2820 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2901 2821 if (UNLIKELY(!castedThis)) { … … 2911 2831 2912 2832 2913 void setJSTestObjImmutablePoint(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2914 { 2915 JSValue value = JSValue::decode(encodedValue); 2916 UNUSED_PARAM( baseObject);2833 void setJSTestObjImmutablePoint(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2834 { 2835 JSValue value = JSValue::decode(encodedValue); 2836 UNUSED_PARAM(thisValue); 2917 2837 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2918 2838 if (UNLIKELY(!castedThis)) { … … 2928 2848 2929 2849 2930 void setJSTestObjStrawberry(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2931 { 2932 JSValue value = JSValue::decode(encodedValue); 2933 UNUSED_PARAM( baseObject);2850 void setJSTestObjStrawberry(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2851 { 2852 JSValue value = JSValue::decode(encodedValue); 2853 UNUSED_PARAM(thisValue); 2934 2854 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2935 2855 if (UNLIKELY(!castedThis)) { … … 2945 2865 2946 2866 2947 void setJSTestObjStrictFloat(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2948 { 2949 JSValue value = JSValue::decode(encodedValue); 2950 UNUSED_PARAM( baseObject);2867 void setJSTestObjStrictFloat(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2868 { 2869 JSValue value = JSValue::decode(encodedValue); 2870 UNUSED_PARAM(thisValue); 2951 2871 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2952 2872 if (UNLIKELY(!castedThis)) { … … 2962 2882 2963 2883 2964 void setJSTestObjId(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2965 { 2966 JSValue value = JSValue::decode(encodedValue); 2967 UNUSED_PARAM( baseObject);2884 void setJSTestObjId(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2885 { 2886 JSValue value = JSValue::decode(encodedValue); 2887 UNUSED_PARAM(thisValue); 2968 2888 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2969 2889 if (UNLIKELY(!castedThis)) { … … 2979 2899 2980 2900 2981 void setJSTestObjReplaceableAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2982 { 2983 JSValue value = JSValue::decode(encodedValue); 2984 UNUSED_PARAM( baseObject);2901 void setJSTestObjReplaceableAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2902 { 2903 JSValue value = JSValue::decode(encodedValue); 2904 UNUSED_PARAM(thisValue); 2985 2905 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 2986 2906 if (UNLIKELY(!castedThis)) { … … 2993 2913 2994 2914 2995 void setJSTestObjNullableLongSettableAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)2996 { 2997 JSValue value = JSValue::decode(encodedValue); 2998 UNUSED_PARAM( baseObject);2915 void setJSTestObjNullableLongSettableAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2916 { 2917 JSValue value = JSValue::decode(encodedValue); 2918 UNUSED_PARAM(thisValue); 2999 2919 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 3000 2920 if (UNLIKELY(!castedThis)) { … … 3010 2930 3011 2931 3012 void setJSTestObjNullableStringValue(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)3013 { 3014 JSValue value = JSValue::decode(encodedValue); 3015 UNUSED_PARAM( baseObject);2932 void setJSTestObjNullableStringValue(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2933 { 2934 JSValue value = JSValue::decode(encodedValue); 2935 UNUSED_PARAM(thisValue); 3016 2936 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 3017 2937 if (UNLIKELY(!castedThis)) { … … 3027 2947 3028 2948 3029 void setJSTestObjAttributeWithReservedEnumType(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)3030 { 3031 JSValue value = JSValue::decode(encodedValue); 3032 UNUSED_PARAM( baseObject);2949 void setJSTestObjAttributeWithReservedEnumType(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2950 { 2951 JSValue value = JSValue::decode(encodedValue); 2952 UNUSED_PARAM(thisValue); 3033 2953 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 3034 2954 if (UNLIKELY(!castedThis)) { … … 3046 2966 3047 2967 3048 void setJSTestObjPutForwardsAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)3049 { 3050 JSValue value = JSValue::decode(encodedValue); 3051 UNUSED_PARAM( baseObject);2968 void setJSTestObjPutForwardsAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2969 { 2970 JSValue value = JSValue::decode(encodedValue); 2971 UNUSED_PARAM(thisValue); 3052 2972 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 3053 2973 if (UNLIKELY(!castedThis)) { … … 3064 2984 3065 2985 3066 void setJSTestObjPutForwardsNullableAttribute(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)3067 { 3068 JSValue value = JSValue::decode(encodedValue); 3069 UNUSED_PARAM( baseObject);2986 void setJSTestObjPutForwardsNullableAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 2987 { 2988 JSValue value = JSValue::decode(encodedValue); 2989 UNUSED_PARAM(thisValue); 3070 2990 JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue)); 3071 2991 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
r195907 r196331 35 35 // Attributes 36 36 37 JSC::EncodedJSValue jsTestOverloadedConstructorsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);38 void setJSTestOverloadedConstructorsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);37 JSC::EncodedJSValue jsTestOverloadedConstructorsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 38 void setJSTestOverloadedConstructorsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 39 39 40 40 class JSTestOverloadedConstructorsPrototype : public JSC::JSNonFinalObject { … … 189 189 } 190 190 191 EncodedJSValue jsTestOverloadedConstructorsConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)192 { 193 JSTestOverloadedConstructorsPrototype* domObject = jsDynamicCast<JSTestOverloadedConstructorsPrototype*>( baseValue);191 EncodedJSValue jsTestOverloadedConstructorsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 192 { 193 JSTestOverloadedConstructorsPrototype* domObject = jsDynamicCast<JSTestOverloadedConstructorsPrototype*>(JSValue::decode(thisValue)); 194 194 if (!domObject) 195 195 return throwVMTypeError(state); … … 197 197 } 198 198 199 void setJSTestOverloadedConstructorsConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)199 void setJSTestOverloadedConstructorsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 200 200 { 201 201 JSValue value = JSValue::decode(encodedValue); 202 UNUSED_PARAM(thisValue); 203 JSTestOverloadedConstructorsPrototype* domObject = jsDynamicCast<JSTestOverloadedConstructorsPrototype*>(baseValue); 202 JSTestOverloadedConstructorsPrototype* domObject = jsDynamicCast<JSTestOverloadedConstructorsPrototype*>(JSValue::decode(thisValue)); 204 203 if (UNLIKELY(!domObject)) { 205 204 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp
r195908 r196331 41 41 // Attributes 42 42 43 JSC::EncodedJSValue jsTestOverrideBuiltinsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);44 void setJSTestOverrideBuiltinsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);43 JSC::EncodedJSValue jsTestOverrideBuiltinsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 44 void setJSTestOverrideBuiltinsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 45 45 46 46 class JSTestOverrideBuiltinsPrototype : public JSC::JSNonFinalObject { … … 150 150 } 151 151 152 EncodedJSValue jsTestOverrideBuiltinsConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)153 { 154 JSTestOverrideBuiltinsPrototype* domObject = jsDynamicCast<JSTestOverrideBuiltinsPrototype*>( baseValue);152 EncodedJSValue jsTestOverrideBuiltinsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 153 { 154 JSTestOverrideBuiltinsPrototype* domObject = jsDynamicCast<JSTestOverrideBuiltinsPrototype*>(JSValue::decode(thisValue)); 155 155 if (!domObject) 156 156 return throwVMTypeError(state); … … 158 158 } 159 159 160 void setJSTestOverrideBuiltinsConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)160 void setJSTestOverrideBuiltinsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 161 161 { 162 162 JSValue value = JSValue::decode(encodedValue); 163 UNUSED_PARAM(thisValue); 164 JSTestOverrideBuiltinsPrototype* domObject = jsDynamicCast<JSTestOverrideBuiltinsPrototype*>(baseValue); 163 JSTestOverrideBuiltinsPrototype* domObject = jsDynamicCast<JSTestOverrideBuiltinsPrototype*>(JSValue::decode(thisValue)); 165 164 if (UNLIKELY(!domObject)) { 166 165 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
r196303 r196331 39 39 // Attributes 40 40 41 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);42 void setJSTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);43 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);44 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);45 void setJSTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);46 JSC::EncodedJSValue jsTestSerializedScriptValueInterfacePorts(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);47 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);48 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);49 void setJSTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);41 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 42 void setJSTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 43 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 44 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 45 void setJSTestSerializedScriptValueInterfaceCachedValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 46 JSC::EncodedJSValue jsTestSerializedScriptValueInterfacePorts(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 47 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 48 JSC::EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 49 void setJSTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 50 50 51 51 class JSTestSerializedScriptValueInterfacePrototype : public JSC::JSNonFinalObject { … … 128 128 } 129 129 130 EncodedJSValue jsTestSerializedScriptValueInterfaceValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 131 { 132 UNUSED_PARAM(state); 133 UNUSED_PARAM(slotBase); 130 EncodedJSValue jsTestSerializedScriptValueInterfaceValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 131 { 132 UNUSED_PARAM(state); 134 133 UNUSED_PARAM(thisValue); 135 134 JSValue decodedThisValue = JSValue::decode(thisValue); … … 144 143 145 144 146 EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 147 { 148 UNUSED_PARAM(state); 149 UNUSED_PARAM(slotBase); 145 EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 146 { 147 UNUSED_PARAM(state); 150 148 UNUSED_PARAM(thisValue); 151 149 JSValue decodedThisValue = JSValue::decode(thisValue); … … 160 158 161 159 162 EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 163 { 164 UNUSED_PARAM(state); 165 UNUSED_PARAM(slotBase); 160 EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 161 { 162 UNUSED_PARAM(state); 166 163 UNUSED_PARAM(thisValue); 167 164 JSValue decodedThisValue = JSValue::decode(thisValue); … … 179 176 180 177 181 EncodedJSValue jsTestSerializedScriptValueInterfacePorts(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 182 { 183 UNUSED_PARAM(state); 184 UNUSED_PARAM(slotBase); 178 EncodedJSValue jsTestSerializedScriptValueInterfacePorts(ExecState* state, EncodedJSValue thisValue, PropertyName) 179 { 180 UNUSED_PARAM(state); 185 181 UNUSED_PARAM(thisValue); 186 182 JSValue decodedThisValue = JSValue::decode(thisValue); … … 195 191 196 192 197 EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName) 198 { 199 UNUSED_PARAM(state); 200 UNUSED_PARAM(slotBase); 193 EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 194 { 195 UNUSED_PARAM(state); 201 196 UNUSED_PARAM(thisValue); 202 197 JSValue decodedThisValue = JSValue::decode(thisValue); … … 214 209 215 210 216 EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)217 { 218 JSTestSerializedScriptValueInterfacePrototype* domObject = jsDynamicCast<JSTestSerializedScriptValueInterfacePrototype*>( baseValue);211 EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 212 { 213 JSTestSerializedScriptValueInterfacePrototype* domObject = jsDynamicCast<JSTestSerializedScriptValueInterfacePrototype*>(JSValue::decode(thisValue)); 219 214 if (!domObject) 220 215 return throwVMTypeError(state); … … 222 217 } 223 218 224 void setJSTestSerializedScriptValueInterfaceConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)219 void setJSTestSerializedScriptValueInterfaceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 225 220 { 226 221 JSValue value = JSValue::decode(encodedValue); 227 UNUSED_PARAM(thisValue); 228 JSTestSerializedScriptValueInterfacePrototype* domObject = jsDynamicCast<JSTestSerializedScriptValueInterfacePrototype*>(baseValue); 222 JSTestSerializedScriptValueInterfacePrototype* domObject = jsDynamicCast<JSTestSerializedScriptValueInterfacePrototype*>(JSValue::decode(thisValue)); 229 223 if (UNLIKELY(!domObject)) { 230 224 throwVMTypeError(state); … … 235 229 } 236 230 237 void setJSTestSerializedScriptValueInterfaceValue(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)231 void setJSTestSerializedScriptValueInterfaceValue(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 238 232 { 239 233 JSValue value = JSValue::decode(encodedValue); 240 UNUSED_PARAM( baseObject);234 UNUSED_PARAM(thisValue); 241 235 JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast<JSTestSerializedScriptValueInterface*>(JSValue::decode(thisValue)); 242 236 if (UNLIKELY(!castedThis)) { … … 252 246 253 247 254 void setJSTestSerializedScriptValueInterfaceCachedValue(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)248 void setJSTestSerializedScriptValueInterfaceCachedValue(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 255 249 { 256 250 JSValue value = JSValue::decode(encodedValue); 257 UNUSED_PARAM( baseObject);251 UNUSED_PARAM(thisValue); 258 252 JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast<JSTestSerializedScriptValueInterface*>(JSValue::decode(thisValue)); 259 253 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
r196303 r196331 59 59 // Attributes 60 60 61 JSC::EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);62 void setJSTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);63 JSC::EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);64 void setJSTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);65 JSC::EncodedJSValue jsTestTypedefsConstructorTestSubObj(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);66 JSC::EncodedJSValue jsTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);67 void setJSTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);68 JSC::EncodedJSValue jsTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);69 void setJSTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);70 JSC::EncodedJSValue jsTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);71 void setJSTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);72 JSC::EncodedJSValue jsTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);73 void setJSTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);74 JSC::EncodedJSValue jsTestTypedefsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);75 void setJSTestTypedefsConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);61 JSC::EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 62 void setJSTestTypedefsUnsignedLongLongAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 63 JSC::EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 64 void setJSTestTypedefsImmutableSerializedScriptValue(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 65 JSC::EncodedJSValue jsTestTypedefsConstructorTestSubObj(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 66 JSC::EncodedJSValue jsTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 67 void setJSTestTypedefsAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 68 JSC::EncodedJSValue jsTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 69 void setJSTestTypedefsAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 70 JSC::EncodedJSValue jsTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 71 void setJSTestTypedefsStringAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 72 JSC::EncodedJSValue jsTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 73 void setJSTestTypedefsStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 74 JSC::EncodedJSValue jsTestTypedefsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 75 void setJSTestTypedefsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 76 76 77 77 class JSTestTypedefsPrototype : public JSC::JSNonFinalObject { … … 211 211 } 212 212 213 EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)213 EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(ExecState* state, EncodedJSValue thisValue, PropertyName) 214 214 { 215 215 UNUSED_PARAM(state); 216 UNUSED_PARAM(slotBase);217 216 UNUSED_PARAM(thisValue); 218 217 JSValue decodedThisValue = JSValue::decode(thisValue); … … 227 226 228 227 229 EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)228 EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(ExecState* state, EncodedJSValue thisValue, PropertyName) 230 229 { 231 230 UNUSED_PARAM(state); 232 UNUSED_PARAM(slotBase);233 231 UNUSED_PARAM(thisValue); 234 232 JSValue decodedThisValue = JSValue::decode(thisValue); … … 243 241 244 242 245 EncodedJSValue jsTestTypedefsConstructorTestSubObj(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)243 EncodedJSValue jsTestTypedefsConstructorTestSubObj(ExecState* state, EncodedJSValue thisValue, PropertyName) 246 244 { 247 245 UNUSED_PARAM(state); 248 UNUSED_PARAM(slotBase);249 246 UNUSED_PARAM(thisValue); 250 247 JSValue decodedThisValue = JSValue::decode(thisValue); … … 257 254 258 255 259 EncodedJSValue jsTestTypedefsAttrWithGetterException(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)256 EncodedJSValue jsTestTypedefsAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 260 257 { 261 258 UNUSED_PARAM(state); 262 UNUSED_PARAM(slotBase);263 259 UNUSED_PARAM(thisValue); 264 260 JSValue decodedThisValue = JSValue::decode(thisValue); … … 275 271 276 272 277 EncodedJSValue jsTestTypedefsAttrWithSetterException(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)273 EncodedJSValue jsTestTypedefsAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 278 274 { 279 275 UNUSED_PARAM(state); 280 UNUSED_PARAM(slotBase);281 276 UNUSED_PARAM(thisValue); 282 277 JSValue decodedThisValue = JSValue::decode(thisValue); … … 291 286 292 287 293 EncodedJSValue jsTestTypedefsStringAttrWithGetterException(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)288 EncodedJSValue jsTestTypedefsStringAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 294 289 { 295 290 UNUSED_PARAM(state); 296 UNUSED_PARAM(slotBase);297 291 UNUSED_PARAM(thisValue); 298 292 JSValue decodedThisValue = JSValue::decode(thisValue); … … 309 303 310 304 311 EncodedJSValue jsTestTypedefsStringAttrWithSetterException(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)305 EncodedJSValue jsTestTypedefsStringAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, PropertyName) 312 306 { 313 307 UNUSED_PARAM(state); 314 UNUSED_PARAM(slotBase);315 308 UNUSED_PARAM(thisValue); 316 309 JSValue decodedThisValue = JSValue::decode(thisValue); … … 325 318 326 319 327 EncodedJSValue jsTestTypedefsConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)328 { 329 JSTestTypedefsPrototype* domObject = jsDynamicCast<JSTestTypedefsPrototype*>( baseValue);320 EncodedJSValue jsTestTypedefsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 321 { 322 JSTestTypedefsPrototype* domObject = jsDynamicCast<JSTestTypedefsPrototype*>(JSValue::decode(thisValue)); 330 323 if (!domObject) 331 324 return throwVMTypeError(state); … … 333 326 } 334 327 335 void setJSTestTypedefsConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)328 void setJSTestTypedefsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 336 329 { 337 330 JSValue value = JSValue::decode(encodedValue); 338 UNUSED_PARAM(thisValue); 339 JSTestTypedefsPrototype* domObject = jsDynamicCast<JSTestTypedefsPrototype*>(baseValue); 331 JSTestTypedefsPrototype* domObject = jsDynamicCast<JSTestTypedefsPrototype*>(JSValue::decode(thisValue)); 340 332 if (UNLIKELY(!domObject)) { 341 333 throwVMTypeError(state); … … 346 338 } 347 339 348 void setJSTestTypedefsUnsignedLongLongAttr(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)340 void setJSTestTypedefsUnsignedLongLongAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 349 341 { 350 342 JSValue value = JSValue::decode(encodedValue); 351 UNUSED_PARAM( baseObject);343 UNUSED_PARAM(thisValue); 352 344 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 353 345 if (UNLIKELY(!castedThis)) { … … 363 355 364 356 365 void setJSTestTypedefsImmutableSerializedScriptValue(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)357 void setJSTestTypedefsImmutableSerializedScriptValue(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 366 358 { 367 359 JSValue value = JSValue::decode(encodedValue); 368 UNUSED_PARAM( baseObject);360 UNUSED_PARAM(thisValue); 369 361 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 370 362 if (UNLIKELY(!castedThis)) { … … 380 372 381 373 382 void setJSTestTypedefsAttrWithGetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)374 void setJSTestTypedefsAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 383 375 { 384 376 JSValue value = JSValue::decode(encodedValue); 385 UNUSED_PARAM( baseObject);377 UNUSED_PARAM(thisValue); 386 378 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 387 379 if (UNLIKELY(!castedThis)) { … … 397 389 398 390 399 void setJSTestTypedefsAttrWithSetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)391 void setJSTestTypedefsAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 400 392 { 401 393 JSValue value = JSValue::decode(encodedValue); 402 UNUSED_PARAM( baseObject);394 UNUSED_PARAM(thisValue); 403 395 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 404 396 if (UNLIKELY(!castedThis)) { … … 416 408 417 409 418 void setJSTestTypedefsStringAttrWithGetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)410 void setJSTestTypedefsStringAttrWithGetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 419 411 { 420 412 JSValue value = JSValue::decode(encodedValue); 421 UNUSED_PARAM( baseObject);413 UNUSED_PARAM(thisValue); 422 414 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 423 415 if (UNLIKELY(!castedThis)) { … … 433 425 434 426 435 void setJSTestTypedefsStringAttrWithSetterException(ExecState* state, JSObject* baseObject,EncodedJSValue thisValue, EncodedJSValue encodedValue)427 void setJSTestTypedefsStringAttrWithSetterException(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 436 428 { 437 429 JSValue value = JSValue::decode(encodedValue); 438 UNUSED_PARAM( baseObject);430 UNUSED_PARAM(thisValue); 439 431 JSTestTypedefs* castedThis = jsDynamicCast<JSTestTypedefs*>(JSValue::decode(thisValue)); 440 432 if (UNLIKELY(!castedThis)) { -
trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp
r196303 r196331 34 34 // Attributes 35 35 36 JSC::EncodedJSValue jsattributeReadonly(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);37 JSC::EncodedJSValue jsattributeConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);38 void setJSattributeConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);36 JSC::EncodedJSValue jsattributeReadonly(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 37 JSC::EncodedJSValue jsattributeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 38 void setJSattributeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 39 39 40 40 class JSattributePrototype : public JSC::JSNonFinalObject { … … 113 113 } 114 114 115 EncodedJSValue jsattributeReadonly(ExecState* state, JSObject* slotBase,EncodedJSValue thisValue, PropertyName)115 EncodedJSValue jsattributeReadonly(ExecState* state, EncodedJSValue thisValue, PropertyName) 116 116 { 117 117 UNUSED_PARAM(state); 118 UNUSED_PARAM(slotBase);119 118 UNUSED_PARAM(thisValue); 120 119 JSValue decodedThisValue = JSValue::decode(thisValue); … … 129 128 130 129 131 EncodedJSValue jsattributeConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)132 { 133 JSattributePrototype* domObject = jsDynamicCast<JSattributePrototype*>( baseValue);130 EncodedJSValue jsattributeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 131 { 132 JSattributePrototype* domObject = jsDynamicCast<JSattributePrototype*>(JSValue::decode(thisValue)); 134 133 if (!domObject) 135 134 return throwVMTypeError(state); … … 137 136 } 138 137 139 void setJSattributeConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)138 void setJSattributeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 140 139 { 141 140 JSValue value = JSValue::decode(encodedValue); 142 UNUSED_PARAM(thisValue); 143 JSattributePrototype* domObject = jsDynamicCast<JSattributePrototype*>(baseValue); 141 JSattributePrototype* domObject = jsDynamicCast<JSattributePrototype*>(JSValue::decode(thisValue)); 144 142 if (UNLIKELY(!domObject)) { 145 143 throwVMTypeError(state); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp
r195907 r196331 32 32 // Attributes 33 33 34 JSC::EncodedJSValue jsreadonlyConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);35 void setJSreadonlyConstructor(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::EncodedJSValue);34 JSC::EncodedJSValue jsreadonlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 35 void setJSreadonlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); 36 36 37 37 class JSreadonlyPrototype : public JSC::JSNonFinalObject { … … 109 109 } 110 110 111 EncodedJSValue jsreadonlyConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)111 EncodedJSValue jsreadonlyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) 112 112 { 113 JSreadonlyPrototype* domObject = jsDynamicCast<JSreadonlyPrototype*>( baseValue);113 JSreadonlyPrototype* domObject = jsDynamicCast<JSreadonlyPrototype*>(JSValue::decode(thisValue)); 114 114 if (!domObject) 115 115 return throwVMTypeError(state); … … 117 117 } 118 118 119 void setJSreadonlyConstructor(ExecState* state, JSObject* baseValue,EncodedJSValue thisValue, EncodedJSValue encodedValue)119 void setJSreadonlyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) 120 120 { 121 121 JSValue value = JSValue::decode(encodedValue); 122 UNUSED_PARAM(thisValue); 123 JSreadonlyPrototype* domObject = jsDynamicCast<JSreadonlyPrototype*>(baseValue); 122 JSreadonlyPrototype* domObject = jsDynamicCast<JSreadonlyPrototype*>(JSValue::decode(thisValue)); 124 123 if (UNLIKELY(!domObject)) { 125 124 throwVMTypeError(state); -
trunk/Source/WebCore/bridge/runtime_array.cpp
r182406 r196331 61 61 } 62 62 63 EncodedJSValue RuntimeArray::lengthGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName)63 EncodedJSValue RuntimeArray::lengthGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 64 64 { 65 65 RuntimeArray* thisObject = jsDynamicCast<RuntimeArray*>(JSValue::decode(thisValue)); -
trunk/Source/WebCore/bridge/runtime_array.h
r182747 r196331 84 84 private: 85 85 RuntimeArray(ExecState*, Structure*); 86 static EncodedJSValue lengthGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);86 static EncodedJSValue lengthGetter(ExecState*, EncodedJSValue, PropertyName); 87 87 88 88 BindingsArray* m_array; -
trunk/Source/WebCore/bridge/runtime_method.cpp
r191887 r196331 55 55 } 56 56 57 EncodedJSValue RuntimeMethod::lengthGetter(ExecState* exec, JSObject*,EncodedJSValue thisValue, PropertyName)57 EncodedJSValue RuntimeMethod::lengthGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName) 58 58 { 59 59 RuntimeMethod* thisObject = jsDynamicCast<RuntimeMethod*>(JSValue::decode(thisValue)); -
trunk/Source/WebCore/bridge/runtime_method.h
r183575 r196331 67 67 68 68 private: 69 static EncodedJSValue lengthGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);69 static EncodedJSValue lengthGetter(ExecState*, EncodedJSValue, PropertyName); 70 70 71 71 Bindings::Method* m_method; -
trunk/Source/WebCore/bridge/runtime_object.cpp
r194496 r196331 63 63 } 64 64 65 EncodedJSValue RuntimeObject::fallbackObjectGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)66 { 67 RuntimeObject* thisObj = jsCast<RuntimeObject*>( slotBase);65 EncodedJSValue RuntimeObject::fallbackObjectGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 66 { 67 RuntimeObject* thisObj = jsCast<RuntimeObject*>(JSValue::decode(thisValue)); 68 68 RefPtr<Instance> instance = thisObj->m_instance; 69 69 … … 81 81 } 82 82 83 EncodedJSValue RuntimeObject::fieldGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)83 EncodedJSValue RuntimeObject::fieldGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 84 84 { 85 RuntimeObject* thisObj = jsCast<RuntimeObject*>( slotBase);85 RuntimeObject* thisObj = jsCast<RuntimeObject*>(JSValue::decode(thisValue)); 86 86 RefPtr<Instance> instance = thisObj->m_instance; 87 87 … … 100 100 } 101 101 102 EncodedJSValue RuntimeObject::methodGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)103 { 104 RuntimeObject* thisObj = jsCast<RuntimeObject*>( slotBase);102 EncodedJSValue RuntimeObject::methodGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 103 { 104 RuntimeObject* thisObj = jsCast<RuntimeObject*>(JSValue::decode(thisValue)); 105 105 RefPtr<Instance> instance = thisObj->m_instance; 106 106 -
trunk/Source/WebCore/bridge/runtime_object.h
r194496 r196331 79 79 80 80 private: 81 static EncodedJSValue fallbackObjectGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);82 static EncodedJSValue fieldGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);83 static EncodedJSValue methodGetter(ExecState*, JSObject*,EncodedJSValue, PropertyName);81 static EncodedJSValue fallbackObjectGetter(ExecState*, EncodedJSValue, PropertyName); 82 static EncodedJSValue fieldGetter(ExecState*, EncodedJSValue, PropertyName); 83 static EncodedJSValue methodGetter(ExecState*, EncodedJSValue, PropertyName); 84 84 85 85 RefPtr<Instance> m_instance; -
trunk/Source/WebKit2/ChangeLog
r196329 r196331 1 2016-02-07 Gavin Barraclough <barraclough@apple.com> 2 3 GetValueFunc/PutValueFunc should not take both slotBase and thisValue 4 https://bugs.webkit.org/show_bug.cgi?id=154009 5 6 Reviewed by Geoff Garen. 7 8 In JavaScript there are two types of properties - regular value properties, and accessor properties. 9 One difference between these is how they are reflected by getOwnPropertyDescriptor, and another is 10 what object they operate on in the case of a prototype access. If you access a value property of a 11 prototype object it return a value pertinent to the prototype, but in the case of a prototype object 12 returning an accessor, then the accessor function is applied to the base object of the access. 13 14 JSC supports special 'custom' properties implemented as a c++ callback, and these custom properties 15 can be used to implement either value- or accessor-like behavior. getOwnPropertyDescriptor behavior 16 is selected via the CustomAccessor attribute. Value- or accessor-like object selection is current 17 supported by passing both the slotBase and the thisValue to the callback,and hoping it uses the 18 right one. This is probably inefficient, bug-prone, and leads to crazy like JSBoundSlotBaseFunction. 19 20 Instead, just pass one thisValue to the callback functions, consistent with CustomAccessor. 21 22 * WebProcess/Plugins/Netscape/JSNPObject.cpp: 23 (WebKit::JSNPObject::getOwnPropertyNames): 24 (WebKit::JSNPObject::propertyGetter): 25 (WebKit::JSNPObject::methodGetter): 26 * WebProcess/Plugins/Netscape/JSNPObject.h: 27 - Merged slotBase & thisValue to custom property callbacks. 28 1 29 2016-02-09 Jer Noble <jer.noble@apple.com> 2 30 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.cpp
r194303 r196331 434 434 } 435 435 436 EncodedJSValue JSNPObject::propertyGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)437 { 438 JSNPObject* thisObj = jsCast<JSNPObject*>( slotBase);436 EncodedJSValue JSNPObject::propertyGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 437 { 438 JSNPObject* thisObj = jsCast<JSNPObject*>(JSValue::decode(thisValue)); 439 439 ASSERT_GC_OBJECT_INHERITS(thisObj, info()); 440 440 … … 474 474 } 475 475 476 EncodedJSValue JSNPObject::methodGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)477 { 478 JSNPObject* thisObj = jsCast<JSNPObject*>( slotBase);476 EncodedJSValue JSNPObject::methodGetter(ExecState* exec, EncodedJSValue thisValue, PropertyName propertyName) 477 { 478 JSNPObject* thisObj = jsCast<JSNPObject*>(JSValue::decode(thisValue)); 479 479 ASSERT_GC_OBJECT_INHERITS(thisObj, info()); 480 480 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.h
r183575 r196331 95 95 static void getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode); 96 96 97 static JSC::EncodedJSValue propertyGetter(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);98 static JSC::EncodedJSValue methodGetter(JSC::ExecState*, JSC:: JSObject*, JSC::EncodedJSValue, JSC::PropertyName);97 static JSC::EncodedJSValue propertyGetter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 98 static JSC::EncodedJSValue methodGetter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); 99 99 static JSC::JSObject* throwInvalidAccessError(JSC::ExecState*); 100 100
Note: See TracChangeset
for help on using the changeset viewer.