Closed Bug 1746536 Opened 2 years ago Closed 2 years ago

Add nsTSubstring<T>::* to the prefix signature list

Categories

(Socorro :: Signature, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mccr8, Assigned: willkg)

References

Details

Attachments

(1 file)

There are various other nsTSubstring functions in the prefix list, but apparently not Truncate. It might be a good idea to just consolidate all of the nsTSubstring<T>:: things into nsTSubstring<T>::* or something like that.

Right now there's nsTSubstring<.*>::Assign and nsTSubstring<T>::Append, but I think we probably want all of these functions in this class prefixed. I'm not sure what the best way to write that.

See bug 1746416 for an example. Here's an example report from that bug: bp-b0272f60-7b6c-4b96-9496-c73430211216

See Also: → 1746416

To clarify, right now the prefix list has these items:

nsTSubstring<T>::Append
nsTSubstring<.*>::Assign

This bug posits that instead of specifying all the functions in nsTSubstring individually, we should add an entry covering all of them.

Thus we should remove those two and add something like:

nsTSubstring<.*>::

A cursory look at signatures in Crash Stats suggests this will pick up the following functions:

  • Append
  • Assign
  • SetLength
  • Split
  • StartBulkWriteImpl
  • Truncate
  • Finalize

Does that plan sound right?

Flags: needinfo?(continuation)

Sounds good, thanks.

Flags: needinfo?(continuation)
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2

I pushed this to prod just now in bug #1769264. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: