Global properties that use LocalStorage are not correctly listed as enumerable.
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Mar 2008 02:36:34 +0000 (02:36 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Mar 2008 02:36:34 +0000 (02:36 +0000)
commit5b325fb1e127232637c2358f7c89bef4b3a9ce1c
tree9e0f036d17835f94b2e279d865fe6a99cedee845
parentf7404a8a0a0766e60559eae705e90bcc26fc05dd
Global properties that use LocalStorage are not correctly listed as enumerable.

Reviewed by Geoff Garen

The problem was caused by JSObject::getPropertyAttributes not being aware
of the JSVariableObject SymbolTable.  The fix is to make getPropertyAttributes
virtual and override in JSVariableObject.  This does not produce any performance
regression.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.exp
JavaScriptCore/kjs/JSVariableObject.cpp
JavaScriptCore/kjs/JSVariableObject.h
JavaScriptCore/kjs/object.h
LayoutTests/ChangeLog
LayoutTests/fast/js/propertyIsEnumerable-expected.txt
LayoutTests/fast/js/resources/propertyIsEnumerable.js