Add essential and nonessential to set-cookie (#3919) · gorhill/uBlock@37d31a8 (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3791,6 +3791,7 @@ function setCookie( | ||
| 3791 | 3791 | 'necessary', 'required', |
| 3792 | 3792 | 'approved', 'disapproved', |
| 3793 | 3793 | 'hide', 'hidden', |
| 3794 | +'essential', 'nonessential', | |
| 3794 | 3795 | ]; |
| 3795 | 3796 | const normalized = value.toLowerCase(); |
| 3796 | 3797 | const match = /^("?)(.+)\1$/.exec(normalized); |