Bug 151363
Summary: | [ES6] Many functions do not have the correct name. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
Component: | JavaScriptCore | Assignee: | Keith Miller <keith_miller> |
Status: | NEW | ||
Severity: | Normal | CC: | joepeck, keith_miller |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=170884 |
Keith Miller
When we add symbol properties to objects the names of the various functions are currently anonymous when they should be "[Symbol.foobar]".
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Keith Miller
We should also fix the various getter functions that we define in our builtins.
Joseph Pecoraro
So it seems we have the correct function.name now, but function.toString in these cases still shows the name from the builtin function.