Closed
Bug 887769
Opened 12 years ago
Closed 12 years ago
Handling of modal-dialog can fail with 'this._timer is null' if application gets shutdown
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox22 fixed, firefox23 fixed, firefox24 fixed, firefox25 fixed, firefox-esr17 fixed)
People
(Reporter: whimboo, Assigned: whimboo)
Details
Attachments
(1 file)
|
845 bytes,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
When I run our restart tests with Mozmill 2.0 I can see the following failure popping up when the application goes down:
CRITICAL | Framework Failure | {
"message": "[JavaScript Error: \"this._timer is null\" {file: \"resource://mozmill/stdlib/securable-module.js -> file:///c:/mozilla/mozmill-tests/lib/modal-dialog.js\" line: 128}]"
}
We should protect such code by checking if the timer is still alive.
| Assignee | ||
Comment 1•12 years ago
|
||
Actually this is not right. The problem happens when we run the restartTests/testAddons_installFromFTP test. As I can see I cannot reach the FTP server from inside this Win8 VM, so a modal dialog instantiated before, causes the problem in combination with an assertion of a timeout in waitForPageLoad().
Summary: Handling of modal-dialog will fail if application goes down with failure: this._timer is null → Handling of modal-dialog will fail in combination with a waitForPageLoad timeout with failure: this._timer is null
| Assignee | ||
Updated•12 years ago
|
Summary: Handling of modal-dialog will fail in combination with a waitForPageLoad timeout with failure: this._timer is null → Handling of modal-dialog can fail with 'this._timer is null' if application gets shutdown
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #773878 -
Flags: review?(andreea.matei)
Comment 3•12 years ago
|
||
Comment on attachment 773878 [details] [diff] [review]
Patch v1
Review of attachment 773878 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
Attachment #773878 -
Flags: review?(andreea.matei) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Landed on default as:
http://hg.mozilla.org/qa/mozmill-tests/rev/e573f1592669
status-firefox22:
--- → affected
status-firefox23:
--- → affected
status-firefox24:
--- → affected
status-firefox25:
--- → fixed
status-firefox-esr17:
--- → affected
| Assignee | ||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/qa/mozmill-tests/rev/43a6a8a9beb6 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/9f7980a5bb10 (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/a34533f648bc (release)
http://hg.mozilla.org/qa/mozmill-tests/rev/893b0a62af75 (esr17)
Status: ASSIGNED → RESOLVED
Closed: 12 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
•