Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#8394 closed defect (fixed)

IE 8: acme query for result with no matches has error

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.3
Component: Core Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:


Doing dojo.query(".something") where there are no nodes with a "something" class fails in IE 8 RC1. The failure seems to be in the _zip() function accessing arr[0].

This causes some tests in html_element.html to fail.

Not sure why this does not fail in the query unit tests though. I added a similar test and did not get an error.

Have a fix that I'll commit shortly.

Change History (2)

comment:1 Changed 13 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [16304]) Fixes #8394, odd query issue in IE8, fixes tests._base.html_element tests in IE 8. \!strict

comment:2 Changed 13 years ago by James Burke

(In [16305]) Refs #8394, another query test for the weird case, but seems to pass in the query doh tests even before the 8394 fix.

Note: See TracTickets for help on using tickets.