Bug 695143 - Implement viewFor(window) support.