From 6894d0a4e3f17ff81cb46279dd760248cc71df9a Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Mon, 30 Nov 2026 15:06:25 +0800 Subject: [PATCH] fix(web): declare the GTK dialog probe and hotkey probe as always allowed in the web shell (#6967) file_dialog_needs_gtk and system_probe_hotkeys are trust = always on the desktop, but the web shell table still declared them Trusted, so commands::tests::web_shell_commands_match_the_desktop_declarations failed on every Rust job on main. --- crates/ide-host/src/web_server/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ide-host/src/web_server/commands.rs b/crates/ide-host/src/web_server/commands.rs index f0b60d8125..e58fefc496 100644 --- a/crates/ide-host/src/web_server/commands.rs +++ b/crates/ide-host/src/web_server/commands.rs @@ -370,7 +370,7 @@ pub fn register(dispatcher: &mut Dispatcher, shell: Arc) { ("window_toggle_zoom", Always), ("window_start_drag", Always), ("window_drag_files", Always), - ("file_dialog_needs_gtk", Trusted), + ("file_dialog_needs_gtk", Always), ("clipboard_has_files", Always), ("clipboard_has_image", Always), ] { @@ -387,7 +387,7 @@ pub fn register(dispatcher: &mut Dispatcher, shell: Arc) { for (empty_list, trust) in [ ("window_group_current", Always), ("system_font_families", Always), - ("system_probe_hotkeys", Trusted), + ("system_probe_hotkeys", Always), ("wsl_distros", Always), ("web_browsers", Always), ("plugin_catalog", Always),