Bug 839746 - global private windows (Fx <=19) are not ignored

This pull request is based of already reviewed #881 and only thing it does addresses issues that @ochameau has pointed out.