Closed
Bug 1812521
Opened 2 years ago
Closed 2 years ago
Don't pass a customFormatterIndex for customFormatterBody
Categories
(DevTools :: Framework, task)
DevTools
Framework
Tracking
(firefox111 fixed)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
CLJS devtoolsFormatters
array can be modified, which means that the formatter used for the header might not be in the same position when trying to expand the body.
As we rely on an index on the devtoolsFormatters
array to retrieve the body, this can fail.
Let's not handle this with an index, but rather store the formatter entry in the object actor for easy retrieval later
Assignee | ||
Comment 1•2 years ago
|
||
Instead of keeping track of an index, store the formatter entry in
the object actor from customFormatterHeader
so we can re-use it
in customFormatterBody
.
Depends on D167382
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6886537fc9b
[devtools] Don't rely on custom formatter index for body hook. r=ochameau.
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•