[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-60.4.0esr-8.5-1] Bug 1504159 - use TYPE_SAVEAS_DOWNLOAD for data saved through nsIWebBrowserPersist, r=jkt



commit 23d8a9b2966155118ab88ff001771082694fcc40
Author: Gijs Kruitbosch <gijskruitbosch@xxxxxxxxx>
Date:   Fri Nov 9 10:53:40 2018 +0000

    Bug 1504159 - use TYPE_SAVEAS_DOWNLOAD for data saved through nsIWebBrowserPersist, r=jkt
    
    Differential Revision: https://phabricator.services.mozilla.com/D11411
    
    --HG--
    extra : moz-landing-system : lando
---
 dom/webbrowserpersist/nsWebBrowserPersist.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dom/webbrowserpersist/nsWebBrowserPersist.cpp b/dom/webbrowserpersist/nsWebBrowserPersist.cpp
index 97650a4b42a0..9466a1969855 100644
--- a/dom/webbrowserpersist/nsWebBrowserPersist.cpp
+++ b/dom/webbrowserpersist/nsWebBrowserPersist.cpp
@@ -1393,7 +1393,7 @@ nsresult nsWebBrowserPersist::SaveURIInternal(
                        aURI,
                        aTriggeringPrincipal,
                        nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
-                       nsIContentPolicy::TYPE_OTHER,
+                       nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD,
                        nullptr,  // aPerformanceStorage
                        nullptr,  // aLoadGroup
                        static_cast<nsIInterfaceRequestor*>(this),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits