Josh, now that bug 722845 has landed, what needs to be done here?
Instead of QIing for nsIChannel, QI for nsIPrivateBrowsingConsumer which supports IPC channels.
OK, I'll take this when bug 722868 lands. I don't know which one of the 24 git branches that I maintain for bug 722868 was the latest one!
Created attachment 637633 [details] [diff] [review] Patch (v1)
Comment on attachment 637633 [details] [diff] [review] Patch (v1) I prefer folding it all into a |bool inPrivateBrowsing = pbConsumer && pbConsumer->UsePrivateBrowsing()|, but otherwise good.