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: Crashes on Safari 4.0.3

Crash me!