Cookies
Cookies copied to clipboard
Fail on not-set cookies?
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?