Remove pdf.mjs patch

This commit is contained in:
noaione
2025-02-28 07:15:06 +07:00
parent 34b0c8e774
commit 46f6d28fca

View File

@@ -1,37 +0,0 @@
diff --git a/toolkit/components/pdfjs/content/build/pdf.mjs b/toolkit/components/pdfjs/content/build/pdf.mjs
index 9798d4f8f9473eac434ff1a521b3728bea436723..144d42b2830a7d9eb345db18a018cd8741753c3c 100644
--- a/toolkit/components/pdfjs/content/build/pdf.mjs
+++ b/toolkit/components/pdfjs/content/build/pdf.mjs
@@ -22,7 +22,7 @@
/******/ // The require scope
/******/ var __webpack_require__ = {};
-/******/
+/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
@@ -35,12 +35,12 @@
/******/ }
/******/ };
/******/ })();
-/******/
+/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
-/******/
+/******/
/************************************************************************/
var __webpack_exports__ = globalThis.pdfjsLib = {};
@@ -18593,7 +18593,7 @@ class StampEditor extends AnnotationEditor {
AnnotationEditor.initialize(l10n, uiManager);
}
static get supportedTypes() {
- const types = ["apng", "avif", "bmp", "gif", "jpeg", "png", "svg+xml", "webp", "x-icon"];
+ const types = ["apng", "avif", "bmp", "gif", "jpeg", "jxl", "png", "svg+xml", "webp", "x-icon"];
return shadow(this, "supportedTypes", types.map(type => `image/${type}`));
}
static get supportedTypesStr() {