pdf.js/src
Jonas Jenwald 0238cf134d Don't store page-level data, in the API, after cleanup has run (bug 1854145)
For large/complex images it's possible that the image-data arrives in the API *after* the page has been scrolled out-of-view and thus been cleaned-up. In this case we obviously shouldn't cache such page-level data, since it'll first of all be unused and secondly can increase memory usage *a lot*.
Also, ensure that we *immediately* release any `ImageBitmap` data in this case to help reclaim memory faster.
2023-10-11 11:51:42 +02:00
..
core [Debugger] Add some info about substitution font 2023-10-09 12:06:33 +02:00
display Don't store page-level data, in the API, after cleanup has run (bug 1854145) 2023-10-11 11:51:42 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Don't reset all fields when the resetForm argument is an array 2023-08-24 09:10:27 -04:00
shared Add tagged annotations in the structure tree (bug 1850797) 2023-08-31 12:35:32 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header_libre.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
license_header.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
pdf.image_decoders.js Add unit-tests to check that more PDF.js APIs expose the expected functionality 2023-07-07 12:36:21 +02:00
pdf.js [api-major] Output JavaScript modules in the builds (issue 10317) 2023-10-07 09:31:08 +02:00
pdf.sandbox.external.js ESMify some modules for m-c (bug 1824610) 2023-03-27 12:01:31 +02:00
pdf.sandbox.js Introduce more optional chaining in the code-base 2023-08-26 10:52:23 +02:00
pdf.scripting.js Output pdf.scripting.js as a JavaScript module (PR 17055 follow-up) 2023-10-07 15:27:26 +02:00
pdf.worker.entry.js [api-major] Output JavaScript modules in the builds (issue 10317) 2023-10-07 09:31:08 +02:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00