### Valid cookies:

### Invalid cookies (the browser should reject these):

The Domain attribute does not domain-match this page
The cookie is HttpOnly thus cannot be set via JavaScript
The cookie expired in the past
The cookie expired in the past
The cookie is too large

### Unretrievable cookies (the browser should accept these but not display them):

The Path attribute does not path-match this page
The cookie is Secure thus cannot be viewed by a file:// page

    document.cookie =