web: «Не удалось открыть PDF» в Яндекс Браузере — pdf.js требует Uint8Array.prototype.toHex #90

Closed
opened 2026-10-09 18:38:26 +03:00 by aep · 1 comment
Owner

Копия исправления arm-web в web/ (контур разворачивается из arm-core/web).

Причина: build/pdf.worker.mjs pdfjs-dist 5.7 вызывает Uint8Array.prototype.toHex (Chromium 140+), Яндекс Браузер — старше. PdfPages переводится на pdfjs-dist/legacy/build (модуль и воркер) + регрессионный тест.

Копия исправления arm-web в web/ (контур разворачивается из arm-core/web). Причина: build/pdf.worker.mjs pdfjs-dist 5.7 вызывает Uint8Array.prototype.toHex (Chromium 140+), Яндекс Браузер — старше. PdfPages переводится на pdfjs-dist/legacy/build (модуль и воркер) + регрессионный тест.
aep closed this issue 2026-10-09 20:43:14 +03:00
Author
Owner

Исправлено в PR #91 (коммит ca6f2b7, main). Источник — arm-web PR #23; follow-up — arm-ka-docs #89.

Исправлено в PR #91 (коммит ca6f2b7, main). Источник — arm-web PR #23; follow-up — arm-ka-docs #89.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RSHB/arm-core#90
No description provided.