Closed Bug 1169064 Opened 9 years ago Closed 9 years ago

Refactor the ObjectActor from script.js to object.js

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: gl, Assigned: gl)

References

Details

Attachments

(3 files, 12 obsolete files)

43.56 KB, patch
fitzgen
: review+
Details | Diff | Splinter Review
105.36 KB, patch
Details | Diff | Splinter Review
33.41 KB, patch
Details | Diff | Splinter Review
No description provided.
Assignee: nobody → gabriel.luong
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
Blocks: 1084525
Attached patch 1169064-part-1.patch [WIP] (obsolete) — Splinter Review
Attachment #8611538 - Attachment is obsolete: true
Attachment #8611552 - Attachment description: 1169064-part-1.patch [WIP] → Part 1: Move ObjectActor to object.js
Attachment #8611552 - Flags: review?(nfitzgerald)
Attachment #8611552 - Flags: review?(nfitzgerald)
Just an observation that will be addressed in another patch as part of this bug: - createEnvironmentActor is implemented the same in both webconsole.js and script.js. I think we can just have one implementation in object.js.
Attachment #8611552 - Attachment is obsolete: true
Attachment #8611575 - Flags: review?(nfitzgerald)
ObjectActor.onDefinitionSite also doesn't use its aRequest argument.
Comment on attachment 8611575 [details] [diff] [review] Part 1: Move ObjectActor to object.js [1.0] Review of attachment 8611575 [details] [diff] [review]: ----------------------------------------------------------------- Very nicely done :)
Attachment #8611575 - Flags: review?(nfitzgerald) → review+
Notable Changes: - Renamed all aString arguments - Formatted to ensure 80 chars per line - One instance where destructuring {obj, hook} simplified the code - Removed unused request arguments
Attachment #8611602 - Flags: review?(nfitzgerald)
Undid the destructuring of the ObjectActor in GenericObject.
Attachment #8611602 - Attachment is obsolete: true
Attachment #8611602 - Flags: review?(nfitzgerald)
Attachment #8612150 - Flags: review?(nfitzgerald)
s/decrementGriphDepth/decrementGripDepth
Attachment #8611575 - Attachment is obsolete: true
Attachment #8612179 - Flags: review+
Attachment #8612150 - Flags: review?(nfitzgerald) → review+
Comment on attachment 8612181 [details] [diff] [review] Part 3: Refactor LongStringActor, createValueGrip, stringIsLong and longStripGrip from script.js to object.js Review of attachment 8612181 [details] [diff] [review]: ----------------------------------------------------------------- This is _so_ much better! Thanks!
Attachment #8612181 - Flags: review?(nfitzgerald) → review+
Added DevToolsUtils require in webconsole.js
Attachment #8612179 - Attachment is obsolete: true
Attachment #8612339 - Flags: review+
Refactor PropertyIteratorActor from script.js to object.js
Attachment #8612339 - Attachment is obsolete: true
Attachment #8612488 - Flags: review+
Part 3: Fixed createValueGrip in webaudio.js
Attachment #8612181 - Attachment is obsolete: true
Attachment #8612627 - Flags: review?(nfitzgerald)
Attachment #8612627 - Attachment is obsolete: true
Attachment #8612627 - Flags: review?(nfitzgerald)
Attachment #8612629 - Flags: review?(nfitzgerald)
Attachment #8612629 - Flags: review?(nfitzgerald)
Attachment #8612742 - Flags: review?(nfitzgerald)
Comment on attachment 8613007 [details] [diff] [review] Part 3: Refactor LongStringActor, createValueGrip, stringIsLong and longStripGrip from script.js to object.js [4.0] Review of attachment 8613007 [details] [diff] [review]: ----------------------------------------------------------------- Yay! Great job!
Attachment #8613007 - Flags: review?(nfitzgerald) → review+
What's different in this revision? Does it warrant rereview? I'm assuming it must be something "big", b/c you reflagged me, but it isn't obvious to me looking at the patch.
Flags: needinfo?(gabriel.luong)
Unfortunately, the changes aren't big and it simply readds the actor deletion to LongStringActor#onRelease. I will carry over the r+.
Flags: needinfo?(gabriel.luong)
Attachment #8613172 - Flags: review?(nfitzgerald) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: