Wrap InitializeProperty around SetOwnPropertyIgnoreAttributes and switch over uses
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 30 Jun 2014 13:48:57 +0000 (13:48 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 30 Jun 2014 13:48:57 +0000 (13:48 +0000)
commit6ff2a7736450c8b22c89892d83edd1fc41d0d60a
treed09118416b48554216449047363a1d2f604b052c
parent7f6e65a2838a67f0f9e910231ef1b856f3c2b4b2
Wrap InitializeProperty around SetOwnPropertyIgnoreAttributes and switch over uses

This is a step in the direction of disentangling all uses of SetOwnPropertyIgnoreAttributes so we can provide a more specific implementation for those usecases, and reduce the capabilities of those clients, avoiding subtle bugs.

InitializeProperty only supports adding properties to extensible objects that do not contain the property yet. JSGlobalProxies cannot have properties themselves, so are not supported either.

BUG=
R=rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/factory.cc
src/isolate.cc
src/objects.cc
src/objects.h
src/runtime.cc