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

NEW
Unassigned

Status

()

4 years ago
4 years 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.
You need to log in before you can comment on or make changes to this bug.