Bug 1057481 - Session restore shouldn't use contentWindow (r=ttaubert)