WebViewPanelCookieManager
Desktop-specific cookie operations backed by the internal native panel cookie store.
This type is available through controller.cookies.impl on desktop/JVM. It exposes mutation operations that are not part of the common CookieManager API because Android and iOS already expose their native managers directly through their own CookieManager.impl types.
Supported structured cookie properties on the desktop native bridge are:
| Key | Meaning |
|---|---|
name | Cookie name. Required and must not be empty. |
value | Cookie value. Required. |
domain | Cookie domain. Defaults to the host from the URI when omitted during mutation. |
path | Cookie path. Defaults to the URI's default cookie path when omitted during mutation. |
expires | Expiration timestamp in milliseconds since Unix epoch. |
httpOnly | Boolean string: true, 1, yes, false, 0, or no. |
secure | Boolean string with the same accepted values as httpOnly. |
session | Boolean string. Defaults to true when expires is absent. |
sameSite | NONE, LAX, or STRICT where supported by the native backend. |
Mutation methods currently require cookie objects returned by this desktop backend. Passing an arbitrary Cookie implementation throws IllegalArgumentException because the native bridge needs the structured property map described above.