This test reproduces the crash that happens when JavaScript has access to DOMWindow which is disconnected from its Frame. This crash was fixed by http://trac.webkit.org/changeset/49786
To reproduce the crash:
Click the link below, the popup window opens.
Close the popup window.
Wait about 10 seconds (~10, page cache should start deleting pages) and observe the crash.