Closed Bug 838280 Opened 11 years ago Closed 11 years ago

Add function names and comments.

Categories

(Toolkit :: Telemetry, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: espindola, Assigned: espindola)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Anonymous functions do seem more common in mozilla-central when setting prototype fields, but yes, it looks like we need names to get good stacks.
Attachment #710312 - Flags: review?(vdjeric)
Comment on attachment 710312 [details] [diff] [review]
patch

I think the commonness of anonymous functions is a relic of The Way Things Used To Be; the new style is to name everything (and rightly so, I think).
Attachment #710312 - Flags: review?(vdjeric) → review+
https://hg.mozilla.org/mozilla-central/rev/2e70586576b9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: