Closed
Bug 723937
Opened 13 years ago
Closed 13 years ago
Make sure all the obviously private properties in Tilt start with an underscore
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: vporof, Assigned: vporof)
References
Details
(Whiteboard: [tilt])
Attachments
(1 file, 1 obsolete file)
56.37 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
Even if this rather useless "refactoring" may seem like a waste of time, right now there are some horrible inconsistencies across Tilt's codebase, which may cause confusions. Also, plenty things are obviously not to be messed with, like functions or flags used only for tests, so it would be a good idea to clean those up at some point.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Whiteboard: [tilt]
Assignee | ||
Comment 1•13 years ago
|
||
Apart from the symmetrical chunks of lines where properties are now starting with an underscore, I moved a "let finalize = ..." function declaration outside from T_destroy to keep it as clean as possible, moved the LayoutHelpers import into a temp scope from one of the tests and fixed some javascript errors triggered only when running the arcball-reset tests.
Attachment #594951 -
Flags: review?(rcampbell)
Assignee | ||
Comment 2•13 years ago
|
||
It seems Dão already made the LayoutHelpers change, which will make a hunk fail for the v1 patch. Updated.
Assignee | ||
Updated•13 years ago
|
Attachment #594956 -
Flags: review?(rcampbell)
Assignee | ||
Updated•13 years ago
|
Attachment #594951 -
Flags: review?(rcampbell)
Comment 3•13 years ago
|
||
Comment on attachment 594956 [details] [diff] [review]
v1.1
+ // if the visualizer is destroyed or destroying, don't do anything
+ if (!this.visualizers[aId] || this._isDestroying) {
+ return;
+ }
this sounds like a little extra from just adding some underscores to method names. Were you getting races on shutdown?
The rest looks as expected so r+ with a try run.
Attachment #594956 -
Flags: review?(rcampbell) → review+
Updated•13 years ago
|
Whiteboard: [tilt] → [tilt][land-pending-try]
Comment 4•13 years ago
|
||
yes, I am dumb for not reading comment #1. I inferred it from the code ALL BY MYSELF!
Assignee | ||
Comment 5•13 years ago
|
||
Whiteboard: [tilt][land-pending-try] → [tilt]
Assignee | ||
Updated•13 years ago
|
Whiteboard: [tilt] → [tilt][land-in-fx-team]
Assignee | ||
Updated•13 years ago
|
Attachment #594951 -
Attachment is obsolete: true
Comment 6•13 years ago
|
||
Whiteboard: [tilt][land-in-fx-team] → [tilt][fixed-in-fx-team]
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [tilt][fixed-in-fx-team] → [tilt]
Target Milestone: --- → Firefox 13
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•