Bug 151363

Summary: [ES6] Many functions do not have the correct name.
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: JavaScriptCoreAssignee: 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
Reported 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]".
Attachments
Keith Miller
Comment 1 2016-01-21 18:49:53 PST
We should also fix the various getter functions that we define in our builtins.
Joseph Pecoraro
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.