-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Meta] Fix log issues from the dumpio: true
Puppeteer option
#18281
Comments
dumpio: true
Puppeteer optiondumpio: true
Puppeteer option
Having looked through the logs of the last few weeks, which are fortunately pretty clean after all the fixed above, I think we have two main categories of tracebacks left:
|
What's triggering those event listeners though, since the Toolbar/SecondaryToolbar have no async code and the errors appear to suggest that the tests somehow click on toolbar-buttons after we've invoked |
Good question, and I'm not really sure. However, I just found http://54.193.163.58:8877/7a0c5f232507dff/output.txt and http://54.193.163.58:8877/c0e29236d621ca3/output.txt which both also have the |
We're deleting the page number here: pdf.js/test/integration/freetext_editor_spec.mjs Lines 2922 to 2931 in 145951d
and I guess the callback defined here: Lines 212 to 217 in 145951d
is triggered just before we close. So I think we should add the abort controller stuff in the toolbar to remove every listener we've here. |
It looks like there's a third one in addition to the two from #18281 (comment). For example in http://54.241.84.105:8877/00b7f8245c22a11/output.txt the |
In PR #18260 we enabled
dumpio: true
for Puppeteer. This option forwards the browser logs to Node's log stream so that we can see any warnings/errors that are logged in e.g. the web console. This surfaced a few interesting issues that we should fix, not only to reduce the amount of logs but mainly because they might point at actual issues in our code.This issue is a meta issue for this effort. We should go over the logs and file individual issues for each interesting issues. The logs from the last run in the PR are:
This meta issue already contains following issues:
dumpio: true
logs about#createBundleFallback
#18264dumpio: true
logs aboutScript terminated by timeout
#18265 (with follow-up Add a new helper, in the viewer, to close everything during testing #18289)dumpio: true
logs abouttranslateMutations
#18279 (with follow-ups Try to shutdown Fluent "more" when closing the viewer during testing #18313, Fix integration test "Stamp Editor Copy/paste from a tab to an other" #18318/Fix the "copy/paste from a tab to an other" stamp editor integration test #18320, Fix the integration tests passing despite one test failure #18319/Don't ignore errors in the Jasmine suite start/end stages #18321 and Remove therequestAnimationFrame
work-around inL10n.prototype.destroy
(PR 18313 follow-up) #18333)PDFFindBar
when closing the viewer during testing #18302requestAnimationFrame
in thewatchScroll
helper (PR 18193 follow-up) #18335requestAnimationFrame
in the API when cancelling rendering #18336The text was updated successfully, but these errors were encountered: