Closed
Bug 513215
Opened 15 years ago
Closed 15 years ago
[shared module] Modal dialog needs an initial timeout value to prevent fetching the wrong modal window
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file)
2.71 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
While running the Mozmill tests in a row on Windows today I have noticed that under some circumstances the modal dialog API gets the wrong modal window. That can happen if it takes a bit longer to open the dialog. At the moment we have a delay of 100ms before the observer is fired the first time. That is way to fast and we should give the users a way to set this value. This will at least prevent catching the wrong window when looking at the timing. But we cannot differentiate if we really have another window as top most window.
As example: On bug 502159 we test the preferred language. Opening the language dialog inside the preferences takes a while too long because all the languages are retrieved first. When the dialog gets opened our observer has already caught the preference window itself as the new modal dialog. So the remaining tests will fail in this module.
It has me taken a while until I was able to figure out what's going on.
Attachment #397248 -
Flags: review?(ctalbert)
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Comment on attachment 397248 [details] [diff] [review]
Patch v1
nice catch, thanks whimboo
Attachment #397248 -
Flags: review?(ctalbert) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/636225b74d1c
http://hg.mozilla.org/qa/mozmill-tests/rev/2787871de5be
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•14 years ago
|
||
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Mozmill → Mozmill Tests
Product: Testing → Mozilla QA
QA Contact: mozmill → mozmill-tests
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•