Skip to content

Embedded browser S4:ADR-0029 + 文档收尾(解冻 Browser、已知限制清单) #152

Closed

Description

@bubbleptr

PRD:.scratch/embedded-browser/PRD.md(决策 1–6、Spike 结论段的已知限制)。父 issue #86。

要做的事

  • 新建 docs/adr/0029-embedded-browser-surface.md:宿主形态(主进程 WebContentsView,内置 surface 不等插件协议)、安全边界(命令入口 URL 白名单 + will-navigate 双保险、独立 partition、标注 channel sender 校验)、命令面由 9 条减为 8 条的理由(feat(browser): embedded browser surface (S0 spike + S1 host) #149 正文)、标注层(isolated world + closed Shadow DOM,无 CDP / 无 fiber)、已知限制清单(原生视图滞后一个 IPC 往返;about:blank / file: 不经 will-navigate;占位纯位移不重推 bounds;backgroundColor 只取一次;单分区跨 Project 共享 cookie;敌意页面可删标注宿主;快照期间不可交互、任何弹层触发冻结、约 17ms 空窗;跨源 iframe 不可选;reactName 不可得)。
  • 正式解冻 Browser:改 ADR-0028 第 35 行「Terminal / File / Browser surface 仍受 ADR-0007 冻结」;surface-registry.ts 注释;docs/self-built-ui.md 里「ADR-0029 待补」收掉。
  • 后续小切片各开 issue:errno 映射成人话、renderer CSP、固定宽度站点整页缩放、reactName 经主世界/CDP 获取。

验收标准

  • ADR-0029 落地,索引(若有)更新。
  • 三处冻结引用全部改掉。
  • 文档为中文,放 docs/。

阻塞

Blocked by S3。

Activity

  1. added
    ready-for-agent
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions