Return persistent cookie expiration through the existing RPC contract

This commit is contained in:
Levi committed 2026-09-15 00:56:50 +08:00
1 parent 119fad9a94
commit 311e002e55
1 file changed
+2
@@ -467,6 +467,8 @@ class WebViewRpcPageSession {
'path': cookie.path ?? '/',
'secure': cookie.isSecure,
'httpOnly': cookie.isHttpOnly,
if (cookie.expiresDate != null)
'expires': DateTime.fromMillisecondsSinceEpoch(cookie.expiresDate!, isUtc: true).toIso8601String(),
};
})
.toList(growable: false);