Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsICookieConsent Interface Reference

import "nsICookieConsent.idl";

Inheritance diagram for nsICookieConsent:
Inheritance graph
Collaboration diagram for nsICookieConsent:
Collaboration graph

List of all members.

Public Member Functions

nsCookieStatus getConsent (in nsIURI uri, in nsIHttpChannel httpChannel, in boolean isForeign, out nsCookiePolicy policy)

Detailed Description

Definition at line 45 of file nsICookieConsent.idl.

Member Function Documentation


gives a decision on what should be done with a cookie, based on a site's p3p policy and the user's preferences. the policy for the given URI and channel is also returned.

urithe URI to find the policy for
httpChannelthe channel to extract the p3p headers from
isForeigntrue if the cookie originates from a third-party site. this is used to decide the cookie status based on user preferences.
policythe policy for the given URI, or nsICookie::POLICY_UNKNOWN if one cannot be found. valid values are defined in nsICookie.idl.
nsCookieStatus value. valid values are defined in nsICookie.idl.

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