lib/web/cookies/constants.js
raw| 1 | 'use strict' |
| 2 | |
| 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size |
| 4 | const maxAttributeValueSize = 1024 |
| 5 | |
| 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size |
| 7 | const maxNameValuePairSize = 4096 |
| 8 | |
| 9 | module.exports = { |
| 10 | maxAttributeValueSize, |
| 11 | maxNameValuePairSize |
| 12 | } |