gecko-dev/uriloader/base
Shane Hughes 0c6f58f214 Bug 1739348 - Don't open downloads panel after download dialogs. r=NeilDeakin
This is a medium sized patch to legacy download construction. It takes
advantage of the new property added in Bug 1762033 to prevent the
downloads panel from being automatically shown when a download is added
after an interaction with the unknown content type dialog or the file
picker dialog. I chose to not do the same for failed transfers since I
thought it might serve some use, but that might be wrong. I don't know
if there's a way to test the dialog that appears when you download an
executable without going through the same path I adjusted with the
patch. It seems like it's covered but I could be wrong. Also add a test
to cover these changes from the bottom up. Thanks and apologies for my
sloppy C++, though I'm sure I'll learn a lot more from the review 😅

Differential Revision: https://phabricator.services.mozilla.com/D145312
2022-05-06 08:20:39 +00:00
..
moz.build
nsCURILoader.idl
nsDocLoader.cpp Bug 1752413, add nsIWebProgress.documentRequest to let one to access the request for the document, r=nika 2022-02-01 15:46:32 +00:00
nsDocLoader.h
nsIContentHandler.idl
nsIDocumentLoader.idl
nsITransfer.idl Bug 1739348 - Don't open downloads panel after download dialogs. r=NeilDeakin 2022-05-06 08:20:39 +00:00
nsIURIContentListener.idl
nsIURILoader.idl
nsIWebProgress.idl Bug 1752413, add nsIWebProgress.documentRequest to let one to access the request for the document, r=nika 2022-02-01 15:46:32 +00:00
nsIWebProgressListener2.idl
nsIWebProgressListener.idl Bug 1746383 - Set URLBar pageProxyState to invalid for onLocationChange triggered by SessionStore. r=nika,dao 2022-04-12 14:41:06 +00:00
nsURILoader.cpp Bug 1742648, remove special case for downloading pdfs in subframes, r=mtigley 2022-05-03 18:13:52 +00:00
nsURILoader.h