Closed Bug 1221533 Opened 9 years ago Closed 8 years ago

Stop mutating state in snapshots reducers

Categories

(DevTools :: Memory, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 960780

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

We are creating new lists of the same snapshots and mutating our target snapshot. We shouldn't do any mutating at all here.

https://dxr.mozilla.org/mozilla-central/rev/f742b9412ed5aace90ad863b276faae0641090a8/devtools/client/memory/reducers/snapshots.js#11-13,24-25,32-33,38-40,45-49,54-58,64
Has STR: --- → irrelevant
This was done as part of the diffing UI.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.