Changes

Jump to: navigation, search

NPAPI:ClearSiteData

24 bytes added, 16:53, 19 November 2010
Current Proposal
= Current Proposal =
* Last modified: May 27Nov 19, 2010* Author: Julian Reschke (greenbytes), Dan Witte <dwitte@mozilla.com>, Bernhard Bauer <bauerb@chromium.org>
The current proposal is to add a new method, providing the new functionality:
<pre>
NPError NPN_ClearSiteDataNPP_ClearSiteData( NPP instance, PRUint64 flags, // what type of data to clear const char* domainorigin, // limit to domainorigin 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 + mm14)
// can't clear by domain/site
#define NPERR_LIMITBYSITE_NOT_SUPPORTED (NPERR_BASE + nn15)
// malformed 'domain' string
#define NPERR_MALFORMED_DOMAIN (NPERR_BASE + ll16)
</pre>
1
edit

Navigation menu