diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /devtools/client/memory/reducers | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/memory/reducers')
-rw-r--r-- | devtools/client/memory/reducers/allocations.js | 10 | ||||
-rw-r--r-- | devtools/client/memory/reducers/individuals.js | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/devtools/client/memory/reducers/allocations.js b/devtools/client/memory/reducers/allocations.js index f019705560..895e61676d 100644 --- a/devtools/client/memory/reducers/allocations.js +++ b/devtools/client/memory/reducers/allocations.js @@ -9,10 +9,7 @@ const { actions } = require("resource://devtools/client/memory/constants.js"); const handlers = Object.create(null); -handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function ( - state, - action -) { +handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function (state) { assert( !state.togglingInProgress, "Changing recording state must not be reentrant." @@ -24,10 +21,7 @@ handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function ( }; }; -handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_END] = function ( - state, - action -) { +handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_END] = function (state) { assert( state.togglingInProgress, "Should not complete changing recording state if we weren't changing " + diff --git a/devtools/client/memory/reducers/individuals.js b/devtools/client/memory/reducers/individuals.js index 9b5a2c89a5..57b096f870 100644 --- a/devtools/client/memory/reducers/individuals.js +++ b/devtools/client/memory/reducers/individuals.js @@ -38,7 +38,7 @@ handlers[actions.FOCUS_INDIVIDUAL] = function (individuals, { node }) { return immutableUpdate(individuals, { focused: node }); }; -handlers[actions.FETCH_INDIVIDUALS_START] = function (individuals, action) { +handlers[actions.FETCH_INDIVIDUALS_START] = function (individuals) { assert(individuals, "Should have individuals"); return Object.freeze({ state: individualsState.FETCHING, |