Bug 20067 - Support function.name (Firefox extension)
Summary: Support function.name (Firefox extension)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://developer.mozilla.org/en/docs/...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-07-16 17:47 PDT by David Kilzer (:ddkilzer)
Modified: 2008-07-17 14:42 PDT (History)
0 users

See Also:


Attachments
Test case (140 bytes, text/html)
2008-07-16 17:48 PDT, David Kilzer (:ddkilzer)
no flags Details
patch (6.40 KB, patch)
2008-07-17 14:26 PDT, Geoffrey Garen
ddkilzer: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2008-07-16 17:47:58 PDT
Firefox supports an argument.callee.name property that returns the name of the current function.
Comment 1 David Kilzer (:ddkilzer) 2008-07-16 17:48:22 PDT
Created attachment 22324 [details]
Test case
Comment 2 Geoffrey Garen 2008-07-17 14:26:02 PDT
Created attachment 22350 [details]
patch
Comment 3 David Kilzer (:ddkilzer) 2008-07-17 14:38:50 PDT
Comment on attachment 22350 [details]
patch

r=me
Comment 4 Geoffrey Garen 2008-07-17 14:42:39 PDT
Committed revision 35228.