diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-03 12:00:27 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-03 12:00:27 (GMT) |
commit | c23be3111ec279b4e19ca9c37a0d9eddb756f402 (patch) | |
tree | 5e90a4e111938dc01e405eae82baff8b12cdb88b /src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h | |
parent | d1cf24277dd736a873c20dd3aebea9d185636a78 (diff) | |
download | Qt-c23be3111ec279b4e19ca9c37a0d9eddb756f402.zip Qt-c23be3111ec279b4e19ca9c37a0d9eddb756f402.tar.gz Qt-c23be3111ec279b4e19ca9c37a0d9eddb756f402.tar.bz2 |
Attributes and deletion of String object properties
As per ECMA-262.
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h')
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h b/src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h index 900c565..6db9322 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/JSString.h @@ -87,6 +87,8 @@ namespace JSC { bool getStringPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&); bool getStringPropertySlot(ExecState*, unsigned propertyName, PropertySlot&); + bool getStringPropertyAttributes(ExecState*, const Identifier& propertyName, unsigned&) const; + bool canGetIndex(unsigned i) { return i < static_cast<unsigned>(m_value.size()); } JSString* getIndex(JSGlobalData*, unsigned); |