Merge lane/F: service worker / web push (06-01~06-10, F-8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,21 @@ export interface WebPushControlPort {
|
||||
signal?: AbortSignal;
|
||||
}>): Promise<WebPushResult<WebPushReadiness>>;
|
||||
|
||||
/**
|
||||
* 06-06. The session changed without `revoke` (expiry, cleared cookies, a
|
||||
* crash during logout), so the caller cannot name the stored authority. A
|
||||
* fence held by another `fenceGeneration` is rotated to `nextAuthority` as
|
||||
* REVOKED and the association it held is revoked, as `revoke` does. A fence
|
||||
* `nextAuthority`'s generation already holds is left alone and reported as
|
||||
* `inspect` reports it. Call it only with the authority the BFF has just
|
||||
* confirmed for the current session: a tab holding a stale session would
|
||||
* otherwise revoke the current account's association.
|
||||
*/
|
||||
revokeForeign(input: Readonly<{
|
||||
nextAuthority: PushAuthoritySnapshot;
|
||||
signal?: AbortSignal;
|
||||
}>): Promise<WebPushResult<WebPushReadiness>>;
|
||||
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user