Originally Posted by Airblader
In any case, at least being part of HTML5 strongly suggests that alert is indeed not a DOM method.
it was around, un-spec'd, before HTML5
formalized it. it most certainly is a dom method, the link i posted contains the fragment "dom-alert", and that's in an address pointing to a W3 spec. it doesn't get much more official than that. mozilla refers to the HTML5 spec in its mdn page on alert()
BROWSER STATS [% share]
(2013/10/31) IE7:0.5, IE8:8.6, IE9:5.3, IE10:12.3, FF:17.7, CH:41.8, SF:8.1, MOBILE:20.4