Ignore:
Timestamp:
Dec 10, 2009, 4:06:15 PM (15 years ago)
Author:
[email protected]
Message:

2009-12-10 Kent Hansen <[email protected]>

Reviewed by Geoffrey Garen.

Remove JSObject::getPropertyAttributes() and all usage of it.
https://bugs.webkit.org/show_bug.cgi?id=31933

getOwnPropertyDescriptor() should be used instead.

  • JavaScriptCore.exp:
  • JavaScriptCore.order:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::getOwnPropertyDescriptor):
  • debugger/DebuggerActivation.h:
  • runtime/JSObject.cpp: (JSC::JSObject::propertyIsEnumerable):
  • runtime/JSObject.h:
  • runtime/JSVariableObject.cpp:
  • runtime/JSVariableObject.h:

2009-12-10 Kent Hansen <[email protected]>

Reviewed by Geoffrey Garen.

Remove getPropertyAttributes() from JavaScript bindings.
https://bugs.webkit.org/show_bug.cgi?id=31933

The functionality is provided by getOwnPropertyDescriptor().

  • WebCore.order:
  • bindings/js/JSDOMWindowCustom.cpp:
  • bindings/js/JSDOMWindowShell.cpp:
  • bindings/js/JSDOMWindowShell.h:
  • bindings/scripts/CodeGeneratorJS.pm:
  • page/DOMWindow.idl:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/debugger/DebuggerActivation.h

    r49721 r51971  
    4444        virtual bool deleteProperty(ExecState*, const Identifier& propertyName);
    4545        virtual void getOwnPropertyNames(ExecState*, PropertyNameArray&);
    46         virtual bool getPropertyAttributes(ExecState*, const Identifier& propertyName, unsigned& attributes) const;
     46        virtual bool getOwnPropertyDescriptor(ExecState*, const Identifier&, PropertyDescriptor&);
    4747        virtual void defineGetter(ExecState*, const Identifier& propertyName, JSObject* getterFunction, unsigned attributes);
    4848        virtual void defineSetter(ExecState*, const Identifier& propertyName, JSObject* setterFunction, unsigned attributes);
Note: See TracChangeset for help on using the changeset viewer.