-
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
XFA - Move the fake HTML representation of XFA from the worker to the main thread #13437
Conversation
calixteman
commented
May 25, 2021
- the only goal of this patch is to be able to get synchronously the fake html when printing from firefox:
- in order to print we need to inject some html in beforeprint callback but we cannot block in waiting for all the pages.
- from a memory point of view: it doesn't change anything since the fake HTML is deleted in the worker;
- this way we don't break any assumptions.
e221d04
to
6a9fb60
Compare
…le to print (or save) a document. Some pages can be unloaded (because pdf.js is lazy) and this storage will help to save their data in order to resuse them when printing or just when displaying a page again.
… main thread - the only goal of this patch is to be able to get synchronously the fake html when printing from firefox: - in order to print we need to inject some html in beforeprint callback but we cannot block in waiting for all the pages. - from a memory point of view: it doesn't change anything since the fake HTML is deleted in the worker; - this way we don't break any assumptions.
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://54.67.70.0:8877/cb09baadb4fcc9f/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 1 Live output at: http://3.101.106.178:8877/be0d2623f09450f/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/cb09baadb4fcc9f/output.txt Total script time: 26.04 mins
Image differences available at: http://54.67.70.0:8877/cb09baadb4fcc9f/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/be0d2623f09450f/output.txt Total script time: 29.82 mins
Image differences available at: http://3.101.106.178:8877/be0d2623f09450f/reftest-analyzer.html#web=eq.log |