Error.stack should not be enumerable
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Aug 2013 21:24:10 +0000 (21:24 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Aug 2013 21:24:10 +0000 (21:24 +0000)
commit849cff60d69de8db000b6068e0de0573fe42eba6
tree9d05653d966edbb870234b5a3ab63c140a901f70
parent168bccd4ffeccc879cd7efab4aae38c1db3a4a3e
Error.stack should not be enumerable
https://bugs.webkit.org/show_bug.cgi?id=120171

Reviewed by Oliver Hunt.

Breaks ECMA tests.

Source/JavaScriptCore:

* runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::finishCreation):
    - None -> DontEnum

LayoutTests:

* fast/js/exception-properties-expected.txt:
* fast/js/script-tests/exception-properties.js:
    - Update test expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/exception-properties-expected.txt
LayoutTests/fast/js/script-tests/exception-properties.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/ErrorInstance.cpp