pdf.js/web
Jonas Jenwald 90b2664622 Add better validation for the "PREFERENCE" kind AppOptions
Given that the "PREFERENCE" kind is used e.g. to generate the preference-list for the Firefox PDF Viewer, those options need to be carefully validated.
With this patch we'll now check this unconditionally in development mode, during testing, and when creating the preferences in the gulpfile.
2024-02-20 18:38:15 +01:00
..
images Change file permissions for newly added cursors 2024-02-01 09:56:59 +01:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
alt_text_manager.js [Editor] Don't show the alt-text button when the alt-text dialog is visible 2023-10-02 20:34:30 +02:00
annotation_editor_layer_builder.css [Editor] Set the right color to size samples in the highlight thickness panelwhen in HCM (bug 1879107) 2024-02-08 14:31:10 +01:00
annotation_editor_layer_builder.js Ensure that GenericL10n works if the locale files cannot be loaded 2024-01-31 14:07:11 +01:00
annotation_editor_params.js [Editor] Disable the thickness slider for non-free highlight 2024-02-09 22:54:53 +01:00
annotation_layer_builder.css Make the caret visible in the text layer in caret browsing mode 2024-01-18 19:44:21 +01:00
annotation_layer_builder.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
app_options.js Add better validation for the "PREFERENCE" kind AppOptions 2024-02-20 18:38:15 +01:00
app.js Merge pull request #17667 from Snuffleupagus/createPrintService-params 2024-02-17 14:54:53 +01:00
base_tree_viewer.js Also pause translation when expanding the current outline-item (PR 17176 follow-up) 2023-11-03 13:26:36 +01:00
caret_browsing.js Implement caret browsing mode (bug 807730) 2024-02-07 09:35:22 +01:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js Break import cycles, in the viewer, for PDFViewerApplication 2024-02-10 23:15:57 +01:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.css Fix the textLayer-opacity when using the FontInspector (PR 17533 follow-up) 2024-01-26 18:31:38 +01:00
debugger.mjs [Debugger] Add some info about substitution font 2023-10-09 12:06:33 +02:00
download_manager.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
draw_layer_builder.css [Editor] Correctly rotate the mask when rotation a free highlight (bug 1879102) 2024-02-08 15:29:29 +01:00
draw_layer_builder.js [Editor] Add a new editor to highlight some text in a pdf (bug 1866119) 2023-11-28 14:21:53 +01:00
event_utils.js Don't use the deprecated CustomEvent.initCustomEvent method anymore 2023-04-23 15:41:02 +02:00
external_services.js Re-factor DefaultExternalServices into a regular class, without static methods 2024-01-27 12:07:15 +01:00
firefox_print_service.js Change PDFPrintServiceFactory.createPrintService to take a parameter object 2024-02-13 21:28:02 +01:00
firefoxcom.js Break import cycles, in the viewer, for PDFViewerApplication 2024-02-10 23:15:57 +01:00
generic_scripting.js Use a limit, in more places, when splitting strings 2024-02-02 13:10:52 +01:00
genericcom.js Break import cycles, in the viewer, for PDFViewerApplication 2024-02-10 23:15:57 +01:00
genericl10n.js Point the *development mode* fallback locale-path to the l10n-folder (issue 17609, PR 17603 follow-up) 2024-02-01 13:03:36 +01:00
grab_to_pan.js Remove a couple of unused options from the GrabToPan constructor 2023-06-29 13:16:10 +02:00
interfaces.js Break import cycles, in the viewer, for PDFViewerApplication 2024-02-10 23:15:57 +01:00
l10n.js Ensure that GenericL10n works if the locale files cannot be loaded 2024-01-31 14:07:11 +01:00
overlay_manager.js Remove the OverlayManager.unregister method since it's completely unused 2023-06-21 13:13:53 +02:00
password_prompt.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_attachment_viewer.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
pdf_cursor_tools.js Create a GrabToPan-instance lazily in the PDFCursorTools class 2023-06-28 12:43:36 +02:00
pdf_document_properties.js Enable the arrow-body-style ESLint rule 2024-01-21 16:20:55 +01:00
pdf_find_bar.js Tweak the matchCount l10n-args handling slightly (PR 17146 follow-up) 2023-10-24 13:17:02 +02:00
pdf_find_controller.js Enable the arrow-body-style ESLint rule 2024-01-21 16:20:55 +01:00
pdf_find_utils.js [api-minor] Don't normalize the text used in the text layer. 2023-04-17 14:31:23 +02:00
pdf_history.js Use a limit, in more places, when splitting strings 2024-02-02 13:10:52 +01:00
pdf_layer_viewer.js Pause translation when appending the outline/attachment/layer trees to the sidebar 2023-10-25 17:38:02 +02:00
pdf_link_service.js Use shorter arrow functions where possible 2024-01-21 10:13:12 +01:00
pdf_outline_viewer.js Re-factor the blob-URL caching in DownloadManager.openOrDownloadData 2023-10-17 10:18:34 +02:00
pdf_page_view.js Ensure that GenericL10n works if the locale files cannot be loaded 2024-01-31 14:07:11 +01:00
pdf_presentation_mode.js Re-enable editing, if necessary, when exiting PresentationMode (PR 16659 follow-up) 2023-07-11 22:34:20 +02:00
pdf_print_service.js Change PDFPrintServiceFactory.createPrintService to take a parameter object 2024-02-13 21:28:02 +01:00
pdf_rendering_queue.js Limit some PDFRenderingQueue-related code to the GENERIC viewer 2023-05-30 21:24:19 +02:00
pdf_scripting_manager.component.js Use shorter arrow functions where possible 2024-01-21 10:13:12 +01:00
pdf_scripting_manager.js Re-factor how the sandboxBundleSrc option is passed to PDFScriptingManager 2023-12-09 14:29:31 +01:00
pdf_sidebar.js Toggle the visibility of the outlineOptionsContainer, in the sidebar, using only CSS 2023-12-19 10:01:16 +01:00
pdf_single_page_viewer.js Remove the abstract BaseViewer-class 2022-09-08 12:38:17 +02:00
pdf_thumbnail_view.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_thumbnail_viewer.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
pdf_viewer.component.js Ensure that GenericL10n works if the locale files cannot be loaded 2024-01-31 14:07:11 +01:00
pdf_viewer.css Fix unreferenced CSS variables (PR 17533 follow-up) 2024-01-25 09:43:20 +01:00
pdf_viewer.js Ensure that GenericL10n works if the locale files cannot be loaded 2024-01-31 14:07:11 +01:00
pdfjs.js [Editor] Add a color picker with predefined colors for highlighting text (bug 1866434) 2023-12-05 23:27:22 +01:00
preferences.js Add better validation for the "PREFERENCE" kind AppOptions 2024-02-20 18:38:15 +01:00
print_utils.js Handle appending consistently in the xfaLayer regardless of rendering intent (PR 17177 follow-up) 2023-10-26 12:05:33 +02:00
secondary_toolbar.js Remove the internal "secondarytoolbarreset" event and slightly re-factor the code 2023-12-26 11:03:07 +01:00
struct_tree_layer_builder.js Ignore null-chars when using structTree-data in the viewer 2023-08-31 16:29:10 +02:00
stubs-geckoview.js [GeckoView] Avoid bundling the AltTextManager class, since it's unused 2023-09-21 12:51:34 +02:00
text_accessibility.js [Editor] Add the parent tag id (if any) to the serialized editors (bug 1845087) 2023-09-07 18:22:33 +02:00
text_highlighter.js [api-minor] Don't normalize the text used in the text layer. 2023-04-17 14:31:23 +02:00
text_layer_builder.css [Editor] Change the cursors for highlighting (bug 1876588) 2024-01-26 18:17:05 +01:00
text_layer_builder.js Avoid to have the text layer mismatching the rendered text with mismatching locales (bug 1869001) 2024-01-04 19:20:20 +01:00
toolbar-geckoview.js [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
toolbar.js Remove the internal "toolbarreset" event and slightly re-factor the code 2023-12-26 10:57:02 +01:00
ui_utils.js Use shorter arrow functions where possible 2024-01-21 10:13:12 +01:00
view_history.js Add a bit more validation in the ViewHistory constructor 2020-03-21 13:55:06 +01:00
viewer-geckoview.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
viewer-geckoview.html Remove the web-com import map (PR 17588 follow-up) 2024-02-07 16:33:27 +01:00
viewer-geckoview.js Remove the web-com import map (PR 17588 follow-up) 2024-02-07 16:33:27 +01:00
viewer-snippet-chrome-extension.html [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
viewer-snippet-chrome-overlays.html Convert the existing overlays to use <dialog> elements (issue 14698) 2022-03-28 11:36:29 +02:00
viewer-snippet-firefox-extension.html [api-major] Output JavaScript modules in the builds (issue 10317) 2023-10-07 09:31:08 +02:00
viewer-snippet.html [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
viewer.css Toggle the visibility of the outlineOptionsContainer, in the sidebar, using only CSS 2023-12-19 10:01:16 +01:00
viewer.html Merge pull request #17651 from calixteman/add_enableStamp_pref 2024-02-11 18:53:09 +01:00
viewer.js Remove the web-com import map (PR 17588 follow-up) 2024-02-07 16:33:27 +01:00
xfa_layer_builder.css Remove unnecessary alpha-value from CSS rgb colors 2023-10-06 09:50:03 +02:00
xfa_layer_builder.js Handle appending consistently in the xfaLayer regardless of rendering intent (PR 17177 follow-up) 2023-10-26 12:05:33 +02:00