Reasoning seems fine to me. This is reflective of different priorities, I suppose, but my view is that the primary use of alerts are scams and new JS users on sites like codepen. Removing the feature would prevent the abuses, which do far more harm than the few legit use cases do good. Especially since, for the legit uses, there are mostly straightforward fixes. A tiny handful out of the billions of users of the web platform were affected negatively. It's not an optimal tradeoff, but it's pretty close.