Add support for the global object in Object.keys (fixes issue 1150)
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 07:49:13 +0000 (07:49 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 07:49:13 +0000 (07:49 +0000)
commit46bde305b5e4a1e75d03cb6c31fdcb043a3afc82
tree40efa66735e9a3f3df44c00f9f4b0db40e438f7f
parentd52e6f76494c5ce74e27e7b6da270e05cc132e36
Add support for the global object in Object.keys (fixes issue 1150)

We do not currently handle the case where the JSGlobalProxy is passed
as argument to LocalKeys in runtime.cc.

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

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