First-party cookie round trip
The script sets a short-lived SameSite=Lax cookie on this origin, reads its value and deletes it. Because cookie assignment has no success return, write acceptance is verified through the readback rather than assumed from navigator.cookieEnabled.
Local and session storage
Each storage API is tested independently. A successful write is followed by an exact value check, removal and an absence check. The test never calls clear() or deletes unrelated keys.
IndexedDB transaction
The test creates a temporary database, commits a write transaction, reads the marker in a separate transaction, closes the database and requests deletion. Timeouts and blocked cleanup are reported rather than hidden.
Operation and cleanup results
Write, read and cleanup are shown individually. Available means all stages completed. A policy rejection is labelled blocked when the API reports it; an unexplained mismatch is not attributed to a specific setting.