Bug 744743 - [Page Thumbnails] Don't capture thumbnails in private browsing mode; r=dao

This commit is contained in:
Tim Taubert 2012-04-12 14:43:52 +02:00
parent 6edc79375e
commit edd1900d0f

View File

@ -98,6 +98,9 @@ let gBrowserThumbnails = {
},
_shouldCapture: function Thumbnails_shouldCapture(aBrowser) {
if (gPrivateBrowsingUI.privateBrowsingEnabled)
return false;
let doc = aBrowser.contentDocument;
// FIXME Bug 720575 - Don't capture thumbnails for SVG or XML documents as