Closed Bug 605587 Opened 14 years ago Closed 10 years ago

cfx run cannot kill process if you using Firefox binary and xulrunner app mode

Categories

(Add-on SDK Graveyard :: General, defect, P2)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mgalli, Unassigned)

References

Details

How to reproduce: 

Create a simple Jetpack app, and, using cfx pass the -a xulrunner with the -b Path_To_Your_Firefox run your program, if necessary with -p Path_To_Your_Jetpack program. 

Try to Kill the app with CTRL+C

The app may not be killed because cfx was not able to find the process. 

My workaround, local patch, was to add firefox to the list in runner.py, under class XulrunnerAppRunner(mozrunner.Runner)

-    names = ['xulrunner']
+    names = ['xulrunner','firefox']

Ref: 

http://github.com/mozilla/chromeless/commit/819a2085327fbc2e491ded6a5055ae543d84e8fd#L1R127
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Priority: -- → P3
Hardware: x86 → All
Target Milestone: --- → 1.0
(automatic reprioritization of 1.0 bugs)
Priority: P3 → P2
Target Milestone: 1.0 → 1.1
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.1 → ---
Sorry we won't be releasing any new versions of cfx, jpm is the replacement https://www.npmjs.com/package/jpm
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.