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

NEW
Unassigned

Status

()

Core
XPCOM
11 years ago
8 years ago

People

(Reporter: sdwilsh, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [notacrash])

(Reporter)

Description

11 years ago
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?
(Reporter)

Comment 2

11 years ago
It could be - not 100% sure though.
(Reporter)

Comment 3

10 years ago
Joey - aren't you doing something like this for thunderbird and null parameters?

Comment 4

10 years ago
Yes.  See bug 412109, which includes a readily adaptable script.
(Reporter)

Comment 5

10 years ago
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

Updated

8 years ago
Whiteboard: [notacrash]
You need to log in before you can comment on or make changes to this bug.