[PALEMOON] Permisions Manager: Added a comment

This commit is contained in:
janekptacijarabaci 2018-04-26 12:52:13 +02:00 committed by Roy Tam
commit 3e639acfef

View file

@ -274,6 +274,10 @@ Site.prototype = {
* Removes all data from the browser corresponding to the site.
*/
forgetSite: function Site_forgetSite() {
// XXX This removes data for an entire domain, rather than just
// an origin. This may produce confusing results, as data will
// be cleared for the http:// as well as the https:// domain
// if you try to forget the https:// site.
ForgetAboutSite.removeDataFromDomain(this.principal.URI.host)
.catch(Cu.reportError);
}