v8/test
kmillikin@chromium.org 9c2d52eb0e Fix a bug in delete for lookup slots.
The function Runtime_LookupContext searches the context chain for a
LOOKUP slot and returns the object holding the slot.  It returned the
global context if the slot was not found or if it was found in a
function's context or arguments object.  This is not the correct
object to use for 'delete'.

Since this lookup function is only ever used when deleting LOOKUP
slots (those that have to go through a with or a scope with eval), it
is simply replaced with a Runtime_DeleteContextSlot function that does
the appropriate thing for all kinds of context lookups.

This fixes Chromium bug 70066.
http://code.google.com/p/chromium/issues/detail?id=70066

Review URL: http://codereview.chromium.org/6280013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-01-24 14:03:30 +00:00
..
cctest Avoid calling overwritten toString methods for internal error 2011-01-24 07:59:40 +00:00
es5conform Enable sharding of individual testsuites in tools/test.py 2011-01-10 13:54:42 +00:00
message Enable sharding of individual testsuites in tools/test.py 2011-01-10 13:54:42 +00:00
mjsunit Fix a bug in delete for lookup slots. 2011-01-24 14:03:30 +00:00
mozilla Mark mozilla/ecma_3/RegExp/regress-85721 as flaky. 2011-01-21 11:47:02 +00:00
sputnik Change the HGraphBuilder to dispatch on the context. 2010-12-09 12:49:53 +00:00