Closed
Bug 489225
Opened 16 years ago
Closed 16 years ago
Cleanup CanvasBrowser.js
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bcombee, Assigned: bcombee)
References
Details
Attachments
(1 file, 1 obsolete file)
7.67 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
While working on the panning indicator patch, I noticed lots of places where CanvasBrowser needs to be brought up to current specs. This is a cleanup patch that doesn't add/remove any functionality. It just does
1) add names to function definitions for better stack traces
2) move member initialization into the constructor for CanvasBrowser instead of having them as members of the prototype object. This is the correct way to set these up -- having data members in prototype is only useful for data shared by all CanvasBrowser instances.
3) add more comments describing how CanvasBrowser members are used
My indicators patch will rely on this being committed, so I've marked it as blocking that below.
Attachment #373730 -
Flags: review?(mark.finkle)
Flags: wanted-fennec1.0?
Comment 1•16 years ago
|
||
Comment on attachment 373730 [details] [diff] [review]
Cleanup CanvasBrowser
We might want to add scope prefixes to function names, but this is better than no function names.
Attachment #373730 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Attachment #373730 -
Attachment is obsolete: true
Attachment #374144 -
Flags: review?(mark.finkle)
Updated•16 years ago
|
Attachment #374144 -
Flags: review?(mark.finkle) → review+
Comment 3•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•