This test ensures navigation is forbidden while beforeunload event is being fired. You should see PASS 1/2 and PASS 2/2 below:
PASS 1/2
--------
Frame: '<!--frame1-->'
PASS: 2/2