Opened 11 years ago

Closed 11 years ago

#8747 closed defect (fixed)

Core tests fail on FF3.1b2: ../../dojo/tests/behavior.html::t::topics

Reported by: Chris Mitchell Owned by: James Burke
Priority: high Milestone: 1.3
Component: Core Version: 1.3.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

The behavior topics test case failed running nightly tests on FF3.1b2. Tests were run on OS/X, but may also fail on Win/Linux?

Change History (8)

comment:1 Changed 11 years ago by Chris Mitchell

_AssertFailure: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/dojo.js:131 doh._AssertFailure: assertEqual() failed:

expected 4 but got 2

doh._AssertFailure

ERROR IN:

(function topics(t) {var d = new (doh.Deferred);t.is(0, topicCount);dojo.behavior.add({'.foo': "/foo"});dojo.behavior.apply();t.is(2, topicCount);dojo.behavior.add({'.foo': {onfocus: "/foo"}});dojo.behavior.apply();t.is(2, topicCount);dojo.byId("blah").focus();dojo.byId("blah").blur();dojo.byId("blah").focus();setTimeout(function () {try {t.is(4, topicCount);d.callback(true);} catch (e) {d.errback(e);}}, 10);return d;})

FAILED test: ../../dojo/tests/behavior.html::t::topics 4 ms

comment:2 Changed 11 years ago by Adam Peller

Owner: changed from anonymous to alex

comment:3 Changed 11 years ago by James Burke

Milestone: tbd1.3
Owner: changed from alex to James Burke

Just ran the full test suite for Dojo Core on Firefox 3.1b2 Windows (rv: 1.9.1b2, Gecko/20081201) and the behavior test passed. I was using [16810] of dojo trunk. There was an error in dojo.anim, but want to do more tests, try the tests on OS X.

comment:4 Changed 11 years ago by ferz

GROUP "tests.behavior" has 1 test to run

4 tests to run in 1 groups ------------------------------------------------------------ GROUP "t" has 4 tests to run PASSED test: ../../dojo/tests/behavior.html::t::add 1 ms PASSED test: ../../dojo/tests/behavior.html::t::apply 5 ms PASSED test: ../../dojo/tests/behavior.html::t::reapply 2 ms

_AssertFailure: http://download.dojotoolkit.org/release-1.3.0rc1/dojo-release-1.3.0rc1/dojo/dojo.js:131 doh._AssertFailure: assertEqual() failed:

expected 4 but got 2

doh._AssertFailure

ERROR IN:

(function topics(t) {var d = new (doh.Deferred);t.is(0, topicCount);dojo.behavior.add({'.foo': "/foo"});dojo.behavior.apply();t.is(2, topicCount);dojo.behavior.add({'.foo': {onfocus: "/foo"}});dojo.behavior.apply();t.is(2, topicCount);dojo.byId("blah").focus();dojo.byId("blah").blur();dojo.byId("blah").focus();setTimeout(function () {try {t.is(4, topicCount);d.callback(true);} catch (e) {d.errback(e);}}, 10);return d;})

FAILED test: ../../dojo/tests/behavior.html::t::topics 15 ms PASSED test: ../../dojo/tests/behavior.html 0 ms

Mozilla/5.0 (X11; U; DragonFly? i386; en-US; rv:1.9.0.6) Gecko/2009030909 Minefield/3.0.6

comment:5 Changed 11 years ago by ferz

It fails also on 1.3.0b3 on ff3.0.6 on dragonflybsd 2.1:

GROUP "tests.behavior" has 1 test to run

4 tests to run in 1 groups ------------------------------------------------------------ GROUP "t" has 4 tests to run PASSED test: ../../dojo/tests/behavior.html::t::add 0 ms PASSED test: ../../dojo/tests/behavior.html::t::apply 32 ms PASSED test: ../../dojo/tests/behavior.html::t::reapply 2 ms

_AssertFailure: http://sfoster.dojotoolkit.org/release/1.3.0b3/dojo/dojo.js:131 doh._AssertFailure: assertEqual() failed:

expected 4 but got 2

doh._AssertFailure

ERROR IN:

(function topics(t) {var d = new (doh.Deferred);t.is(0, topicCount);dojo.behavior.add({'.foo': "/foo"});dojo.behavior.apply();t.is(2, topicCount);dojo.behavior.add({'.foo': {onfocus: "/foo"}});dojo.behavior.apply();t.is(2, topicCount);dojo.byId("blah").focus();dojo.byId("blah").blur();dojo.byId("blah").focus();setTimeout(function () {try {t.is(4, topicCount);d.callback(true);} catch (e) {d.errback(e);}}, 10);return d;})

FAILED test: ../../dojo/tests/behavior.html::t::topics 13 ms PASSED test: ../../dojo/tests/behavior.html 0 ms

comment:6 Changed 11 years ago by bill

Milestone: 1.31.4

1.3rc1 has been release; bumping remaining tickets to 1.4 (except for documentation/testing tickets)

comment:7 Changed 11 years ago by Adam Peller

see also #8942

comment:8 Changed 11 years ago by James Burke

Milestone: 1.41.3
Resolution: fixed
Status: newclosed

This should now work in latest svn trunk code (after 1.3rc1).

Note: See TracTickets for help on using tickets.