Open
Bug 412109
Opened 17 years ago
Updated 7 months ago
TB xpcom null arg test suite, mostly to make it harder for extension authors to shoot themselves in the foot.
Categories
(MailNews Core :: Backend, task)
MailNews Core
Backend
Tracking
(Not tracked)
NEW
People
(Reporter: jminta, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
Inspired by bug 411646, this is a test-suite for a global check to make sure all of tb's xpcom components and functions handle null arguments gracefully (ie. don't crash).
Bugs blocking this one are those which this test uncovered, since we can't enable it until they're fixed. The test does have a known-failures option if a few turn out to be especially pesky.
Meant to be run from xpcshell. I'll hook it into the normal |make check| routine as we get closer to enabling it.
| Reporter | ||
Comment 1•17 years ago
|
||
I should add that while we may catch a few live crashers in these tests, the vast majority of this is simply making it harder for extension authors to shoot themselves in the foot.
| Reporter | ||
Comment 2•17 years ago
|
||
This is the same test-suite, but with all the known failures not fixed by the blocking bugs. There's still a shutdown crash that I haven't figured out yet though, if someone wants to poke at that.
Attachment #296744 -
Attachment is obsolete: true
Updated•16 years ago
|
Flags: wanted-thunderbird3+
Comment 3•15 years ago
|
||
I was ping'ed in bug 413548,
I looked at this bug and related ones.
Joey's patches are nearly 3-year old and spread in multiple bugs, which confuses me a little, (I'll refer to them yet),
then I prefer to probably do more but one file at a time, as in bug 611233.
Version: unspecified → Trunk
Serge, when the blocking bugs will get closed, are you able to use the attached testsuite and check if everything got fixed? If yes, then you could take this bug.
Assignee: jminta → nobody
Status: ASSIGNED → NEW
Component: General → Backend
Product: Thunderbird → MailNews Core
QA Contact: general → backend
Comment 5•5 years ago
|
||
Geoff, do you want to rerun the test suite as suggested in comment 4? Then perhaps we can close this out.
Flags: needinfo?(geoff)
Summary: TB xpcom null arg test suite → TB xpcom null arg test suite, mostly to make it harder for extension authors to shoot themselves in the foot.
Comment 6•5 years ago
|
||
Here's a somewhat updated version, with a list of all the classes that fail. So closing this? I don't think so.
And no, I'm not offering to fix the listed classes. Perhaps Magnus has some manpower spare.
Flags: needinfo?(geoff)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•