NPAPI:ClearSiteData: Difference between revisions

Line 102: Line 102:


= Current Proposal =
= Current Proposal =
* Last modified: April 16, 2010
* Author: Julian Reschke (greenbytes)
The current proposal is to add a new method, providing the new functionality:
<pre>
NPError NPN_ClearPrivacyData(
  NPP instance,
  PRUint64 flags,    // what type of data to clear
  const char* domain, // limit to domain
  int maxAge          // max. age of information in seconds
);
</pre>
New [https://developer.mozilla.org/en/NPAPI/Constants#Error_Codes NPError codes]:
<pre>
// HTTP stack does not support method
#define NPERR_TIMERANGE_NOT_SUPPORTED (NPERR_BASE + nn)
#define NPERR_DOMAIN_NOT_SUPPORTED (NPERR_BASE + nn)
</pre>
88

edits