[es6] Make sure we call add property when adding a new property
authorarv <arv@chromium.org>
Thu, 11 Jun 2015 21:24:31 +0000 (14:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 21:24:41 +0000 (21:24 +0000)
commit5f72593d166e1d604d6061573bd220da5ce64db4
tree0d7905e9a5bfe3c41e541c8f6b510b54c0c1d763
parentdd90d2d4da628e49cd4460241b39e41b6843054c
[es6] Make sure we call add property when adding a new property

When setting a property using `super.prop = val` we need to use
add property if we are adding a new property and not set property.

BUG=493566
LOG=N
R=verwaest@chromium.org, dslomov@chromium.org

Review URL: https://codereview.chromium.org/1161073002

Cr-Commit-Position: refs/heads/master@{#28971}
test/mjsunit/es6/regress/regress-cr493566.js [new file with mode: 0644]