Opened 12 years ago

Closed 12 years ago

#3761 closed defect (fixed)

0.9: All tests._base.array now fail on Safari B3 (Windows)

Reported by: Jared Jurkiewicz Owned by: Ben Lowery
Priority: high Milestone: 0.9
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

0.9: All tests._base.array now fail on Safari B3 (Windows)

GROUP "tests._base.array" has 13 tests to run

_AssertFailure: doh._AssertFailure: assertTrue('false') failed: assertTrue('false') failed

doh._AssertFailure: assertTrue('false') failed

ERROR IN:

function testIndexOf(t)

{

var foo = [128,256,512]; var bar = ["aaa","bbb","ccc"]; t.assertTrue(dojo.indexOf([45,56,85], 56) == 1); t.assertTrue(dojo.indexOf([Number,String,Date], String) == 1); t.assertTrue(dojo.indexOf(foo, foo[1]) == 1); t.assertTrue(dojo.indexOf(foo, foo[2]) == 2); t.assertTrue(dojo.indexOf(bar, bar[1]) == 1); t.assertTrue(dojo.indexOf(bar, bar[2]) == 2); foo.push(bar); t.assertTrue(dojo.indexOf(foo, bar) == 3);

}

FAILED test: testIndexOf

_AssertFailure: doh._AssertFailure: assertEqual() failed: expected1| but got |undefined|: assertEqual() failed: expected1| but got |undefined|
doh._AssertFailure: assertEqual() failed: expected1| but got |undefined|

ERROR IN:

function testIndexOfFromIndex(t)

{

var foo = [128,256,512]; var bar = ["aaa","bbb","ccc"]; t.assertEqual(-1, dojo.indexOf([45,56,85], 56, 2)); t.assertEqual(1, dojo.indexOf([45,56,85], 56, 1));

}

FAILED test: testIndexOfFromIndex

_AssertFailure: doh._AssertFailure: assertTrue('false') failed: assertTrue('false') failed

doh._AssertFailure: assertTrue('false') failed

ERROR IN:

function testLastIndexOf(t)

{

var foo = [128,256,512];

This in turn breaks NodeList?, etc.

Change History (3)

comment:1 Changed 12 years ago by Adam Peller

Owner: changed from anonymous to Ben Lowery

comment:2 Changed 12 years ago by Adam Peller

dup of #3769?

comment:3 Changed 12 years ago by dante

Resolution: fixed
Status: newclosed

fixed in [9675]

Note: See TracTickets for help on using tickets.