BUG ID: 27481 onbeforeunload not called at window close + frame or iframe focused

STEPS TO TEST:

1. Close this browser window while the inner frame has focus.

TEST PASS: After the close button is clicked, you should see a dialog that reads:

    Are you sure you want to navigate away from this page?

    onBeforeUnloadHandler return string is displayed here.

    Press OK to continue or Cancel to stay on the current page.

TEST FAIL: No dialog (as described above) when closing the browser window.

Close this browser window.