Closed Bug 1824715 Opened 2 years ago Closed 2 years ago

Pass `blackboxedRanges` to `initialSourceBlackBoxState` instead of `initialSourcesState` on debugger init

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

blackboxedRanges is passed to the source reducers through initialSourcesState
https://searchfox.org/mozilla-central/rev/169bf38e150667afac81ab73ef8b5ace8f1dfa8d/devtools/client/debugger/src/main.js#67-68 even though source blackboxing has been migrated to https://searchfox.org/mozilla-central/rev/169bf38e150667afac81ab73ef8b5ace8f1dfa8d/devtools/client/debugger/src/reducers/source-blackbox.js

This likely breaking restoring of persisted blackboxing information

Severity: -- → S3
Priority: -- → P2
Assignee: nobody → hmanilla
Attachment #9325168 - Attachment description: WIP: Bug 1824715 - [devtools] Pass blackboxedRanges to initialSourceBlackBoxState → Bug 1824715 - [devtools] Fix persisting blackbox ranges across toolbox restart r=#devtools-reviewers
Status: NEW → ASSIGNED
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e30d97ed391 [devtools] Fix persisting blackbox ranges across toolbox restart r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: