Bug Report: Opening a new browser window does not alert for onbeforeunload event
We open a new browser window (tab) (via target="_blank") with a Skype session running inside the new window so the user can move the window around without interfering with the main browser experience. We have an "onbeforeunload" event handler on the new page to warn the user if they exit the window (close the browser tab) their skype session will be terminated. The pop-up from the IE Metro never shows when SiteKiosk is running.
It DOES show if SiteKiosk is NOT running, but logged on as user SiteKiosk, AND when the page is NOT opened in a new tab (i.e without the target="_blank") when SiteKiosk IS running.
We require the page to be in a new browser window, which will be movable, and for the onbeforeunload event to be process correctly.
Code to launch a new browser window (tab) inside page1.html file:
Code the cause onbeforeunload event to be handled inside page2.html file: