Closed
Bug 628576
Opened 14 years ago
Closed 13 years ago
Need a better way to handle window.close()
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: u279076, Assigned: whimboo)
References
Details
(Whiteboard: [lib][module-refactor])
Currently, the best way we have to check if a window is closed is to check for window.closed === true following a closure (either programatically or by keypress/mouse-click). In some instances this fails because the state changes a split second before the window is actually closed, causing the window to actually remain open. The temporary workaround we have in place is to follow this check with a sleep(0).
We should really find a way to simply check for an event which is fired when the window has finally closed.
Assignee | ||
Comment 1•14 years ago
|
||
I will check how to fix that after bug 639870 has been fixed.
Depends on: 639870
Assignee | ||
Updated•13 years ago
|
Component: Mozmill Tests → Mozmill Shared Modules
QA Contact: mozmill-tests → mozmill-shared-modules
Assignee | ||
Updated•13 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Assignee | ||
Updated•13 years ago
|
Whiteboard: [module-refactor] → [lib]
Assignee | ||
Updated•13 years ago
|
Whiteboard: [lib] → [lib][module-refactor]
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 2•13 years ago
|
||
So this has now been fixed by bug 751242 for our current tests. A patch for the test refactor I have put up here:
https://github.com/whimboo/mozmill-test-refactor/pull/3
We can call this fixed.
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
•