Public bug reported: Chrome only supports app-modal JS dialogs, and so does Blink (window.alert blocks the calling process).
Oxide pretends to support tab-modal JS dialogs by having a per-WebContents dispatch queue. However, the behaviour is quite broken: - It's really app-modal in single process because there's only a single RenderThread. - In multi-process it's not really tab-modal - it's render-process modal (ie, only a single tab in a render process can show a JS dialog). So, if 2 tabs live in separate processes then they can display JS dialogs at the same time. But if they're from the same SiteInstance and live in the same process, they can't. We should just change the dispatch of JS dialogs to be application modal instead, so it behaves consistently in all configurations. ** Affects: oxide Importance: Medium Status: Triaged ** Changed in: oxide Importance: Undecided => Medium ** Changed in: oxide Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1568296 Title: Make JS dialogs app modal Status in Oxide: Triaged Bug description: Chrome only supports app-modal JS dialogs, and so does Blink (window.alert blocks the calling process). Oxide pretends to support tab-modal JS dialogs by having a per-WebContents dispatch queue. However, the behaviour is quite broken: - It's really app-modal in single process because there's only a single RenderThread. - In multi-process it's not really tab-modal - it's render-process modal (ie, only a single tab in a render process can show a JS dialog). So, if 2 tabs live in separate processes then they can display JS dialogs at the same time. But if they're from the same SiteInstance and live in the same process, they can't. We should just change the dispatch of JS dialogs to be application modal instead, so it behaves consistently in all configurations. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1568296/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp