Commit ec2578ca authored by mjs's avatar mjs

Added missing reviewer.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ca801f5a
2002-12-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by NOBODY (OOPS!).
Reviewed by Don.
- Add kjsprint global function in Development build for ease of debugging.
- Print uncaught JavaScript exceptions to the console in Development.
......
2002-12-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by NOBODY (OOPS!).
Reviewed by Don.
- Add kjsprint global function in Development build for ease of debugging.
- Print uncaught JavaScript exceptions to the console in Development.
......
......@@ -40,6 +40,7 @@ namespace KJS {
virtual bool hasProperty(ExecState *exec, unsigned propertyName) const;
virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
virtual bool deleteProperty(ExecState *exec, unsigned propertyName);
virtual ReferenceList propList(ExecState *exec, bool recursive);
virtual void mark();
......
......@@ -196,6 +196,18 @@ bool ArrayInstanceImp::deleteProperty(ExecState *exec, unsigned index)
return ObjectImp::deleteProperty(exec, Identifier::from(index));
}
ReferenceList ArrayInstanceImp::propList(ExecState *exec, bool recursive)
{
ReferenceList properties = ObjectImp::propList(exec,recursive);
for (unsigned i = 0; i < storageLength; ++i) {
if (storage[i]) {
properties.append(Reference(this, Identifier::from(i);
}
}
return properties;
}
void ArrayInstanceImp::resizeStorage(unsigned newLength)
{
if (newLength < storageLength) {
......
......@@ -59,7 +59,6 @@ namespace KJS {
virtual Object construct(ExecState *exec, const List &args);
virtual bool implementsCall() const;
virtual Value call(ExecState *exec, Object &thisObj, const List &args);
};
}; // namespace
......
......@@ -572,7 +572,7 @@ namespace KJS {
const ScopeChain &scope() const { return _scope; }
void setScope(const ScopeChain &s) { _scope = s; }
ReferenceList propList(ExecState *exec, bool recursive = true);
virtual ReferenceList propList(ExecState *exec, bool recursive = true);
Value internalValue() const;
void setInternalValue(const Value &v);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment