Changes

Jump to: navigation, search

NPAPI:ClearSiteData

No change in size, 16:37, 7 December 2010
no edit summary
#define NPERR_MALFORMED_ORIGIN (NPERR_BASE + 16)
</pre>
 
If site data is in use by an instance of the plugin when <code>NPP_ClearSiteData</code> is called then it is up to the plugin to do the right thing.
= Open Issues =
* Do we need a method for discovering what site data the plugin has? Mozilla and Apple have expressed a strong desire for this.
* 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])?
* 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.
* 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.
Confirm, emeritus
1,680
edits

Navigation menu