1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/test
Calixte Denizet ae5828c968 [Editor] Avoid conflicts between new persistent refs and the ones created when saving (bug 1865341)
When a pdf as a FreeText without appearance, we use a fake font in order to render it
and that leads to create few new refs for the font.
But then when we're saving, we create some new refs which start at the same number
as the previous created ones.
Consequently, when saving we're using some wrong objects (like a font) to check if
we're able to render the newly added FreeText.
In order to fix this bug, we just remove the persistent refs (which are only used
when rendering/printing) during the saving.
2023-12-05 12:33:21 +01:00
..
chromium Enable the import/no-commonjs ESLint plugin rule 2023-10-14 12:49:17 +02:00
font Introduce a GitHub Actions workflow for running the font tests 2023-11-12 17:48:04 +01:00
fuzz fuzz: initial integration 2023-12-03 18:52:48 +05:30
images [Editor] Support svg images in the stamp annotation 2023-07-07 15:59:13 +02:00
integration [Editor] Always give the focus to the ink editor when starting drawing (bug 1867588) 2023-12-05 10:26:59 +01:00
pdfs [Editor] Avoid conflicts between new persistent refs and the ones created when saving (bug 1865341) 2023-12-05 12:33:21 +01:00
resources Enable the declaration-block-no-redundant-longhand-properties Stylelint rule 2023-03-25 10:08:27 +01:00
stats Enable the import/no-commonjs ESLint plugin rule 2023-10-14 12:49:17 +02:00
types Rename *.d.ts to *.d.mts. Close #17241 2023-11-12 07:30:36 +09:00
unit Disable the "should compress and save text" unit-test in additional Node.js versions (PR 17202 follow-up) 2023-11-30 20:47:15 +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.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
annotation_layer_builder_overrides.css Use CSS nesting in the annotationLayer 2023-10-27 18:46:47 +02:00
downloadutils.mjs Modernize the verifyManifestFiles test helper function 2023-12-03 20:42:50 +01:00
draw_layer_test.css [Editor] Add a way to extract the outlines of a union of rectangles 2023-11-20 18:45:19 +01:00
driver.js [Editor] Avoid conflicts between new persistent refs and the ones created when saving (bug 1865341) 2023-12-05 12:33:21 +01:00
integration-boot.mjs Rename the integration test-files, in preparation for converting them to modules 2023-10-12 13:17:56 +02:00
test.mjs Modernize the verifyManifestFiles test helper function 2023-12-03 20:42:50 +01:00
test_manifest.json [Editor] Avoid conflicts between new persistent refs and the ones created when saving (bug 1865341) 2023-12-05 12:33:21 +01:00
test_slave.html [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
testutils.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
text_layer_test.css Use CSS nesting in the textLayer 2023-10-27 17:38:01 +02:00
webserver.mjs [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
xfa_layer_builder_overrides.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00