Skip to content

Commit

Permalink
upgrade to Puppeteer 22
Browse files Browse the repository at this point in the history
Puppeteer 22 drops support for Node 16 and requires Node 18+ [1].

The main change for us is how `headless` is configured. [2] The new
headless mode is now enabled by default in Puppeteer, corresponding
to `headless: true` instead of `headless: 'new'`.

We already opted-in to this before in grunt-contrib-qunit so it is not
relevant for grunt-contrib-qunit release notes.

This also includes "roll to Chrome 125", from puppeteer 22.10.0 [3].

[1]: https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v22.0.0
[2]: puppeteer/puppeteer#11815
[3]: https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.10.0/packages/puppeteer/CHANGELOG.md
  • Loading branch information
Krinkle committed Jun 9, 2024
1 parent fcf0dc1 commit 9b527ee
Show file tree
Hide file tree
Showing 4 changed files with 1,475 additions and 3,433 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = function(grunt) {
// qunit:failPageError
} else if (/test\/qunit_page_error\.html/.test(stdout) &&
/ReferenceError: boom is not defined/.test(stdout) &&
/at .*qunit_page_error.html:15/.test(stdout)) {
/at .*qunit_page_error.html:16/.test(stdout)) {
cb(err !== null);

// qunit:failCircularObject
Expand Down
Loading

0 comments on commit 9b527ee

Please sign in to comment.