Bug 844942 - Let switching to top-level frame work even when current frame is invalid, r=mdas, a=test-only