2
edits
Changes
→Current Proposal
Should it be part of the API? If so, what format?
= Current Proposal =
* Last modified: Nov 19, 2010* AuthorAuthors: Julian Reschke (greenbytes), Dan Witte <<dwitte@mozilla.com>>, Bernhard Bauer <<bauerb@chromium.org>>, Rajesh Gwalani <rgwalani@adobe.com>
The current proposal is to add a new method, providing the new functionality: <pre>NPError NPP_ClearSiteData(
PRUint64 flags, // what type of data to clear
const char* origin, // limit to origin
PRUInt64 maxAge // max. age of information in seconds
);</pre> New [https://developer.mozilla.org/en/NPAPI/Constants#Error_Codes NPError codes]:<pre>// can't clear by time range
#define NPERR_TIMERANGE_NOT_SUPPORTED (NPERR_BASE + 14)
// can't clear by domain/siteorigin#define NPERR_LIMITBYSITE_NOT_SUPPORTED NPERR_LIMITBYORIGIN_NOT_SUPPORTED (NPERR_BASE + 15)// malformed 'domainorigin' string#define NPERR_MALFORMED_DOMAIN NPERR_MALFORMED_ORIGIN (NPERR_BASE + 16)</pre>Semantics:
= Open Issues =