Skip to content

Use BaseStream.prototype.getString in the readPostScriptTable function#20799

Merged
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:readPostScriptTable-getString
Mar 5, 2026
Merged

Use BaseStream.prototype.getString in the readPostScriptTable function#20799
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:readPostScriptTable-getString

Conversation

@Snuffleupagus
Copy link
Copy Markdown
Collaborator

Currently the customNames are read one byte at a time, in a loop, and at every iteration converted to a string.
This can be replaced with the BaseStream.prototype.getString method, which didn't exist back when this function was written.

…ction

Currently the `customNames` are read one byte at a time, in a loop, and at every iteration converted to a string.
This can be replaced with the `BaseStream.prototype.getString` method, which didn't exist back when this function was written.
@Snuffleupagus
Copy link
Copy Markdown
Collaborator Author

/botio browsertest

@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/2c8842792585b91/output.txt

@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/09254861577e025/output.txt

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 4, 2026

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20799      +/-   ##
==========================================
- Coverage   62.80%   62.77%   -0.04%     
==========================================
  Files         169      169              
  Lines      119824   119820       -4     
==========================================
- Hits        75260    75215      -45     
- Misses      44564    44605      +41     
Flag Coverage Δ
fonttest 7.66% <0.00%> (+<0.01%) ⬆️
unittestcli 62.74% <100.00%> (-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.

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/09254861577e025/output.txt

Total script time: 18.91 mins

  • Regression tests: FAILED
  different ref/snapshot: 1

Image differences available at: http://54.241.84.105:8877/09254861577e025/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/2c8842792585b91/output.txt

Total script time: 27.44 mins

  • Regression tests: FAILED
  different ref/snapshot: 1

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

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

Good improvement; thanks!

@Snuffleupagus Snuffleupagus deleted the readPostScriptTable-getString branch March 6, 2026 10:42
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.

4 participants