Skip to content

Scan backwards to delete a word in a text field - #21687

Merged
timvandermeij merged 1 commit into
mozilla:masterfrom
calixteman:fix/quad-regex-delete-word
Aug 2, 2026
Merged

Scan backwards to delete a word in a text field#21687
timvandermeij merged 1 commit into
mozilla:masterfrom
calixteman:fix/quad-regex-delete-word

Conversation

@calixteman

Copy link
Copy Markdown
Contributor

Finding the word to delete with a regex is quadratic in the value length, so each "delete word backward" keystroke could take a long time in a large field.

Finding the word to delete with a regex is quadratic in the value
length, so each "delete word backward" keystroke could take a long
time in a large field.
@codecov-commenter

codecov-commenter commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.00%. Comparing base (7fc7072) to head (08f6769).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21687   +/-   ##
=======================================
  Coverage   90.00%   90.00%           
=======================================
  Files         263      263           
  Lines       66854    66856    +2     
=======================================
+ Hits        60173    60177    +4     
+ Misses       6681     6679    -2     
Flag Coverage Δ
browsertest 66.53% <0.00%> (-0.01%) ⬇️
fonttest 9.04% <ø> (ø)
integrationtest 69.37% <100.00%> (+0.01%) ⬆️
unittest 57.84% <0.00%> (+<0.01%) ⬆️
unittestcli 56.55% <0.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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 d0779c4 into mozilla:master Aug 2, 2026
21 checks passed
@timvandermeij

Copy link
Copy Markdown
Collaborator

Thank you for improving this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants