| Index: src/json-parser.h
|
| diff --git a/src/json-parser.h b/src/json-parser.h
|
| index 8ed2e84059cfb7aa9fe74e4ff0b3db16ae71cc45..f1fa5647f848673055e767d605f270d83403e7ff 100644
|
| --- a/src/json-parser.h
|
| +++ b/src/json-parser.h
|
| @@ -434,7 +434,8 @@ Handle<Object> JsonParser<seq_one_byte>::ParseJsonObject() {
|
| // Commit the intermediate state to the object and stop transitioning.
|
| CommitStateToJsonObject(json_object, map, &properties);
|
|
|
| - JSObject::DefinePropertyOrElement(json_object, key, value).Check();
|
| + JSObject::DefinePropertyOrElementIgnoreAttributes(json_object, key, value)
|
| + .Check();
|
| } while (transitioning && MatchSkipWhiteSpace(','));
|
|
|
| // If we transitioned until the very end, transition the map now.
|
| @@ -470,7 +471,8 @@ Handle<Object> JsonParser<seq_one_byte>::ParseJsonObject() {
|
| value = ParseJsonValue();
|
| if (value.is_null()) return ReportUnexpectedCharacter();
|
|
|
| - JSObject::DefinePropertyOrElement(json_object, key, value).Check();
|
| + JSObject::DefinePropertyOrElementIgnoreAttributes(json_object, key,
|
| + value).Check();
|
| }
|
| }
|
|
|
|
|