Closed Bug 907430 Opened 12 years ago Closed 12 years ago

XBL constructors are shown as Anonymous functions in profiles

Categories

(Core :: XBL, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: MattN, Assigned: Gavin)

Details

Attachments

(1 file)

It would be useful to indicate that it's a constructor and provide the id of the binding. Profile snippet: {"line": 2908, "location": " (chrome://browser/content/tabbrowser.xml:2886)"},
Attached patch patchSplinter Review
This seems to work. I chose "<bindingID>_XBL_[Con|De]structor" as the function name, anyone have better suggestions?
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #793803 - Flags: review?(bzbarsky)
Component: Gecko Profiler → XBL
Comment on attachment 793803 [details] [diff] [review] patch I think you need to bump XBLBinding_Serialize_Version. r=me with that
Attachment #793803 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: