Closed Bug 1611815 Opened 4 years ago Closed 4 years ago

performance-new in devtools is broken, as it doesn't handle the presetName

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)

74 Branch
defect

Tracking

(firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Error: Given action "INITIALIZE_STORE", reducer "presetName" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined. redux.js:506:15

The reducer errors in the implementation of the DevTools panel, as the presetName was not being fetched from the preferences in the debuggee. This fixes that. TypeScript caught this, but I guess I forgot to check it.

Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/310f3e7947c8
Fix thrown error about presetName om the performance-new devtools panel; r=canaltinova
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: