Enable strict mode testing for sm/RegExp

This commit is contained in:
André Bargull 2025-04-30 14:16:37 +02:00 committed by Philip Chimento
parent b0298167c9
commit a0f3f2f9b5
87 changed files with 0 additions and 174 deletions

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
RegExp.length
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
RegExp lastIndex property set should not coerce type to number
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Line terminator after backslash is invalid in regexp literals
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExpExec should throw if exec property of non-RegExp is not callable
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExpExec should throw if returned value is not an object nor null.
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Null in character class in RegExp with unicode flag.
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
RegExp.prototype.compile must perform all its steps *except* setting .lastIndex, then throw, when provided a RegExp whose .lastIndex has been made non-writable
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp constructor with pattern with @@match.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp constructor should check pattern.constructor.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp constructor should check the pattern syntax again when adding unicode flag.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp constructor shouldn't invoke source/flags getters on argument RegExp instance.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype.{global, ignoreCase, multiline, sticky, unicode} - property descriptor
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Slash and LineTerminator should be escaped correctly.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype.exec doesn't get the lastIndex and ToInteger() it for non-global regular expressions when it should
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
negative lastIndex should be treated as 0.
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
RegExp.prototype.exec doesn't get the lastIndex and ToInteger() it for non-global regular expressions when it should
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype.{global, ignoreCase, multiline, sticky, unicode}
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype.flags
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp getters should have get prefix
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
ignoreCase match should perform Canonicalize both on input and pattern.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -4,8 +4,6 @@
*/
/*---
flags:
- noStrict
description: |
Represent /a/.{lastIndex,global,source,multiline,sticky,ignoreCase} with plain old data properties
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Regexp.prototype.test/exec shouldn't change lastIndex if not writable.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@match] should check this value.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Trace RegExp.prototype[@@match] behavior.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype[@@match].
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@replace] should call replacer function after collecting all matches.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@replace] should not use optimized path if RegExp.prototype.unicode is modified.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
String.prototype.replace should do nothing if lastIndex is invalid for sticky RegExp
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
String.prototype.replace should use and update lastIndex if sticky flag is set
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@replace] should check |this| value.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Trace RegExp.prototype[@@replace] behavior.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@replace] should check latin1/twoBytes for all strings used in relate operation.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype[@@replace].
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@search] should check this value.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Trace RegExp.prototype[@@search] behavior.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype[@@search].
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype.source
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype.split should throw if RegRxp.prototype.flags is deleted.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
RegExp.prototype.split should reflect the change to Object.prototype.flags.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@split] should handle if lastIndex is out of bound.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@split] shouldn't use optimized path if limit is not number.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
RegExp.prototype[@@split] should check if this value is RegExp.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
String.prototype.split should call ToUint32(limit) before ToString(separator).
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype[@@split] should check this value.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Trace RegExp.prototype[@@split] behavior.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp.prototype[@@split].
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
sticky flag should not break assertion behavior.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
RegExp.prototype.test should update lastIndex to correct position even if pattern starts with .*
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Trailing .* should not be ignored on matchOnly match.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Make RegExp.prototype.toString to be a generic function.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- back reference should not match lead surrogate that has corresponding trail surrogate.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- braced pattern in RegExpUnicodeEscapeSequence.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- CharacterClassEscape.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- braced pattern in RegExpUnicodeEscapeSequence in CharacterClass.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- empty class should not match anything.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- ignoreCase flag for CharacterClass.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- lead and trail pattern in RegExpUnicodeEscapeSequence in CharacterClass.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- negated CharacterClass.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
Implement RegExp unicode flag -- disallow range with CharacterClassEscape.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- raw unicode.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- disallow extended patterns.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- everything Atom.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- ignoreCase flag with non-ascii to ascii map.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- ignoreCase flag with character class escape.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- ignoreCase flag with negated character class.
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -5,8 +5,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- ignoreCase flag.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- lead and trail patterns in RegExpUnicodeEscapeSequence.
esid: pending

View File

@ -3,8 +3,6 @@
/*---
includes: [compareArray.js]
flags:
- noStrict
description: |
Implement RegExp unicode flag -- raw unicode.
esid: pending