diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-08-03 14:12:10 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-08-03 14:18:09 (GMT) |
commit | e520df1f8678bd59adb341fb586f008a7de17fe8 (patch) | |
tree | c8cfbf8e651c1e8aa5f9e0f305757b254e9ab6c4 /src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h | |
parent | ecb53d192b4a56cd71c251621bec15a509307b23 (diff) | |
download | Qt-e520df1f8678bd59adb341fb586f008a7de17fe8.zip Qt-e520df1f8678bd59adb341fb586f008a7de17fe8.tar.gz Qt-e520df1f8678bd59adb341fb586f008a7de17fe8.tar.bz2 |
Complete the implementation of QScriptValueIterator with JSCore
This new implementation of QScriptValueIterator passes all the tests.
QScriptValueIterator uses an linked list instead of
JSC::PropertyNameArray so the list can be modified by ::remove() and
to be able to add internal properties for the strings and arrays.
Structure::getPropertyNames() has been modified to not show the
property from the prototype.
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h')
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h b/src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h index 9838bb1..f390f4a 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/JSObject.h @@ -117,7 +117,7 @@ namespace JSC { virtual bool hasInstance(ExecState*, JSValue, JSValue prototypeProperty); - virtual void getPropertyNames(ExecState*, PropertyNameArray&, bool includeNonEnumerable = false); + virtual void getPropertyNames(ExecState*, PropertyNameArray&, unsigned listedAttributes = Structure::Prototype); virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType = NoPreference) const; virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue& value); |