Patcher: add ability to override function result
And we should change wrapNS sinse we can't use old patches
(part 1 for #31)
Override PrivateBrowsingUtils.isWindowPrivate() (globally!):
return private state of selected tab for calls from chrome://browser/content/downloads/downloads.js and resource://app/modules/DownloadsCommon.jsm
(part 2 for #31)
Try update download button and panel
if selected tab changed from not private to private (and vice versa)
Note: progress indication are buggy
(part 3 for #31)
Add "patchDownloads" preference: hack for downloads may break many things..
(part 4 for #31)
Downloads: nothing to do with browser.download.useToolkitUI == true
(part 5 for #31)
Downloads: handle Tools - Downloads and add support for Firefox 20
(part 6 for #31)