Fix Bug 17018: Incorrect code generated from Function.toString for get/setters in...
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Jan 2008 00:40:59 +0000 (00:40 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Jan 2008 00:40:59 +0000 (00:40 +0000)
commitf7b333f0d949838f1e354f68a1a1152f269f80fb
tree7ce9b98033080778e38b6939df3397a357626210
parente668df0262ab934ff76082f8206fdd2ae81939a2
Fix Bug 17018: Incorrect code generated from Function.toString for get/setters in object literals

Reviewed by Darin.

Don't quote getter and setter names during output, as that is simply wrong.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/nodes2string.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/function-toString-object-literals-expected.txt
LayoutTests/fast/js/resources/function-toString-object-literals.js