Bug 151363 - [ES6] Many functions do not have the correct name.
Summary: [ES6] Many functions do not have the correct name.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keith Miller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 15:10 PST by Keith Miller
Modified: 2017-04-16 02:08 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Miller 2015-11-17 15:10:12 PST
When we add symbol properties to objects the names of the various functions are currently anonymous when they should be "[Symbol.foobar]".
Comment 1 Keith Miller 2016-01-21 18:49:53 PST
We should also fix the various getter functions that we define in our builtins.
Comment 2 Joseph Pecoraro 2017-04-16 01:42:31 PDT
So it seems we have the correct function.name now, but function.toString in these cases still shows the name from the builtin function.