[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 21:22:03 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=149743

Jordan Harband <ljharb at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #7 from Jordan Harband <ljharb at gmail.com> ---
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.

-- 
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/4a3ebbab/attachment.html>


More information about the webkit-unassigned mailing list