Merge pull request #843 from erikvold/848180

Fix Bug 848180: fixing ptpb tests and window.isPrivate on Fennec r=@ochameau(cherry picked from commit 214b6737249feee783e05bb060160fde60db833c)