Skip to content

Remove the unused getOutputLength method from the ColorSpace classes (PR 21637 follow-up) - #21837

Merged
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:rm-ColorSpace-getoutputlength
Aug 29, 2026
Merged

Remove the unused getOutputLength method from the ColorSpace classes (PR 21637 follow-up)#21837
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:rm-ColorSpace-getoutputlength

Conversation

@Snuffleupagus

Copy link
Copy Markdown
Collaborator

The only actual getOutputLength call-site, outside of the unit-tests, was removed in PR #21637 and these methods are now unused.
This code can always be easily re-instated if needed, thanks to version control, so let's avoid shipping dead code in the builds.

…ses (PR 21637 follow-up)

The only actual `getOutputLength` call-site, outside of the unit-tests, was removed in PR 21637 and these methods are now unused.
This code can always be easily re-instated if needed, thanks to version control, so let's avoid shipping dead code in the builds.
@codecov-commenter

codecov-commenter commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.25%. Comparing base (8801a6a) to head (159dca9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21837      +/-   ##
==========================================
+ Coverage   90.23%   90.25%   +0.01%     
==========================================
  Files         264      264              
  Lines       67297    67286      -11     
==========================================
+ Hits        60724    60727       +3     
+ Misses       6573     6559      -14     
Flag Coverage Δ
browsertest 66.31% <ø> (+0.02%) ⬆️
fonttest 8.92% <ø> (+<0.01%) ⬆️
integrationtest 69.43% <ø> (-0.01%) ⬇️
unittest 58.45% <ø> (+0.02%) ⬆️
unittestcli 56.99% <ø> (-0.02%) ⬇️

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.

@Snuffleupagus

This comment was marked as outdated.

1 similar comment
@Snuffleupagus

Copy link
Copy Markdown
Collaborator Author

/botio browsertest

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/610f275e0a757de/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/922194883811eff/output.txt

@mozilla mozilla deleted a comment from moz-tools-bot Aug 29, 2026
@mozilla mozilla deleted a comment from moz-tools-bot Aug 29, 2026
@mozilla mozilla deleted a comment from moz-tools-bot Aug 29, 2026
@mozilla mozilla deleted a comment from moz-tools-bot Aug 29, 2026
@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/610f275e0a757de/output.txt

Total script time: 18.95 mins

  • Regression tests: Passed

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/922194883811eff/output.txt

Total script time: 23.75 mins

  • Regression tests: Passed

@timvandermeij timvandermeij left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me; thanks!

@Snuffleupagus
Snuffleupagus merged commit d1725ab into mozilla:master Aug 29, 2026
21 checks passed
@Snuffleupagus
Snuffleupagus deleted the rm-ColorSpace-getoutputlength branch August 29, 2026 10:06
@Snuffleupagus
Snuffleupagus removed the request for review from calixteman August 29, 2026 10:06
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.

4 participants