(opt_options)
| 268 | }) |
| 269 | |
| 270 | function createCookieSpec(opt_options) { |
| 271 | let spec = { |
| 272 | name: getRandomString(), |
| 273 | value: getRandomString(), |
| 274 | } |
| 275 | if (opt_options) { |
| 276 | spec = Object.assign(spec, opt_options) |
| 277 | } |
| 278 | return spec |
| 279 | } |
| 280 | |
| 281 | function createSameSiteCookieSpec(sameSiteVal, extraProps) { |
| 282 | return { |
no test coverage detected