v8/test
dcarney@chromium.org 7cee52948f Fix stub-invoked setter callback handling.
When invoking a setter callback for a property using
JSObject::SetPropertyWithCallback(),the callback arguments includes
a correct pair of receiver and holder objects.

Such a pair of _possibly different_ arguments (receiver, holder) must
also be supplied when invoking the same setter callback from JITed
code, when the setter is invoked through the StoreCallbackProperty
stub.

An example where this matters are the accessor properties kept on the
global scope of Worker (i.e., properties kept on the global object
itself, and not on its prototype.) Conflating the receiver with the
holder leads to general confusion when attempting to fetch out the
wrapper object.

LOG=N
R=dcarney@chromium.org, dcarney
BUG=239669

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

Patch from Sigbjorn Finne <sigbjornf@opera.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-17 10:34:43 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest Fix stub-invoked setter callback handling. 2014-01-17 10:34:43 +00:00
intl Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
message Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
mjsunit Get rid of ContextualMode for call ICs. 2014-01-14 16:15:05 +00:00
mozilla Make test runner more flexible for running fast tests. 2013-11-25 17:34:52 +00:00
preparser Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test262 Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation." 2013-11-12 14:43:18 +00:00
webkit Adapt Webkit test expectations to r18480. 2014-01-08 09:30:49 +00:00