JSVariableObject.cpp | JSVariableObject.cpp | |||
---|---|---|---|---|
skipping to change at line 63 | skipping to change at line 63 | |||
namespace KJS { | namespace KJS { | |||
bool JSVariableObject::deleteProperty(ExecState* exec, const Identifier& pr opertyName) | bool JSVariableObject::deleteProperty(ExecState* exec, const Identifier& pr opertyName) | |||
{ | { | |||
if (symbolTable->contains(propertyName.ustring().rep())) | if (symbolTable->contains(propertyName.ustring().rep())) | |||
return false; | return false; | |||
return JSObject::deleteProperty(exec, propertyName); | return JSObject::deleteProperty(exec, propertyName); | |||
} | } | |||
void JSVariableObject::getOwnPropertyNames(ExecState* exec, PropertyNameArr ay& propertyNames) | void JSVariableObject::getOwnPropertyNames(ExecState* exec, PropertyNameArr ay& propertyNames, PropertyMap::PropertyMode mode) | |||
{ | { | |||
SymbolTable::const_iterator::Keys end = symbolTable->end().keys(); | SymbolTable::const_iterator::Keys end = symbolTable->end().keys(); | |||
for (SymbolTable::const_iterator::Keys it = symbolTable->begin().keys() ; it != end; ++it) | for (SymbolTable::const_iterator::Keys it = symbolTable->begin().keys() ; it != end; ++it) | |||
propertyNames.add(Identifier(it->get())); | propertyNames.add(Identifier(it->get())); | |||
JSObject::getOwnPropertyNames(exec, propertyNames); | JSObject::getOwnPropertyNames(exec, propertyNames, mode); | |||
} | } | |||
void JSVariableObject::mark() | void JSVariableObject::mark() | |||
{ | { | |||
JSObject::mark(); | JSObject::mark(); | |||
if (!localStorage) | if (!localStorage) | |||
return; | return; | |||
size_t size = lengthSlot(); | size_t size = lengthSlot(); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |