Bug 1911728 - Remove RegExpError::kInvalidClassEscape; r=iain

Depends on D218996

Differential Revision: https://phabricator.services.mozilla.com/D218997
This commit is contained in:
Daniel Minor 2024-08-12 13:37:38 +00:00
parent 2285f9df78
commit 3db0c74351

View File

@ -132,8 +132,6 @@ static uint32_t ErrorNumber(RegExpError err) {
return JSMSG_INVALID_NAMED_REF;
case RegExpError::kInvalidNamedCaptureReference:
return JSMSG_INVALID_NAMED_CAPTURE_REF;
case RegExpError::kInvalidClassEscape:
return JSMSG_INVALID_DECIMAL_ESCAPE;
case RegExpError::kInvalidClassPropertyName:
return JSMSG_INVALID_CLASS_PROPERTY_NAME;
case RegExpError::kInvalidCharacterClass: