eDataManager.promptSiteDataRemoval(window)) { clearSiteData = false; // Prevent closing the dialog when the data removal wasn't allowed. event.preventDefault(); } } if (clearSiteData) { SiteDataManager.removeSiteData(); } if (clearCache) { SiteDataManager.removeCache(); // If we're not clearing site data, we need to tell the // SiteDataManager to signal that it's updating. if (!clearSiteData) { SiteDataManager.updateSites(); } } }, }; window.addEventListener("load", () => gClearSiteDataDialog.onLoad()); PK