Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#5256 closed defect (duplicate)

dijit.Delcaration tests break in 1.0.1 on IE 6.

Reported by: Jared Jurkiewicz Owned by:
Priority: high Milestone: 1.0.2
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

dijit.Delcaration tests break in 1.0.1 on IE 6.

When updating an internal application to 1.0.1, I found my app breaking with an error on IE: 'Object Doesn't Support this Property or Method.' My internal app only uses a few dojo and dijit classes, so I went through each one's tests to see which one was dying. Turns out to be:

dijit/tests/tests_Declaration.html

Loading that file in FireFox? works fine. Loading it in IE 6 dies with an error of: 'Object doesn't support this property or method.'

So, that appears to be the culprit.

Attachments (1)

dijit.Declaration_20071128.patch (534 bytes) - added by Jared Jurkiewicz 12 years ago.
Found the problem.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by Jared Jurkiewicz

Also breaks on IE 7. Also seen in the nightlies.

comment:2 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #5243.

Changed 12 years ago by Jared Jurkiewicz

Found the problem.

comment:3 Changed 12 years ago by Jared Jurkiewicz

The problem was a FFism. used array.forEach() instead of dojo.forEach. array.forEach only works on FF.

One line fix. Test case now works.

Note: See TracTickets for help on using tickets.