Skip to content

Let BinaryCMapStream extend the Stream class#20806

Merged
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:BinaryCMapStream-extends-Stream
Mar 5, 2026
Merged

Let BinaryCMapStream extend the Stream class#20806
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:BinaryCMapStream-extends-Stream

Conversation

@Snuffleupagus
Copy link
Copy Markdown
Collaborator

Looking at the BinaryCMapStream implementation, it's basically a "regular" Stream but with added functionality for reading compressed CMap data.
Hence, by letting BinaryCMapStream extend Stream, we can remove an effectively duplicate method and simplify/shorten the code a tiny bit.

Looking at the `BinaryCMapStream` implementation, it's basically a "regular" `Stream` but with added functionality for reading compressed CMap data.
Hence, by letting `BinaryCMapStream` extend `Stream`, we can remove an effectively duplicate method and simplify/shorten the code a tiny bit.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.75%. Comparing base (4d0709c) to head (fccee4b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20806      +/-   ##
==========================================
- Coverage   62.80%   62.75%   -0.06%     
==========================================
  Files         169      169              
  Lines      119824   119821       -3     
==========================================
- Hits        75260    75190      -70     
- Misses      44564    44631      +67     
Flag Coverage Δ
fonttest 7.67% <0.00%> (+<0.01%) ⬆️
unittestcli 62.72% <100.00%> (-0.06%) ⬇️

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.

@Snuffleupagus
Copy link
Copy Markdown
Collaborator Author

/botio test

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 1

Live output at: http://54.193.163.58:8877/3ef5fd0f100b85e/output.txt

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/450a383079799a9/output.txt

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/450a383079799a9/output.txt

Total script time: 45.11 mins

  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 1

Image differences available at: http://54.241.84.105:8877/450a383079799a9/reftest-analyzer.html#web=eq.log

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/3ef5fd0f100b85e/output.txt

Total script time: 72.45 mins

  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 1

Image differences available at: http://54.193.163.58:8877/3ef5fd0f100b85e/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 01bc76e into mozilla:master Mar 5, 2026
12 checks passed
@timvandermeij
Copy link
Copy Markdown
Contributor

Nice find; thanks!

@Snuffleupagus Snuffleupagus deleted the BinaryCMapStream-extends-Stream branch March 6, 2026 10:42
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