Reading http://stackoverflow.com/questions/6229301/, it looks like `instanceof window.constructor` could fail if we want this to work for other actual windows (where the constructor is a different instance).

Internally, we've used `(X.window === X && X.self === X)`. Thoughts?