Closed Bug 825291 Opened 12 years ago Closed 8 years ago

remove nsISupportsArray from nsPKIParamBlock

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tbsaunde, Assigned: tbsaunde)

References

Details

Attachments

(1 file)

I can see two options here
1. replace nsCOMPtr<nsISupportsArray> with nsCOMArray<nsISupports>
2. nuke nsIPKIParamBlock.Set/get ISupportAtIndex() which seem to be unused, and a rather odd api to provide here...
this implements option 1 that I mentioned, but I'd happily do option 2 if there's no reason to keep this stuff.
Attachment #696368 - Flags: review?(bsmith)
Ping bsmith...
Status: NEW → ASSIGNED
Comment on attachment 696368 [details] [diff] [review]
remove nsISupportsArray from nsPKIParamBlock

Is this bug still valid? If so, perhaps :keeler would be a better reviewer for this, since it seems like UI code I'm not familiar with.
Attachment #696368 - Flags: review?(brian)
Attachment #696368 - Flags: review?(dkeeler)
Comment on attachment 696368 [details] [diff] [review]
remove nsISupportsArray from nsPKIParamBlock

Review of attachment 696368 [details] [diff] [review]:
-----------------------------------------------------------------

Well, for better or worse it is used, but in a very limited way. Let's change it so nsIPKIParamBlock just has an 'attribute nsIX509Cert cert', since that's all it's used for: https://mxr.mozilla.org/mozilla-central/ident?i=SetISupportAtIndex https://mxr.mozilla.org/mozilla-central/ident?i=GetISupportAtIndex
Attachment #696368 - Flags: review?(dkeeler) → review-
Bug 1217602 removed nsPKIParamBlock entirely, so there's nothing to do here anymore.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Depends on: 1217602
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: