dms: version up pdfjs 3.11.174
using pdfjs-3.11.174-legacy-dist.zip Note: viewer.js is modified to do nothing in webViewerLoad (one line with return "ERP5 patch: disable here" is added at the top of this function) because we do the initialization in the gadget. I think something similar was also done with the previous version. The tests were extended to cover: - opening an empty or broken PDF: this should not crash - clicking save: this should not crash and the updated document should render properly. The save action replaces the ERP5 document content with the content from the editor, so if user for example added annotations or draw on the PDF, the modified version is saved. We don't use this feature and it's not so easy to test, so for now the test only covers the "it should not crash and it should not break the document". - entering wrong password for encrypted PDFs should not crash
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
199 Bytes
193 Bytes
193 Bytes
199 Bytes
File deleted
File deleted
7.23 KB
403 Bytes
179 Bytes
301 Bytes
175 Bytes
360 Bytes
359 Bytes
290 Bytes
2.36 KB
174 Bytes
259 Bytes
108 Bytes
295 Bytes
242 Bytes
238 Bytes
245 Bytes
246 Bytes
321 Bytes
257 Bytes
309 Bytes
246 Bytes
243 Bytes
225 Bytes
225 Bytes
384 Bytes
177 Bytes
178 Bytes
185 Bytes
136 Bytes
88 Bytes
183 Bytes
128 Bytes
125 Bytes
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
File moved
File moved
File moved
File moved
File moved
File moved