Ignore:
Timestamp:
Dec 29, 2005, 3:38:57 AM (19 years ago)
Author:
ggaren
Message:

Patch by Maks Orlovich, reviewed by mjs.

This has 2 very minor fixes, covered by KJS testsuite:

  1. Enumerates string indices in property list (with the same bug as array object has in corresponding code). This is a mozilla emulation thing.
  2. Permits properties with integer names in prototypes to be found
  • kjs/string_object.cpp: (StringInstance::getOwnPropertySlot): (StringInstanceImp::propList):
  • kjs/string_object.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/string_object.h

    r11566 r11805  
    3636    virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value, int attr = None);
    3737    virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
     38    virtual ReferenceList propList(ExecState *exec, bool recursive);
    3839
    3940    virtual const ClassInfo *classInfo() const { return &info; }
Note: See TracChangeset for help on using the changeset viewer.