Ticket #4811 (closed defect: fixed)

Opened 9 months ago

Last modified 4 months ago

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

Changed 5 months ago by rcoup

Also fails in IE7 with the same result (v1.1.0b3 first cut).

Changed 5 months ago by rcoup

  • owner changed from anonymous to alex
  • summary changed from tests.behavior fails in IE6 to tests.behavior fails in IE

As per wildbill/peller

Changed 4 months ago by alex

  • status changed from new to closed
  • resolution set to fixed

(In [13117]) seems focus()/blur() isn't synchronous on IE. Adjust test accordingly to get it to pass. Fixes #4811

Note: See TracTickets for help on using tickets.