From 513ba567aaa61ad88af038918f45da736fd7650c Mon Sep 17 00:00:00 2001 From: hairyfbot <318164157+hairyfbot@users.noreply.github.com> Date: Sat, 21 Nov 2026 14:51:27 +0800 Subject: [PATCH] =?UTF-8?q?docs(plans):=20=E6=94=B6=E7=B4=A7=20#985=20?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=87=8C=E6=8F=92=E4=BB=B6=E4=BE=A7=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E8=B7=AF=E5=BE=84=E7=9A=84=E6=8E=AA=E8=BE=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/plans/2026-11-21-issue-985-docx-pdf-tohex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plans/2026-11-21-issue-985-docx-pdf-tohex.md b/docs/plans/2026-11-21-issue-985-docx-pdf-tohex.md index 675694cd..f18e965e 100644 --- a/docs/plans/2026-11-21-issue-985-docx-pdf-tohex.md +++ b/docs/plans/2026-11-21-issue-985-docx-pdf-tohex.md @@ -29,7 +29,7 @@ ## 4. 处置 -- **本仓库不打补丁**:docx/pdf 由宿主预览拥有,插件侧没有渲染路径;改 DSH 源码是仓库硬约束禁止的;给全局 `Uint8Array.prototype` 打 polyfill 属于越界(红线「不写运行时兼容层」),而且会把宿主的问题藏起来。 +- **本仓库不打补丁**:docx/pdf 由宿主预览拥有,插件侧没有 docx 渲染路径,也没有能替换宿主 pdf.js 的入口;改 DSH 源码是仓库硬约束禁止的;给全局 `Uint8Array.prototype` 打 polyfill 属于越界(红线「不写运行时兼容层」),而且会把宿主的问题藏起来。 - **宿主侧修法(转上游,二选一)**:给 pdf.js 的运行环境补 `Uint8Array.prototype.toHex`(pdf.js 官方不提供 polyfill),或在文档与错误文案里写清浏览器基线。 - **reporter 侧**:把浏览器升到 Chrome/Edge ≥140、Firefox ≥133、Safari ≥18.2 后重试。