Skip to content

[pull] master from mozilla:master#376

Merged
pull[bot] merged 10 commits into
code:masterfrom
mozilla:master
May 17, 2026
Merged

[pull] master from mozilla:master#376
pull[bot] merged 10 commits into
code:masterfrom
mozilla:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 17, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

timvandermeij and others added 10 commits May 16, 2026 19:30
…tests

The custom solution for obtaining the bounding box of a given element
that we have now was necessary during the original introduction of the
integration tests because at the time the `ElementHandle.boundingBox()`
API in Puppeteer didn't work correctly in Chrome.

However, `getRect`, where this is used, is a hot utility function
because most tests call it multiple times, either directly or indirectly
via other utility functions, and it turns out that the approach we use
is slower than the native `ElementHandle.boundingBox()` API.

Fortunately, most likely after a combination of Chrome/Puppeteer updates
and the conversion to the formalized WebDriver BiDi protocol the custom
solution is no longer necessary because all tests pass without it too,
so this commit converts `getRect` to use `ElementHandle.boundingBox()`
instead to speed up the tests.
Originally we introduced a small delay for Puppeteer operations in
Chrome to avoid intermittent failures where protocol calls were
happening too quickly in succession. However, since then a number of
improvements were made, both locally and upstream, that reduce the need
for this delay:

- the integration tests have been hardened to remove (potential) sources
  of intermittent failures in many places;
- the browsers and Puppeteer have been updated to improve performance
  and support for testing infrastructure;
- the conversion to WebDriver BiDi has been completed, which replaced
  the Chrome-specific CDP protocol with a formalized protocol that could
  provide more safety guarantees.

This commit therefore reduces the Chrome-specific delay from 5 to 3
milliseconds, which should nowadays be a better value to speed up the
Chrome tests and bring them closer to Firefox in terms of runtime.
This caused the tab to remain open after the tests ran, which meant
that a total of ~120 MB of memory was not being freed.
…ing` integration test on Windows

It looks like this test passes consistently again, most likely after a
combination of browser/Puppeteer/configuration updates and the completed
switch to the WebDriver BiDi protocol.

Fixes #20136.
…def-contentLength-test

Add an integration-test for documents without `contentLength` available in the `PDFDocumentProperties` dialog
Enable the `must check that an existing highlight is ignored on hovering` integration test on Windows
Optimize runtime and memory usage of the integration tests
Recover CFF private dict defaults zeroed by Ghostscript
@pull pull Bot locked and limited conversation to collaborators May 17, 2026
@pull pull Bot added the ⤵️ pull label May 17, 2026
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot merged commit deb5323 into code:master May 17, 2026
4 of 19 checks passed
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 17, 2026 20:03 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants