Closed
Bug 558445
Opened 14 years ago
Closed 14 years ago
harness.js cleanup
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dietrich, Assigned: dietrich)
Details
Attachments
(1 file, 2 obsolete files)
23.30 KB,
patch
|
Details | Diff | Splinter Review |
This patch makes little if no functional change to the code in harness.js, and still passes all tests when I do "cfx testall". Primarily it re-arranges the code into a structure that: - is easier to follow, easing bug fixing - removes use of globals within class definitions - removes a few cycles found (still leaking though, so more work to do) It still needs more cleanup and lots more comments. I'll keep working on it as I push on bug 557121. Atul: Because of all the moving around I did, the diff is un-followable! I recommend applying the patch and reviewing from there :)
Assignee | ||
Updated•14 years ago
|
Attachment #438162 -
Attachment is patch: true
Attachment #438162 -
Attachment mime type: application/octet-stream → text/plain
Attachment #438162 -
Flags: review?(avarma)
Assignee | ||
Comment 1•14 years ago
|
||
Comment on attachment 438162 [details] [diff] [review] v1 canceling review request, need a few more fixes. turns out "testall" doesn't flex some codepaths that user-created modules do.
Attachment #438162 -
Flags: review?(avarma)
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → dietrich
Assignee | ||
Updated•14 years ago
|
Version: unspecified → Trunk
Assignee | ||
Comment 2•14 years ago
|
||
breaks development mode (which seems broken to begin with actually?).
Attachment #438162 -
Attachment is obsolete: true
Assignee | ||
Comment 3•14 years ago
|
||
I've confirmed that my change prevents development mode from starting up correctly. I've also confirmed that I don't know how to use dev mode.. I start it up, open a separate SDK environment, and make calls with -r, and nothing happens in either shell.
Comment 4•14 years ago
|
||
Nope, it sounds like dev-mode is indeed broken to begin with, not that you don't know how to use it--I'll look into this asap, thanks!
Comment 5•14 years ago
|
||
Just added bug 562397 to address the 'cfx develop' problem.
Assignee | ||
Comment 6•14 years ago
|
||
minor fixes, cleanup
Attachment #442027 -
Attachment is obsolete: true
Assignee | ||
Comment 7•14 years ago
|
||
patch is long-rotted. was mostly stylistic changes, so not a major loss.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Comment 8•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
•