Main cookie object interface for use by consumers: extends nsICookie, a frozen interface for external access of cookie objects
[scriptable, uuid(d3493503-7854-46ed-8284-8af54a847efb)]
interface nsICookie2 : nsICookie
Attributes
the actual expiry time of the cookie (where 0 does not represent a session cookie). not to be confused with |expires|, an attribute on nsICookie.
readonly attribute
PRInt64
expiry
true if the cookie is a session cookie (note: if true, the expiry time is undefined).
readonly attribute
boolean
isSession
the host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie.
readonly attribute
AUTF8String
rawHost
Compare to: