mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
0c6f58f214
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 |
||
---|---|---|
.. | ||
moz.build | ||
nsCURILoader.idl | ||
nsDocLoader.cpp | ||
nsDocLoader.h | ||
nsIContentHandler.idl | ||
nsIDocumentLoader.idl | ||
nsITransfer.idl | ||
nsIURIContentListener.idl | ||
nsIURILoader.idl | ||
nsIWebProgress.idl | ||
nsIWebProgressListener2.idl | ||
nsIWebProgressListener.idl | ||
nsURILoader.cpp | ||
nsURILoader.h |