1 document.write inside onunload handler should not cause crash.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 iframe loaded successfully
7 PASS "Done" is event.data
8 iframe unloaded successfully
9 PASS successfullyParsed is true
12 Test passes if it doesn't crash