This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 52fdb1f7 Cannot use new style
52fdb1f7 is described below
commit 52fdb1f7bd7de65aeda735249725b9cd765d52f6
Author: Sebb <[email protected]>
AuthorDate: Thu Jan 4 11:29:54 2024 +0000
Cannot use new style
---
tools/scan-page.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/scan-page.js b/tools/scan-page.js
index 6bb79e61..e75372c8 100755
--- a/tools/scan-page.js
+++ b/tools/scan-page.js
@@ -19,7 +19,10 @@ if (!isASFhost(inithost)) {
}
(async () => {
- const browser = await puppeteer.launch({headless: "new"});
+ // new fails with:
+ // Error: Failed to launch the browser process!
+ // chrome_crashpad_handler: --database is required
+ const browser = await puppeteer.launch({headless: "old"});
const page = await browser.newPage();
await page.setRequestInterception(true);
page.on('request', (interceptedRequest) => {