Tests that calling pushState or replaceState on a detached frame doesn't crash.