removeCookie
Removes cookie from uri in the desktop WebView cookie store.
uri is used to validate and normalize the cookie origin before delegating to WebView2, WebKitGTK, or WebKit. Removal targets the cookie identified by the structured cookie's name, domain, and path; the value is not used as the identity.
Platform notes:
| Platform | Native operation | Key behavior |
|---|---|---|
| Windows | WebView2 DeleteCookie | Deletes the cookie whose name and domain/path pair match. |
| Linux | WebKitGTK webkit_cookie_manager_delete_cookie | Deletes the matching SoupCookie from WebKitGTK storage. |
| macOS | WKHTTPCookieStore.deleteCookie | Deletes the matching HTTPCookie asynchronously, bridged here as a blocking call. |