JavaScriptCore: add test for weird class static getters
authorjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Dec 2017 00:41:53 +0000 (00:41 +0000)
committerjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Dec 2017 00:41:53 +0000 (00:41 +0000)
commit39df402880f6a658f9e5575e53df42ed269e7a2c
treee0de04ed3284c235213c07f67805cf083383390e
parentd7ecf71b8067baa9d5ddd1d7d3cca2c41eb0048c
JavaScriptCore: add test for weird class static getters
https://bugs.webkit.org/show_bug.cgi?id=180281
<rdar://problem/35592139>

Reviewed by Mark Lam.

I fixed a bug for it in r224927 and didn't add a test. Do so.

* stress/class-static-get-weird.js: Added.
(c.prototype.get name):
(c):
(c.prototype.get arguments):
(c.prototype.get caller):
(c.prototype.get length):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/stress/class-static-get-weird.js [new file with mode: 0644]