Opened 12 years ago

Closed 12 years ago

#3719 closed defect (duplicate)

0.9: Base array tests fail on IE 6

Reported by: Jared Jurkiewicz Owned by: anonymous
Priority: high Milestone: 0.9
Component: Core Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

PASSED test: testIndexOfFromIndex [object Error] ERROR IN: function testLastIndexOf(t){ var foo = [128, 256, 512]; var bar = ["aaa", "bbb", "aaa", "ccc"]; t.assertTrue(dojo.indexOf([45, 56, 85], 56) == 1); t.assertTrue(dojo.indexOf([Number, String, Date], String) == 1); t.assertTrue(dojo.lastIndexOf(foo, foo[1]) == 1); t.assertTrue(dojo.lastIndexOf(foo, foo[2]) == 2); t.assertTrue(dojo.lastIndexOf(bar, bar[1]) == 1); t.assertTrue(dojo.lastIndexOf(bar, bar[2]) == 2); t.assertTrue(dojo.lastIndexOf(bar, bar[0]) == 2); } FAILED test: testLastIndexOf [object Error] ERROR IN: function testLastIndexOfFromIndex(t){ FIXME: what happens w/ negative indexes? t.assertEqual(1, dojo.lastIndexOf([45, 56, 85], 56, 1)); t.assertEqual(-1, dojo.lastIndexOf([45, 56, 85], 85, 1)); } FAILED test: testLastIndexOfFromIndex PASSED test: testForEach

Change History (1)

comment:1 Changed 12 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

see #3699

Note: See TracTickets for help on using tickets.