Open
Bug 733769
Opened 13 years ago
Updated 2 years ago
Add better support for delayed simple test ref test checks for themed widgets
Categories
(Core :: Widget: Win32, defect)
Tracking
()
NEW
People
(Reporter: jimm, Unassigned)
References
Details
This came up in bug 373266 -
https://bugzilla.mozilla.org/attachment.cgi?id=599984&action=diff
Using setTimeout isn't very reliable, what we really want to be able to do is insure we run through the event loop for paint refresh a few times before repeating the test. So for example, in place of
SimpleTest.executeSoon(execNext)
something like
SimpleTest.executeAfter(execNext, timeout)
where executeAfter uses the event loop as a delaying function and timeout is the maximum time we want to keep waiting. executeAfter should isnure at least one event loop gets executed. execNext would get called if the test succeeded, or after timeout / test failure.
Comment 1•13 years ago
|
||
Is a function like this sort of what you're looking for? <http://dxr.lanedo.com/mozilla-central/toolkit/components/passwordmgr/test/test_basic_form_autocomplete.html.html#l191>
![]() |
Reporter | |
Updated•11 years ago
|
Assignee: jmathies → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•