It looks like subject needs to be `this` just to do this assertion. I guess `outerWindowID` should do just fine even if it's can change on document reloads. If `outerWindowID` is reliable and isn't gonna change I'd suggest exposing it externally as `panel.id`.