Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsICookie2_MOZILLA_1_8_BRANCH Interface Reference

import "nsICookie2.idl";

Inheritance diagram for nsICookie2_MOZILLA_1_8_BRANCH:
Inheritance graph
[legend]
Collaboration diagram for nsICookie2_MOZILLA_1_8_BRANCH:
Collaboration graph
[legend]

List of all members.

Public Attributes

readonly attribute boolean isHttpOnly
 true if the cookie is an http only cookie
readonly attribute AUTF8String rawHost
 the host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie.
readonly attribute boolean isSession
 true if the cookie is a session cookie (note: if true, the expiry time is undefined).
readonly attribute PRInt64 expiry
 the actual expiry time of the cookie (where 0 does not represent a session cookie).
readonly attribute ACString name
 the name of the cookie
readonly attribute ACString value
 the cookie value
readonly attribute boolean isDomain
 true if the cookie is a domain cookie, false otherwise
readonly attribute AUTF8String host
 the host (possibly fully qualified) of the cookie
readonly attribute AUTF8String path
 the path pertaining to the cookie
readonly attribute boolean isSecure
 true if the cookie was transmitted over ssl, false otherwise
readonly attribute PRUint64 expires
 expiration time (local timezone) expressed as number of seconds since Jan 1, 1970
const nsCookieStatus STATUS_UNKNOWN = 0
 P3P status of cookie.
const nsCookieStatus STATUS_ACCEPTED = 1
const nsCookieStatus STATUS_DOWNGRADED = 2
const nsCookieStatus STATUS_FLAGGED = 3
const nsCookieStatus STATUS_REJECTED = 4
readonly attribute nsCookieStatus status
const nsCookiePolicy POLICY_UNKNOWN = 0
 Site's compact policy.
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
readonly attribute nsCookiePolicy policy

Detailed Description

Definition at line 77 of file nsICookie2.idl.


Member Data Documentation

readonly attribute PRUint64 nsICookie::expires [inherited]

expiration time (local timezone) expressed as number of seconds since Jan 1, 1970

Definition at line 88 of file nsICookie.idl.

readonly attribute PRInt64 nsICookie2::expiry [inherited]

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.

Definition at line 72 of file nsICookie2.idl.

readonly attribute AUTF8String nsICookie::host [inherited]

the host (possibly fully qualified) of the cookie

Definition at line 73 of file nsICookie.idl.

readonly attribute boolean nsICookie::isDomain [inherited]

true if the cookie is a domain cookie, false otherwise

Definition at line 68 of file nsICookie.idl.

true if the cookie is an http only cookie

Definition at line 82 of file nsICookie2.idl.

readonly attribute boolean nsICookie::isSecure [inherited]

true if the cookie was transmitted over ssl, false otherwise

Definition at line 83 of file nsICookie.idl.

readonly attribute boolean nsICookie2::isSession [inherited]

true if the cookie is a session cookie (note: if true, the expiry time is undefined).

Definition at line 63 of file nsICookie2.idl.

readonly attribute ACString nsICookie::name [inherited]

the name of the cookie

Definition at line 58 of file nsICookie.idl.

readonly attribute AUTF8String nsICookie::path [inherited]

the path pertaining to the cookie

Definition at line 78 of file nsICookie.idl.

Definition at line 123 of file nsICookie.idl.

Definition at line 121 of file nsICookie.idl.

Definition at line 120 of file nsICookie.idl.

Definition at line 119 of file nsICookie.idl.

Definition at line 122 of file nsICookie.idl.

Definition at line 118 of file nsICookie.idl.

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

Definition at line 117 of file nsICookie.idl.

readonly attribute AUTF8String nsICookie2::rawHost [inherited]

the host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie.

Definition at line 57 of file nsICookie2.idl.

Definition at line 105 of file nsICookie.idl.

Definition at line 100 of file nsICookie.idl.

Definition at line 101 of file nsICookie.idl.

Definition at line 102 of file nsICookie.idl.

Definition at line 103 of file nsICookie.idl.

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

Definition at line 99 of file nsICookie.idl.

readonly attribute ACString nsICookie::value [inherited]

the cookie value

Definition at line 63 of file nsICookie.idl.


The documentation for this interface was generated from the following file: