Make sure that we do not call is_extensible on the global proxy.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Feb 2011 13:09:07 +0000 (13:09 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Feb 2011 13:09:07 +0000 (13:09 +0000)
commit20f2c1c98af19793a01a840054bb647cd449ae67
tree6b1dd9b43b0ae5afb50c08adbc8bf6c75f943be8
parenta2c9ca74645ddeae5f002ab90c0033cf73edd2d0
Make sure that we do not call is_extensible on the global proxy.

When calling Object.isExtensible we did not do a check for the global
js proxy. This caused the check on the extensible bit on the map to
return true, even when the bit was set to false on the global js
object.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6677 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/mjsunit/regress/regress-1120.js [new file with mode: 0644]