Skip to main content

handle_host_browser_popup_window

Function handle_host_browser_popup_window 

Source
pub(crate) async fn handle_host_browser_popup_window(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<Value>,
) -> impl IntoResponse
Expand description

POST /api/v1/host/browser_popup_window — the host created, navigated or closed a popup window (a native window a browser pane’s page opened; SPEC_BROWSER_PANE_NATIVE_POPUPS_AGENT_DRIVEN_2026_10_08.md §4). Body {event: "opened"|"navigated"|"closed", popup, opener, url}. Only the host can call it. The window’s owner is the opener’s, from srv’s own record; the opener’s popup-windows strip is kept current.