[Webkit-unassigned] [Bug 149743] Function.toString.call(class Foo {}) doesn't say "class"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 6 22:57:34 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=149743
--- Comment #8 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #7)
> This is still not fixed in stable, nor in nightly from 2016-06-06.
>
> `Function.toString.call(class Foo {})` returns `
> "function () {
>
> }"` which is decidedly not correct, especially given the `Function#toString`
> spec changes that are now stage 3 in ECMAScript.
When I run this I get:
js> Function.toString.call(class Foo {})
"class Foo {}"
I checked Safari Technology Preview Release 5, WebKit Nightly 6/6 (r201731), and a Trunk Build in `jsc` from around 201700 (give or take 15 commits).
Could you clarify in what version of WebKit you are testing this?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160607/471882d8/attachment.html>
More information about the webkit-unassigned
mailing list