Bug 871374 - contentWindow check for OOP apps