-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=77451 Reviewed by Sam Weinig. These can now all be implemented in terms of defineOwnProperty & getPropertyDescriptor. Also remove initializeGetterSetterProperty, since this is equivalent to putDirectAccessor. Source/JavaScriptCore: * JavaScriptCore.exp: * debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::defineOwnProperty): * debugger/DebuggerActivation.h: (DebuggerActivation): * runtime/ClassInfo.h: (MethodTable): (JSC): * runtime/JSBoundFunction.cpp: (JSC::JSBoundFunction::finishCreation): * runtime/JSCell.cpp: (JSC): * runtime/JSCell.h: (JSCell): * runtime/JSFunction.cpp: (JSC::JSFunction::getOwnPropertySlot): (JSC::JSFunction::getOwnPropertyDescriptor): * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::defineOwnProperty): (JSC): * runtime/JSGlobalObject.h: (JSGlobalObject): * runtime/JSObject.cpp: (JSC): * runtime/JSObject.h: (JSObject): * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): Source/WebCore: * bindings/js/JSDOMWindowCustom.cpp: (WebCore): (WebCore::JSDOMWindow::defineOwnProperty): * bindings/js/JSDOMWindowShell.cpp: (WebCore): * bindings/js/JSDOMWindowShell.h: (JSDOMWindowShell): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::defineOwnProperty): (WebCore::JSLocationPrototype::defineOwnProperty): * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * page/DOMWindow.idl: * page/Location.idl: Source/WebKit/qt: * Api/qwebframe.cpp: (QWebFramePrivate::addQtSenderToGlobalObject): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
81aa89f0