Skip to content

Commit bb807b3

Browse files
committed
add missing sameSite and value
1 parent 73d256f commit bb807b3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

global/index.d.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,15 +434,17 @@ declare namespace browser.cookies {
434434
firstPartyDomain?: string;
435435
}): Promise<Cookie[]>;
436436
function set(details: {
437-
url: string;
438-
name?: string;
439437
domain?: string;
438+
expirationDate?: number;
439+
firstPartyDomain?: string;
440+
httpOnly?: boolean;
441+
name?: string;
440442
path?: string;
443+
sameSite?: SameSiteStatus;
441444
secure?: boolean;
442-
httpOnly?: boolean;
443-
expirationDate?: number;
444445
storeId?: string;
445-
firstPartyDomain?: string;
446+
url: string;
447+
value?: string;
446448
}): Promise<Cookie>;
447449
function remove(details: {
448450
url: string;

0 commit comments

Comments
 (0)