• neis's avatar
    JSON.parse: properly deal with reviver result · a5380fe9
    neis authored
    When the reviver returns undefined, the property in question must be deleted
    even for arrays.  So far this only happened for non-array objects.
    
    Also change the property enumeration to be spec-conformant, which is observable when the reviver modifies its "this" object directly.  There are a few further issues that need to be addressed in a separate CL.
    
    R=yangguo@chromium.org
    BUG=
    
    Review URL: https://codereview.chromium.org/1506933003
    
    Cr-Commit-Position: refs/heads/master@{#32750}
    a5380fe9
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...