Skip to content

Replace the getStatIndex helper, in web/debugger.mjs, with native functionality#20692

Merged
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:debugger-findIndex
Feb 20, 2026
Merged

Replace the getStatIndex helper, in web/debugger.mjs, with native functionality#20692
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:debugger-findIndex

Conversation

@Snuffleupagus
Copy link
Collaborator

This code is old enough that it predates the existence of Array.prototype.findIndex(), hence why a helper function was originally needed.

… functionality

This code is old enough that it predates the existence of `Array.prototype.findIndex()`, hence why a helper function was originally needed.
@Snuffleupagus Snuffleupagus changed the title Replace the getStatIndex helper, in web/debugger.mjs, with nativefu nctionality Replace the getStatIndex helper, in web/debugger.mjs, with native functionality Feb 20, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.62%. Comparing base (74ab1a9) to head (06e7f30).
⚠️ Report is 31 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20692      +/-   ##
==========================================
- Coverage   62.66%   62.62%   -0.04%     
==========================================
  Files         169      169              
  Lines      119865   119865              
==========================================
- Hits        75111    75070      -41     
- Misses      44754    44795      +41     
Flag Coverage Δ
unittestcli 62.62% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timvandermeij timvandermeij merged commit f395042 into mozilla:master Feb 20, 2026
10 checks passed
@timvandermeij
Copy link
Contributor

Thank you for simplifying this!

@Snuffleupagus Snuffleupagus deleted the debugger-findIndex branch February 20, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants