NPAPI:ClearSiteData: Difference between revisions

Line 56: Line 56:
= Open Issues  =
= Open Issues  =


* Make sure this API is available when no instances exist.
* Do we need a method for discovering what site data the plugin has? Mozilla and Apple have expressed a strong desire for this.
* Do we need a discovery method?
* What is the syntax for an IPv6 address in site? As per RFC 3986 "IP-literal" ([http://greenbytes.de/tech/webdav/rfc3986.html#host.ip])?
* What is the syntax for an IPv6 address in site? As per RFC 3986 "IP-literal" ([http://greenbytes.de/tech/webdav/rfc3986.html#host.ip])?
* Make sure this API allows for a "forget about this site" UI, which Firefox has.
* Document what should happen if NPP_ClearSiteData is called while there is a plugin instance that is actively using some of the targeted local data.
* Do we need a method for discovering what site data the plugin has? Mozilla and Apple have expressed a strong desire for this.
* If NPP_ClearSiteData is called while there is a plug-in instance that is actively using some of the targeted local data, what should happen?
* What should be returned if a plugin does not support a requested type of data. What if it does not exist? What if clearing that data is not possible or simply not supported for any reason (data remains)?
* What should be returned if a plugin does not support a requested type of data. What if it does not exist? What if clearing that data is not possible or simply not supported for any reason (data remains)?
* Make sure the requirements for parsing the origin argument are not too much of a burden for plugin developers.
* Make sure the requirements for parsing the origin argument are not too much of a burden for plugin developers.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits