Cookies icon indicating copy to clipboard operation
Cookies copied to clipboard

Fail on not-set cookies?

Open vemv-kantox opened this issue 9 years ago • 0 comments

If I am in mydomain.com and attempt to Cookies.set('foo', 'bar', {domain: 'ANOTHERdomain.com'}), nothing will happen, as I understand it.

In other words, the write silently fails. Wouldn't it be good to do some sanity checks regarding secure/domain/path options for ensuring .set always does what we believe to?

vemv-kantox avatar Sep 13 '15 16:09 vemv-kantox