make assert for upper case chars in compareLowerCaseToASCIINullTerminated() fatal in debug builds

RESOLVED INACTIVE

Status

()

Core
XPCOM
RESOLVED INACTIVE
4 years ago
2 days ago

People

(Reporter: bkelly, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
This assertion:

      NS_ASSERTION(!(*aStr2 >= 'A' && *aStr2 <= 'Z'),
                   "Unexpected uppercase character");

Should probably be fatal in debug builds as this indicates an programming error has clearly occurred.  Or if not at this level, then up in the Equals*Literal() method calls on our string classes.

Comment 1

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.