This is pretty interesting. We should figure out if this was done with new APIs or if this is exposed in WKWebView.
Displaying Dialogs It is now possible to switch tabs, navigate, and close a webpage while displaying a JavaScript dialog. Displaying a JavaScript dialog—alert, confirm, or prompt—no longer activates the calling tab. The dialog shown in response to the beforeunload event no longer displays the string returned by the beforeunload event listener. The dialog now always displays, “Are you sure you want to leave this page?” Content shown by the showModalDialog function is modal for the webpage presenting the content. It is not modal for other tabs or for the Safari browser. Sent from Outlook Mobile
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

