[strong] Implement per-object restrictions behaviour of delete operator
authorconradw <conradw@chromium.org>
Mon, 1 Jun 2015 11:39:01 +0000 (04:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Jun 2015 11:39:16 +0000 (11:39 +0000)
commitb14305c1617eda1bcc59e2b1a9bbb0e7c4e55f82
treeb2c2d38f84cd9dca1726b6255c69162fb53eb7fd
parent3be8651fccba6479908df22a32a2adff2c49a1f4
[strong] Implement per-object restrictions behaviour of delete operator

Implements the strong mode proposal's restrictions on the behaviour of the
delete operator for strong objects.

Setting the strong bit is still wip, so this change will only affect those
objects that have the bit correctly set. The tests reflect this, and will be
expanded as more objects can be marked as strong.

Attempt 2, last version did not work with API.

BUG=v8:3956
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28724}
src/elements.cc
src/messages.h
src/objects.cc
test/cctest/test-api.cc
test/mjsunit/strong/object-delete.js [new file with mode: 0644]