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/runtime/JSVariableObject.cpp

    r48336 r51971  
    5454}
    5555
    56 bool JSVariableObject::getPropertyAttributes(ExecState* exec, const Identifier& propertyName, unsigned& attributes) const
    57 {
    58     SymbolTableEntry entry = symbolTable().get(propertyName.ustring().rep());
    59     if (!entry.isNull()) {
    60         attributes = entry.getAttributes() | DontDelete;
    61         return true;
    62     }
    63     return JSObject::getPropertyAttributes(exec, propertyName, attributes);
    64 }
    65 
    6656bool JSVariableObject::isVariableObject() const
    6757{
Note: See TracChangeset for help on using the changeset viewer.