Skip to content

Use Math.sumPrecise and Map.prototype.getOrInsertComputed in the scripting implementation#20821

Merged
Snuffleupagus merged 2 commits intomozilla:masterfrom
Snuffleupagus:scripting-sumPrecise-upsert
Mar 7, 2026
Merged

Use Math.sumPrecise and Map.prototype.getOrInsertComputed in the scripting implementation#20821
Snuffleupagus merged 2 commits intomozilla:masterfrom
Snuffleupagus:scripting-sumPrecise-upsert

Conversation

@Snuffleupagus
Copy link
Copy Markdown
Collaborator

This adds a *very basic* non-MOZCENTRAL polyfill for now, which we should be able to remove once the next QuickJS version is released; note the pending changelog at https://github.com/bellard/quickjs/blob/f1139494d18a2053630c5ed3384a42bb70db3c53/Changelog#L8
This adds a basic non-MOZCENTRAL polyfill for now, which we should be able to remove once the next QuickJS version is released; note the pending changelog at https://github.com/bellard/quickjs/blob/f1139494d18a2053630c5ed3384a42bb70db3c53/Changelog#L7
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.80%. Comparing base (d34a15e) to head (49e8240).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20821   +/-   ##
=======================================
  Coverage   62.80%   62.80%           
=======================================
  Files         169      169           
  Lines      119821   119821           
=======================================
+ Hits        75250    75251    +1     
+ Misses      44571    44570    -1     
Flag Coverage Δ
fonttest 7.67% <ø> (ø)
unittestcli 62.77% <ø> (+<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.

@Snuffleupagus
Copy link
Copy Markdown
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

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

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/34a06eaa8d02afa/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/fbd50509a3ccd37/output.txt

Total script time: 2.66 mins

  • Unit Tests: Passed

@Snuffleupagus
Copy link
Copy Markdown
Collaborator Author

/botio-linux integrationtest

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

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

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/34a06eaa8d02afa/output.txt

Total script time: 7.59 mins

  • Unit Tests: Passed

Copy link
Copy Markdown
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

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

r=me, with passing integration tests. Thanks!

@moz-tools-bot
Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

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

Total script time: 23.74 mins

  • Integration Tests: FAILED

@Snuffleupagus Snuffleupagus merged commit aaf9b3b into mozilla:master Mar 7, 2026
12 checks passed
@Snuffleupagus Snuffleupagus deleted the scripting-sumPrecise-upsert branch March 7, 2026 13:09
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