Open Bug 384973 Opened 17 years ago Updated 2 years ago

Test all components to make sure they don't crash with CreateInstance

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

People

(Reporter: sdwilsh, Unassigned)

Details

(Whiteboard: [notacrash])

Seth and I were talking when dealing with Bug 363024 and realized that a lot of other components might easily have the same problem.  We should make a test-case that iterates through all of registered components and calls createInstance on them twice.  We shouldn't crash.
Is this related to bug 181491?
It could be - not 100% sure though.
Joey - aren't you doing something like this for thunderbird and null parameters?
Yes.  See bug 412109, which includes a readily adaptable script.
Myk - you seem to be doing lots of work with things to help out add-ons, and this is one of those things that helps prevent them from shooting themselves in the foot.  You might want to take a look at this.
Component: Testing → XPCOM
QA Contact: testing → xpcom
Whiteboard: [notacrash]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.