pdf.js/test
Calixte Denizet 05b0c9d7e6 Render large images even if they're larger than the canvas limits (bug 1720282)
The idea is to encode large image in BMP format (which is very simple and doesn't
require to compute any checksums) and then use createImageBitmap with a BMP blob
(which doesn't suffer of the Canvas/ImageData limits).
From a performance point of view, it isn't crazy (generating a large blob + decoding
it on the main thread is really not ideal) but at least we've something to display
which is a way better than a blank page (and one can notice that most of the time is
spent in decoding the image from the pdf stream).
2023-03-05 14:07:07 +01:00
..
chromium Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
font Enable the ESLint prefer-spread rule 2022-08-06 10:17:00 +02:00
integration [JS] Send a Validate action on change on Choice widget 2023-02-19 16:33:05 +01:00
pdfs Render large images even if they're larger than the canvas limits (bug 1720282) 2023-03-05 14:07:07 +01:00
resources Enable the unicorn/prefer-regexp-test ESLint plugin rule 2022-09-19 16:34:01 +02:00
stats Use more for...of loops in the code-base 2022-07-17 16:18:54 +02:00
ttx Update ttx from version 2.5 to version 3.19.0 2022-07-10 21:18:36 +02:00
types Add support for modern ECMAScript class features 2021-10-22 22:01:17 +02:00
unit [api-minor] Generate images in the worker instead of the main thread. 2023-03-01 17:40:12 +01:00
.eslintrc Enable ESLint rules that no longer need to be disabled on a directory/file-basis 2021-01-22 17:47:03 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
add_test.js Enable the ESLint no-var rule in test/add_test.js 2021-03-14 10:25:51 +01:00
annotation_layer_builder_overrides.css [Annotation] Add a div containing the text of a FreeText annotation (bug 1780375) 2022-08-04 11:14:05 +02:00
downloadutils.js Make verifyManifestFiles fail for non-linked test-cases with a "link": true-entry 2021-09-10 09:51:34 +02:00
driver.js A little clean-up of the getDocument call in test/driver.js 2023-02-13 14:49:33 +01:00
integration-boot.js [Annotations] Add some aria-owns in the text layer to link to annotations (bug 1780375) 2022-08-12 14:35:26 +02:00
test_manifest.json Render large images even if they're larger than the canvas limits (bug 1720282) 2023-03-05 14:07:07 +01:00
test_slave.html Tighten the vars-argument for the ESLint no-unused-vars rule 2022-12-04 16:15:50 +01:00
test.js Update npm packages 2023-01-28 08:13:13 +01:00
testutils.js Update npm packages 2023-01-28 08:13:13 +01:00
text_layer_test.css Refactor the text layer code in order to avoid to recompute it on each draw 2022-12-01 18:42:43 +01:00
webserver.js Remove the LGTM configuration and inline disable comments (issue 13829) 2021-08-03 11:14:49 +02:00
xfa_layer_builder_overrides.css XFA - Fix xfaLink class to make links work (bug 1735738) 2021-10-29 11:39:33 -04:00