1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00
pdf.js/test/integration
Tim van der Meij 54eead78ab
Upgrade Puppeteer to version 23.1.1
This major version contains three breaking changes that impact us:

- The `product` option has been renamed to the more suitable `browser`.
- The `page.screenshot()` API returns a `Uint8Array` instead of a
  `Buffer`, but since `pngjs` requires a `Buffer` object we need to do
  the conversion using `Buffer.from()` before passing data to `pngjs`.
- The browser configuration should be set using a configuration file
  instead of environment variables. Note that as a bonus this allows us
  to remove the `cross-env` dependency since that was only used to set
  the Puppeteer environment variable equally for all operating systems.

For more information about the changes between the old and new Puppeteer
versions refer to https://github.com/puppeteer/puppeteer/releases.
2024-08-25 12:49:20 +02:00
..
.eslintrc Implement a linting rule to discourage using waitForTimeout for new tests 2024-04-09 16:12:15 +02:00
accessibility_spec.mjs Avoid to aria-hide the structure tree (bug 1894849) 2024-05-03 14:39:43 +02:00
annotation_spec.mjs [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +02:00
caret_browsing_spec.mjs Introduce a getRect utility function for the integration tests 2024-05-23 18:40:03 +02:00
copy_paste_spec.mjs Fix a race condition involving the waitForEvent integration test helper function 2024-06-26 15:25:33 +02:00
find_spec.mjs Fix the "must highlight text in the right position" integration test 2024-04-11 13:42:08 +02:00
freetext_editor_spec.mjs Upgrade Puppeteer to version 23.1.1 2024-08-25 12:49:20 +02:00
highlight_editor_spec.mjs [Editor] Move setting window.uiManager back to the test code 2024-08-18 15:45:42 +02:00
ink_editor_spec.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
scripting_spec.mjs Don't show the print dialog when printing in some integration tests 2024-08-20 22:24:08 +01:00
stamp_editor_spec.mjs [Editor] Move setting window.uiManager back to the test code 2024-08-18 15:45:42 +02:00
test_utils.mjs Don't show the print dialog when printing in some integration tests 2024-08-20 22:24:08 +01:00
text_field_spec.mjs Remove terminal white spaces when extracting text from annotation appearances 2024-01-09 10:42:53 +01:00
text_layer_spec.mjs Use the waitForEvent helper function in the text layer integration tests 2024-08-04 20:14:43 +02:00
viewer_spec.mjs Enable disabled integration tests for Firefox 2024-08-15 13:11:31 +01:00