gecko-dev/toolkit/components/downloads
Greg Stoll bf998e7942 Bug 1973043 - if download was blocked on exit, remove it from the downloads list r=Gijs
If the DLP agent responds with WARN for a file, and the user quits Firefox
(after a confirmation dialog), we treat that as a block. Previously we
were just reporting that to the agent and deleting the file on disk. But
for safebrowsing, downloads that were blocked don't persist after a browser
restart, so we should do that too for DLP ones.

So we just delete the download, which includes a call to respond to the
DLP agent and finalize the download, but also removes it from the relevant
lists.

Differential Revision: https://phabricator.services.mozilla.com/D255212
2025-07-01 15:10:05 +00:00
..
test Bug 1971751 - update tests that misuse Assert.ok after no-comparison-or-assignment-inside-ok update, r=frontend-codestyle-reviewers,webdriver-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,sessionstore-reviewers,tabbrowser-reviewers,places-reviewers,profiler-reviewers,omc-reviewers,migration-reviewers,home-newtab-reviewers,webcompat-reviewers,urlbar-reviewers,permissions-reviewers,firefox-ai-ml-reviewers,profiles-reviewers,robwu,julienw,bytesized,sthompson,valentin,jhirsch,markh,twisniewski,Standard8,dimi,nbarrett,mconley,timhuang 2025-06-26 10:33:09 +00:00
components.conf
DownloadCore.sys.mjs Revert "Bug 1925772 - Keep a separate DownloadsTaskbar for private browsing windows. r=Gijs,nrishel" for causing bc failures @browser_pdfjs_preview.js. 2025-06-30 23:56:45 +00:00
DownloadHistory.sys.mjs Bug 1972786 - show various DLP agent errors for download operations r=dlp-reviewers,fluent-reviewers,handyman,bolsson 2025-06-25 02:03:23 +00:00
DownloadIntegration.sys.mjs Bug 1973043 - if download was blocked on exit, remove it from the downloads list r=Gijs 2025-07-01 15:10:05 +00:00
DownloadLegacy.sys.mjs
DownloadList.sys.mjs Bug 1562921 - Track whether completed downloads are part of a running batch r=Gijs 2025-06-02 09:42:27 +00:00
DownloadPaths.sys.mjs
DownloadPlatform.cpp
DownloadPlatform.h
Downloads.sys.mjs Bug 1838053 - Add pref which allows users to choose to save Screenshots to the OS screenshots directory. r=devtools-reviewers,niklas 2025-06-10 19:21:39 +00:00
DownloadStore.sys.mjs
DownloadUIHelper.sys.mjs
metrics.yaml
moz.build
mozIDownloadPlatform.idl