Cookie tests
As tests use redirects which set cookies, they must be followed from the URLs listed here. Accessing the end URLs directly makes the results invalid.
Positive functionality
- Standard Cookie (sent)
- Standard Cookie 2 (sent)
Needs cookie 2
- Expires/Delete (set, then old expiry set)
- Path (sent to correct path, not to parent folder
- Secure - unavailable, will be made available with the setup of a secure server
- Max Size (at least 4096 bytes allowed)
- Max Number Per Server (at least 20 allowed)
- Update (set, then change value)
- Header/Javascript equivalence (set, check header == JS, change through JS, check header == JS again, using cookie 2)
Needs JavaScript
- HttpOnly (script cannot access)
Needs JavaScript
- Encoding (UTF-8 in cookies)
- Domain (only sent to proper domain)
- Persistent (through restarts)
Needs restart
- Purge old (set a bunch, reload the first, set a bunch more and verify that the first cookie was not the first to be purged - this is optional for implementors)
- Overwriting (set the same cookies in a subdirectory and outside)
- Order (cookies with more specific paths sent first)
- HttpOnly & XHR (XHR cannot access)
Needs JavaScript
Cookie preferences
- Disable cookies
Needs UI
- Site Specific Preferences
Needs UI
Cookie 2 fields
- Path
Needs cookie 2
- Domain
Needs cookie 2
- Max-Age
Needs cookie 2
- Discard
Needs cookie 2 and restart
- Comment and CommentURL
Needs cokie 2 and UI
- Port
Needs cookie 2
Error handling and extended tests
- Expires
Needs restart
- Path
- Version
Needs cookie 2
- Domain
- Max-Age
- Cookie 2 Attribute Return
Needs cookie 2
- Port
Needs cookie 2
- Other
- Other for cookie 2 attributes
Needs cookie 2
- Quoting
- Quoting with multiple cookies
Needs cookie 2
Bug-compatibility
- $-Cookies (Regular)
Might need deletion of all cookies first
- $-Cookies (In presence of cookie 2 cookies)
Needs cookie 2 and deletion of all cookies first
- Cookies with spaces
- Multiple lines per header line