Bug 822177 - Don't delete site data for disabled addons. r=bsmedberg

This commit is contained in:
Michael Lopez
2014-12-24 17:50:00 -05:00
parent 16fd93e07b
commit 2524501f27

View File

@@ -1557,6 +1557,10 @@ nsPluginHost::ClearSiteData(nsIPluginTag* plugin, const nsACString& domain,
nsPluginTag* tag = static_cast<nsPluginTag*>(plugin);
if (!tag->IsEnabled()) {
return NS_ERROR_NOT_AVAILABLE;
}
// We only ensure support for clearing Flash site data for now.
// We will also attempt to clear data for any plugin that happens
// to be loaded already.