New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken Puppeteer upgrade to version 13.0.0 #14363
Comments
Now that the integration tests on Linux work again, I found that the same test permafails on Linux as well with Puppeteer 13, but fortunately with a more helpful stack trace than the one above from Windows:
Given this information I'm on the fence if this is actually a Puppeteer 13 bug, or just a mistake in our test that just happens to surface in Puppeteer 13... |
If I remove https://github.com/mozilla/pdf.js/blob/master/test/integration/scripting_spec.js#L699-L707 the test passes under Puppeteer 13. I see this was added in 17363bb to fix another issue. The error seems to indicate that the argument passed to |
Lo and behold: |
I'll try to reduce this for an upstream bug since the documentation doesn't indicate this behavior and the changelogs also don't mention any changes here, so I strongly suspect an upstream regression. Fortunately I do think we can fix it on our side too; I'll try that out later today. |
I have created a minimal reproducer and filed puppeteer/puppeteer#7836 upstream since this is in fact a regression in Puppeteer 13. |
Follow-up: it looks like our reported regression got fixed upsteam now in puppeteer/puppeteer#7845, so hopefully in a next Puppeteer release this won't be a problem anymore for new code. |
The Puppeteer development dependency is now pinned to version 12.0.1 because version 13.0.0 fails for (to us) unknown reasons since nothing really stands out in the 13.0.0 changelogs. It's strange because everything about the new release works, except for one integration test ("must change colors") on one platform (Windows) with the following traceback:
Maybe someone with Windows can try to reproduce this and find out what is special about the "must change colors" test that triggers this. Once we know what causes it, we can either fix it, or work around it and file an upstream bug report.
The text was updated successfully, but these errors were encountered: