Closed
Bug 578842
Opened 14 years ago
Closed 14 years ago
'cfx testall -a firefox' is broken on latest Firefox 4.0b2pre nightlies
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: avarma, Assigned: avarma)
References
Details
Attachments
(1 file)
1.91 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
Whenever I run 'cfx testall -a firefox' with the latest nightlies, the test suite hangs here:
Testing all available packages: nsjetpack, test-harness, jetpack-core,
development-mode.
Firefox opens, but no errors appear in the JS error console (aside from "Warning: unrecognized command line flag -foreground", which has been around for a while on OS X), nor on stdout.
This appears to be happening to peregrino and Myk too. Myk is using Linux and I'm using OS X.
Assignee | ||
Comment 1•14 years ago
|
||
Note also that this is after the patch for bug 578432 has landed, so install.rdf maxVersion shouldn't be an issue here. In fact, going to the Add-ons Manager while Firefox is "hanging" does show the test harness addon as being installed and enabled.
Comment 2•14 years ago
|
||
what do you see when you try cfx run inside a package dir? because that's failing for me on nightlies.
Assignee | ||
Comment 3•14 years ago
|
||
Ok, found it with Mossop's help... It's bug 568691 that's causing the harness.js XPCOM component to not be loaded. In order to fix this, we either need to have cfx create a chrome.manifest in the extension dir with harness.js's cid info in it, or, now that bug 566485 is fixed, actually fix bug 566723. I'm going to go for the latter since it's both a cleaner fix and requires less work.
Assignee | ||
Comment 4•14 years ago
|
||
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 458472 [details] [diff] [review]
patch
Mossop, can you take a quick look at this and let me know if it looks sane?
Attachment #458472 -
Flags: review?(dtownsend)
Comment 6•14 years ago
|
||
Comment on attachment 458472 [details] [diff] [review]
patch
Looks good, though I might suggest adding a comment in harness.js above NSGetModule saying that everything below there is only used on Gecko 1.9.2.
Attachment #458472 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 7•14 years ago
|
||
Thanks! I added the comment and pushed:
Bug 578842 - 'cfx testall -a firefox' is broken on latest Firefox 4.0b2pre nightlies
Atul Varma
http://hg.mozilla.org/labs/jetpack-sdk/rev/ca9796a2a6aa
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 9•14 years ago
|
||
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
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•