Closed Bug 1737969 Opened 3 years ago Closed 2 years ago

Remove lodash findIndex usage

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: nchevobbe, Assigned: V1KT1M)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Seems like something I can work on would love to take it up if that's okay.

Sure, it's yours Clinton :)

Assignee: nobody → V1KT1M
Status: NEW → ASSIGNED

Clinton, do you still plan to work on this?

Flags: needinfo?(V1KT1M)

Yes, Sorry I took an extended sabbatical. I expect to get back to this by next week. Happy new year!

Flags: needinfo?(V1KT1M)

(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 :)

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 from removeInnerLocations

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.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: