adjust CookieStore.attachToFrame comment

This commit is contained in:
Pierre Tachoire
2026-05-28 09:22:13 +02:00
parent 9c74fed309
commit 3029f8eae2

View File

@@ -51,7 +51,7 @@ pub fn asEventTarget(self: *CookieStore) *EventTarget {
/// Registers this CookieStore as a listener for jar-change notifications on
/// the given frame's session. Must be called once after construction by the
/// owning Window. Idempotent on re-call (replaces the frame).
/// owning Window. Idempotent on re-call.
pub fn attachToFrame(self: *CookieStore, frame: *Frame) !void {
if (self._frame != null) return;
self._frame = frame;