nit: Is this `&& !isGlobalPBSupported` condition really usefull?
Can isWindowPrivate() return true on global private browsing windows?