This test checks for a regression against rdar://problem/3572585: window.open fails if name param = the name of a window just closed in same function.

If the test passes, you will see a "PASS" message open in a new window.