window.confirm() will not activate parent page (removed)

If a document in a background tab calls window.confirm() then the call to confirm() will return immediately with false, and no dialog will be shown to the user. If the tab is active, then the call will show a dialog. Specifically, this removes the ability to use window.confirm() to bring a tab to the front against the user’s will.


This shipped in Safari 9.1 and Firefox 44.

Status in Chromium


Removed (tracking bug) in:

  • Chrome for desktop release 69

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • Shipped
  • Shipped
  • No signals


Last updated on 2018-06-08