fix(settings): align sandbox loading layouts for old and new hosts

This commit is contained in:
Xubin Ren committed 2026-11-08 14:29:46 +08:00
1 parent 5130f42901
commit a666948509
5 files changed
+37 -12

No files matched your search

@@ -45,6 +45,11 @@ const previewSettings: SettingsPayload = {
])),
};
let detailState = "loaded";
if (new URLSearchParams(location.search).has("sandboxSettings")) {
previewSettings.advanced.exec_sandbox_status = {
state: "off", reason: "", launcher: null, revision: "fixture", supported_backend: "bwrap",
};
}
export function installSkeletonPreviewApi() {
// Windows headless Chromium can report denied even after a context permission grant.