Opened 9 years ago

Closed 9 years ago

#11921 closed defect (fixed)

IE8: robot/validationMessages.html has spurious "already called" exception

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.6
Component: TestFramework Version: 1.5
Keywords: Cc: bill
Blocked By: Blocking:

Description

Run dijit/tests/form/robot/valiationMessages.html in IE8 with the debugger console window opened. The test completes OK but then after showing 0 errors and failures, it displays an "already called" exception due to a timeout on the last test (that was marked as successful).

Change History (2)

comment:1 Changed 9 years ago by Douglas Hays

This seems to be an IE specific problem. clearTimeout is being called but the setTImeout function runs anyway (but just sometimes). It seems to be triggered by having a large number of setTimeout calls (table overrun?) which this test does have.

comment:2 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [23107]) Fixes #11921. Workaround for IE8 problem. When clearTimeout is called, also clear the setTimeout function so that nothing is run even if the cleerTimeout fails. !strict

Note: See TracTickets for help on using tickets.