DOMNODES.ORG - APRIL 2009
Internet Explorer 8 crashes on querySelectorAll?
In IE8, Microsoft Internet Explorer 8, a new and convenient method has been introduced by the name ‘querySelectorAll’ By using this method you can find DOM elements based on CSS class names. Useful? Oh yeah, this could be very useful. But there seems to be an serious problem. Please take a look.
We call the document.querySelectorAll. As result we get a so called static Node List. I have no idea what a static Node List is, but I guess it is a kind of object. Or is it an array? For instance this static Node List has a length property. So it is some native thing. Half Array , half Object.
Now we try to do a little loop through the elements of this node list. That is all. The browser crashes instantly. Or to be more correct: the tab pane crashes. The browser doesn´t crash. This seems a serious error. I don´t know how serious. Is it only an annoying feature or something more serious?
back to http://www.domnodes.org