Skip to content

Commit

Permalink
Add essential and nonessential to set-cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Jul 7, 2024
1 parent 966a233 commit 702bc22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3791,6 +3791,7 @@ function setCookie(
'necessary', 'required',
'approved', 'disapproved',
'hide', 'hidden',
'essential', 'nonessential',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);
Expand Down

0 comments on commit 702bc22

Please sign in to comment.