Fix issue with getOwnPropertySymbols and hidden properties
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Mar 2014 16:46:35 +0000 (16:46 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Mar 2014 16:46:35 +0000 (16:46 +0000)
commit85800eff3fb11678f56db95fe0ba85dc48f77314
treeb6deef1a085042677241bab6864e69cbf04ed44f
parent534245c9a57311802c081e4ad42ec48e2fe77ebf
Fix issue with getOwnPropertySymbols and hidden properties

When getting the symbols of an object we need to ignore the hidden
properties of the prototype object since the hidden properties are
represented by a single string key and we will not include that hidden
string in the found names.

BUG=350864
LOG=Y
R=rossberg@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

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