Closed Bug 830702 Opened 7 years ago Closed 7 years ago

Variables View needs a way to clear hierarchies, to avoid highlighting variable or property changes

Categories

(DevTools :: Debugger, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file)

The new API method is:

/**
 * Forget everything recorded about added scopes, variables or properties.
 * @see VariablesView.createHierarchy
 */
VariablesView.prototype.clearHierarchy = function VV_clearHierarchy() {
  this._prevHierarchy = new Map();
  this._currHierarchy = new Map();
};
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P1
Attached patch v1Splinter Review
Attachment #703799 - Flags: review?(past)
Blocks: 808370
Comment on attachment 703799 [details] [diff] [review]
v1

Review of attachment 703799 [details] [diff] [review]:
-----------------------------------------------------------------

Yup.
Attachment #703799 - Flags: review?(past) → review+
https://hg.mozilla.org/mozilla-central/rev/94e54fd9d289
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.