Skip to content

Commit

Permalink
Add essential and nonessential to set-cookie (#3919)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr authored Jul 7, 2024
1 parent 966a233 commit 37d31a8
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 37d31a8

Please sign in to comment.