Closed Bug 578859 Opened 14 years ago Closed 13 years ago

[exit] mozmill should shut down firefox if it fails to connect to jsbridge

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: k0scist)

References

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file)

currently, mozmill uses mozrunner to start firefox then attempts to wait_and_create the jsbridge network.  if the latter fails, firefox is still running.  instead, mozmill should shut it down
Whiteboard: [mozmill-2.0?]
Summary: mozmill should shut down firefox if it fails to connect to jsbridge → [exit] mozmill should shut down firefox if it fails to connect to jsbridge
Reproduction steps:

1. invoke (e.g.) `mozmill -m /home/jhammel/mozilla/src/mozilla-central/testing/mozmill/tests/firefox/manifest.ini --show-all`
2. before the tests can run, press ctrl+c or equivalent

mozmill will quit but firefox will hang.

This was fixed for 1.5.2, but evidently never ported to 2.0
Assignee: nobody → jhammel
Whiteboard: [mozmill-2.0?] → [mozmill-2.0+]
Turns out this was probably already fixed for 90+% of exceptions in the wild.  This will additionally fix it for exceptions that don't inherent from base exceptions and additionally not (mistakely) reraise the exception until after the results reporting gets done
Attachment #508904 - Flags: review?(fayearthur+bugs)
Comment on attachment 508904 [details] [diff] [review]
mozmill should shut down firefox if it fails to connect to jsbridge

lg
Attachment #508904 - Flags: review?(fayearthur+bugs) → review+
push to master as https://github.com/mozautomation/mozmill/commit/321541d9adb947339c4f1ad0cff14cb4649e4145
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: