Funky ‘window.alert’ Bug in Firefox 2.0.0.13

By mistake I got’ a very long alert() from a demo site of a JS script, so it was strange that the chrome window of the ‘alert’ box is resized to the height of the window, but it content is somekinda wrapped and continues out of the box. This was not the funny part, but where is my OK button ? (also the “X” button is disabled in the alertboxes in FF as you remember :D )

Funny, try this JavaScript POC:

var str = "";
for(var i=0;i<400;i++) { str += "#"; };
alert(str);

blog comments powered by Disqus