mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 748802 - browser-thumbnails.js uses global private browsing state instead of per-window state. r=ehsan
This commit is contained in:
parent
84dddb8bc4
commit
0b38d95d53
@ -122,8 +122,8 @@ let gBrowserThumbnails = {
|
||||
if (aBrowser != gBrowser.selectedBrowser)
|
||||
return false;
|
||||
|
||||
// Don't capture in private browsing mode.
|
||||
if (gPrivateBrowsingUI.privateBrowsingEnabled)
|
||||
// Don't capture in per-window private browsing mode.
|
||||
if (gPrivateBrowsingUI.privateWindow)
|
||||
return false;
|
||||
|
||||
let doc = aBrowser.contentDocument;
|
||||
|
Loading…
Reference in New Issue
Block a user