Skip to content

Clear the full SMask scratch canvas in compose()#21277

Merged
timvandermeij merged 1 commit into
mozilla:masterfrom
calixteman:issue21276
May 15, 2026
Merged

Clear the full SMask scratch canvas in compose()#21277
timvandermeij merged 1 commit into
mozilla:masterfrom
calixteman:issue21276

Conversation

@calixteman
Copy link
Copy Markdown
Contributor

PR #21101 narrowed compose()'s clearRect from full canvas to the caller-supplied dirty box. That leaves pixels outside the current dirty box on the SMask scratch canvas between compose() calls; subsequent draws into scratch are then source-over-blended on top of those leftovers, so the output depends on the cumulative draw history rather than just the current draw.

PR mozilla#21101 narrowed `compose()`'s `clearRect` from full canvas to the
caller-supplied dirty box. That leaves pixels outside the current
dirty box on the SMask scratch canvas between `compose()` calls;
subsequent draws into scratch are then source-over-blended on top of
those leftovers, so the output depends on the cumulative draw history
rather than just the current draw.
@calixteman
Copy link
Copy Markdown
Contributor Author

/botio browsertest

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/06fd0c2aeb74a2d/output.txt

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/c169a14719a2e00/output.txt

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.92%. Comparing base (b708f59) to head (5e18cfd).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #21277       +/-   ##
===========================================
+ Coverage   57.70%   80.92%   +23.21%     
===========================================
  Files         220      254       +34     
  Lines       59236    64860     +5624     
===========================================
+ Hits        34183    52485    +18302     
+ Misses      25053    12375    -12678     
Flag Coverage Δ
fonttest 8.64% <ø> (?)
integrationtest 66.18% <100.00%> (?)
unittest 57.03% <0.00%> (+<0.01%) ⬆️
unittestcli 56.25% <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 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/06fd0c2aeb74a2d/output.txt

Total script time: 18.32 mins

  • Regression tests: FAILED
  different ref/snapshot: 2

Image differences available at: http://54.241.84.105:8877/06fd0c2aeb74a2d/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/c169a14719a2e00/output.txt

Total script time: 24.79 mins

  • Regression tests: FAILED
  different ref/snapshot: 2

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

@timvandermeij timvandermeij merged commit 26474b0 into mozilla:master May 15, 2026
22 checks passed
@timvandermeij
Copy link
Copy Markdown
Contributor

Thank you for fixing this!

/botio makeref

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_makeref from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/a6e85c9e190b389/output.txt

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

Command cmd_makeref from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/d5cd4440f4f9498/output.txt

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/a6e85c9e190b389/output.txt

Total script time: 18.52 mins

  • Make references: Passed
  • Check references: Passed

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/d5cd4440f4f9498/output.txt

Total script time: 24.61 mins

  • Make references: Passed
  • Check references: Passed

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.

[Bug]: Fix permafail in the firefox-issue17779-partial-page1 reference test

4 participants