← Back to release summary

window.confirm() will not activate parent page

Category
JavaScript
Type
New or changed feature
Status
Removed (Chrome 69)
Intent stage
None

Summary

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.

Standards & signals

View on chromestatus.com