Remove lodash findIndex usage
Categories
(DevTools :: Debugger, task)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: V1KT1M)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
We should be able to replace it with frames.findIndex
Seems like something I can work on would love to take it up if that's okay.
Reporter | ||
Comment 2•3 years ago
|
||
Sure, it's yours Clinton :)
Reporter | ||
Comment 3•2 years ago
|
||
Clinton, do you still plan to work on this?
Yes, Sorry I took an extended sabbatical. I expect to get back to this by next week. Happy new year!
Reporter | ||
Comment 5•2 years ago
|
||
(In reply to Clinton from comment #4)
Yes, Sorry I took an extended sabbatical. I expect to get back to this by next week. Happy new year!
no worries, happy new year to you too :)
Reporter | ||
Comment 6•2 years ago
|
||
We take this opportunity to rename removeInnerLocations
to getInnerLocations
and make it return an array of inner locations rather than returning the list
of original locations with inner locations stripped.
This makes the function easier to understand (not having to deal with indexes
- splicing), and doesn't harm the only callsite where we can handle those inner
locations into the filter call that was done on the array returned fromremoveInnerLocations
The parser-worker was updated.
Depends on D136094
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c0b2b6e998d [devtools] Remove lodash findIndex/findLastIndex usages. r=jdescottes.
Comment 8•2 years ago
|
||
bugherder |
Description
•