Ticket #4811 (closed defect: fixed)
tests.behavior fails in IE
| Reported by: | peller | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | Core | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
testModule=tests.behavior
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
PASSED test: ../../dojo/tests/behavior.html::t::apply
PASSED test: ../../dojo/tests/behavior.html::t::reapply
_AssertFailure: [object Error]: assertEqual() failed: expected |3| but got |2|
[object Error]
ERROR IN:
function topics(t){ 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(); t.is(3, topicCount); dojo.byId("blah").blur(); dojo.byId("blah").focus(); t.is(4, topicCount); }
FAILED test: ../../dojo/tests/behavior.html::t::topics
PASSED test: ../../dojo/tests/behavior.html
Change History
Note: See
TracTickets for help on using
tickets.