Changes

Jump to: navigation, search

NPAPI:ClearSiteData

182 bytes added, 21:57, 6 August 2010
Open Issues
* <code>maxAge</code> is the maximum age of data to clear, inclusive, in seconds. If <code>maxAge</code> is <code>0</code>, no data is cleared. If <code>maxAge</code> is the maximum unsigned 64-bit integer, all data is cleared.
= Open Issues =
* Do we need a discovery method?* Should it be possible to clear all types with a single call? In which case the flags should be passed as bit set; this would also allow a forwards-compatible "delete-all"** [dwitte] Yes: flags == 0 should mean "clear everything".* What is the behavior of the 'site' argument? does 'foo.com' clear data for 'foo.com' and all subdomains? Does it work for IP addresses?* If 'site' is NULL or the empty string, does all data get cleared?* Does maxAge == 0 clear data regardless of age? Or maxAge == 2^31 - 1?* 'NPN_ClearPrivacyData' seems like a strange name. 'NPN_ClearSiteData' perhaps?* what's the syntax for an IPv6 address in site? As per RFC 3986 "IP-literal" ([http://greenbytes.de/tech/webdav/rfc3986.html#host.ip])?*What should be the behavior when the plugin is not in memory or not running? Does it need to "clear privacy information" on next invocation? How to make the solution cross-OS?<br>
2
edits

Navigation menu