Skip to content

Comment on Google is considering removing alert()

Comments

No. They are not. They are considering disabling it for cross-origin alerts from iframes.

https://twitter.com/estark37/status/1422694845076762629?s=21

Everything else is speculation. It may even be likely speculation! But it is speculation nonetheless.

It would be speculation to say "Google is removing alert()"

It is not speculation to say "Google is considering removing alert()". Multiple engineers from Chrome have confirmed on Twitter that they have an eventual goal of removing alert() at some point in the future (or making it non-blocking and removing prompt/confirm, which is the same thing). See https://twitr.gq/domenic/status/1422647331804037120 as one example.

Maybe it won't happen! There's a lot of time for feedback. But it is accurate to say that Google is considering it.

Also as a small sidenote, they are not considering removing alert() for cross-origin iframes. They are removing it for cross-origin iframes and have very temporarily walked the changes back in order to give devs more time to prepare. Short of some kind of massive blowback that forces the devs to change their mind, Chrome's decision to remove alert() from cross-origin iframes has already been finalized.

Yes they are, and within a few months, Google will continue fucking over the web. They are explicitly saying there will be breakage because "wah wah it's on the main thread".

https://twitter.com/estark37/status/1422694855390629893

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.