[scriptable, uuid(e9fcb9a4-d376-458f-b720-e65e7df593bc)]
interface nsICookie : nsISupports
Constants
P3P status of cookie. Values are STATUS_UNKNOWN -- cookie collected in a previous session and this info no longer available STATUS_ACCEPTED -- cookie was accepted as it STATUS_DOWNGRADED -- cookie was accepted but downgraded to a session cookie STATUS_FLAGGED -- cookie was accepted with a warning being issued to the user STATUS_REJECTED -- cookie was not accepted
const
nsCookieStatus
STATUS_UNKNOWN = 0
const
nsCookieStatus
STATUS_ACCEPTED = 1
const
nsCookieStatus
STATUS_DOWNGRADED = 2
const
nsCookieStatus
STATUS_FLAGGED = 3
const
nsCookieStatus
STATUS_REJECTED = 4
Site's compact policy. Values are POLICY_UNKNOWN -- cookie collected in a previous session and this info no longer available POLICY_NONE -- site did not send a compact policy along with the cookie POLICY_NO_CONSENT -- site collects identfiable information without user involvement POLICY_IMPLICIT_CONSENT -- site collects identifiable information unless user opts out POLICY_EXPLICIT_CONSENT -- site does not collect identifiable information unless user opts in POLICY_NO_II -- site does not collect identifiable information
const
nsCookiePolicy
POLICY_UNKNOWN = 0
const
nsCookiePolicy
POLICY_NONE = 1
const
nsCookiePolicy
POLICY_NO_CONSENT = 2
const
nsCookiePolicy
POLICY_IMPLICIT_CONSENT = 3
const
nsCookiePolicy
POLICY_EXPLICIT_CONSENT = 4
const
nsCookiePolicy
POLICY_NO_II = 5
Attributes
expiration time (local timezone) expressed as number of seconds since Jan 1, 1970
readonly attribute
PRUint64
expires
the host (possibly fully qualified) of the cookie
readonly attribute
AUTF8String
host
true if the cookie is a domain cookie, false otherwise
readonly attribute
boolean
isDomain
true if the cookie was transmitted over ssl, false otherwise
readonly attribute
boolean
isSecure
the name of the cookie
readonly attribute
ACString
name
the path pertaining to the cookie
readonly attribute
AUTF8String
path
readonly attribute
nsCookiePolicy
policy
readonly attribute
nsCookieStatus
status
the cookie value
readonly attribute
ACString
value
Compare to: