Browsers restrict the domains for which cookies can be set, to avoid "supercookies" being set for e.g. "co.uk", which would allow sites to track users across multiple domains owned by different entities.
====Local Storage Objects====
For reasons identical to cookies, browsers restrict the domains for which Local Storage Objects (LSOs) can be set to domains.
====document.domain====