pdf.js/src/shared
Jonas Jenwald 107efdb178 [Regression] Re-factor the *internal* renderInteractiveForms handling, since it's currently subtly wrong
The value of the `renderInteractiveForms` parameter, as passed to the `PDFPageProxy.render` method, will (potentially) affect the size/content of the operatorList that's returned from the worker (for documents with forms).
Given that operatorLists will generally, unless they contain huge images, be cached in the API, repeated `PDFPageProxy.render` calls that *only* change the `renderInteractiveForms` parameter can thus return an incorrect operatorList.

As far as I can tell, this *subtle* bug has existed ever since `renderInteractiveForms`-support was first added in PR 7633 (which is almost five years ago).
With the previous patch, fixing this is now really simple by "encoding" the `renderInteractiveForms` parameter in the *internal* renderingIntent handling.
2021-08-06 00:40:43 +02:00
..
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Add a DOMMatrix polyfill for Node.js environments (PR 13361 follow-up) 2021-06-10 21:08:23 +02:00
fonts_utils.js Fix some static static analyzer warnings (issue 11965) 2020-11-01 12:08:38 +01:00
is_node.js Make the detection of Node.js environments on Electron strict. 2020-07-12 10:56:17 +09:00
message_handler.js Enable the ESLint no-var rule in the src/shared/ folder 2020-10-03 08:27:45 +02:00
scripting_utils.js [Regression] Prevent the *built* pdf.scripting.js/pdf.sandbox.js files from accidentally including most of the main-thread code (PR 12631 follow-up) 2020-12-04 14:17:26 +01:00
util.js [Regression] Re-factor the *internal* renderInteractiveForms handling, since it's currently subtly wrong 2021-08-06 00:40:43 +02:00