Add access check when Object.keys is called on the global js proxy (fixes issue 1154)
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Feb 2011 10:39:22 +0000 (10:39 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Feb 2011 10:39:22 +0000 (10:39 +0000)
commit4d073901969f722202a4d2bb11fe64f7b08f5e37
tree6063054a21ce51344399df8903132880bb0bd0fb
parent6008d593922dffd67d4417396535cd5bf997b2a7
Add access check when Object.keys is called on the global js proxy (fixes issue 1154)

I will land access checks for a range of ES5 features in another patch (we added a bunch of cases like this in the past few weeks, i.e., cases where we simply use the global object instead of the js global proxy).

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6786 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/cctest/test-api.cc