pdf.js/src
Jonas Jenwald 1b076b7a35
Move the ImageBitmap clean-up into the PDFObjects class
With upcoming changes we'll potentially start to cache `ImageBitmap` data at the document-level, in addition to just at the page-level.
Hence we need to ensure that such data is actually released on clean-up, and rather than duplicating the existing *manual* handling this code is instead moved into the `PDFObjects.clear` method. (In my opinion, this is an overall improvement even without globally cached `ImageBitmap` data.)

*Please note:* This patch is written using the GitHub UI, since I'm currently without a dev machine, so hopefully it's correct and makes sense.
2023-02-21 12:00:45 +01:00
..
core Merge pull request #16040 from Snuffleupagus/arrayBuffersToBytes 2023-02-12 11:47:57 +01:00
display Move the ImageBitmap clean-up into the PDFObjects class 2023-02-21 12:00:45 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api [JS] Correctly format field with numbers (bug 1811694, bug 1811510) 2023-01-26 14:57:02 +01:00
shared Move the arrayBuffersToBytes helper function into the worker-thread 2023-02-11 21:34:37 +01: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 Fix the Jbig2Image export for the gulp image_decoders build (PR 9729 follow-up, issue 13367) 2021-05-12 19:41:29 +02:00
pdf.js Fix pinch-to-zoom on mac for the Firefox builtin viewer 2023-02-08 15:04:41 +01:00
pdf.sandbox.external.js [JS] Some functions (print, alert,...) must be called only after a user activation 2022-10-28 18:52:07 +02:00
pdf.sandbox.js [JS] Use beforeinput event to trigger a keystroke event in the sandbox 2022-01-23 19:53:01 +01:00
pdf.scripting.js Tweak the pdf.scripting.js bundling, to improve overall consistency 2020-10-25 16:36:56 +01:00
pdf.worker.entry.js Update the year in the license_header files 2022-01-27 19:24:31 +01:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00
worker_loader.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00