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)

defect
Not set
major

Tracking

(firefox22 fixed, firefox23 fixed, firefox24 fixed, firefox25 fixed, firefox-esr17 fixed)

RESOLVED FIXED
Tracking Status
firefox22 --- fixed
firefox23 --- fixed
firefox24 --- fixed
firefox25 --- fixed
firefox-esr17 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(1 file)

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.
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
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
Attached patch Patch v1Splinter Review
Attachment #773878 - Flags: review?(andreea.matei)
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+
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: