Opened 7 years ago

Closed 7 years ago

#15626 closed defect (invalid)

TypeError bug in query.js

Reported by: Pharaoh Owned by:
Priority: undecided Milestone: tbd
Component: Core Version: 1.7.3
Keywords: Cc:
Blocked By: Blocking:

Description

In file query.js, line 182,

182: var nodeArray = (array && "length" in array) ? array : arguments;

Chrome 20 gives the following :

Uncaught TypeError: Cannot use 'in' operator to search for 'length' in ie

Here is the complete stack trace :

Uncaught TypeError: Cannot use 'in' operator to search for 'length' in ie query.js:182
NodeList                                                                  query.js:182
(anonymous function)                                                      main.js:94
dojo.ready.dojo.addOnLoad.callback                                        ready.js:106
onLoad                                                                    ready.js:37
requestCompleteSignal                                                     ready.js:55
handleDomReady                                                            ready.js:26
detectReady                                                               domReady.js:22

Change History (3)

comment:1 Changed 7 years ago by Pharaoh

Even though I marked the version as 1.7.3, it the bug was also present in 1.7.2

comment:2 Changed 7 years ago by Pharaoh

It seems that it was my mistake. My require ordering was incorrect, which led me to using the wrong function under the wrong name. You many close this bug.

comment:3 Changed 7 years ago by dante

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.