mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +02:00
Enable strict mode testing for sm/String
This commit is contained in:
parent
eba013851c
commit
4e85cd06bd
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.replace with non-regexp searchValue
|
String.prototype.replace with non-regexp searchValue
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.indexOf with empty searchString
|
String.prototype.indexOf with empty searchString
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Implement RegExp unicode flag -- AdvanceStringIndex in global match and replace.
|
Implement RegExp unicode flag -- AdvanceStringIndex in global match and replace.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.{startsWith,endsWith,includes} should call IsRegExp.
|
String.prototype.{startsWith,endsWith,includes} should call IsRegExp.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.codePointAt
|
String.prototype.codePointAt
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
[[DefaultValue]] behavior wrong for String with overridden valueOf/toString
|
[[DefaultValue]] behavior wrong for String with overridden valueOf/toString
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.fromCodePoint
|
String.fromCodePoint
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Internal usage of split should not be affected by prototpe change
|
Internal usage of split should not be affected by prototpe change
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [deepEqual.js]
|
includes: [deepEqual.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [deepEqual.js]
|
includes: [deepEqual.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.match should call GetMethod.
|
String.prototype.match should call GetMethod.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.match must define matches on the returned array, not set them
|
String.prototype.match must define matches on the returned array, not set them
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.match behavior with zero-length matches involving forward lookahead
|
String.prototype.match behavior with zero-length matches involving forward lookahead
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.match should throw when called with a global RegExp whose .lastIndex is non-writable
|
String.prototype.match should throw when called with a global RegExp whose .lastIndex is non-writable
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.match should zero the .lastIndex when called with a global RegExp
|
String.prototype.match should zero the .lastIndex when called with a global RegExp
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Call RegExp.prototype[@@match] from String.prototype.match.
|
Call RegExp.prototype[@@match] from String.prototype.match.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.normalize error when normalization form parameter is not an atom
|
String.prototype.normalize error when normalization form parameter is not an atom
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.normalize - normalize no String object
|
String.prototype.normalize - normalize no String object
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.normalize - passing wrong parameter
|
String.prototype.normalize - passing wrong parameter
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.normalize - normalize rope string
|
String.prototype.normalize - normalize rope string
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.raw
|
String.raw
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
RegExpStatics::makeMatch should make an undefined value when the last match had an undefined capture.
|
RegExpStatics::makeMatch should make an undefined value when the last match had an undefined capture.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.replace should call GetMethod.
|
String.prototype.replace should call GetMethod.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Be more careful with string math to avoid wrong results
|
Be more careful with string math to avoid wrong results
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.replace should throw when called with a global RegExp whose .lastIndex is non-writable
|
String.prototype.replace should throw when called with a global RegExp whose .lastIndex is non-writable
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.relace should zero the .lastIndex when called with a global RegExp
|
String.prototype.relace should zero the .lastIndex when called with a global RegExp
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Call RegExp.prototype[@@replace] from String.prototype.replace.
|
Call RegExp.prototype[@@replace] from String.prototype.replace.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.search should call GetMethod.
|
String.prototype.search should call GetMethod.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Call RegExp.prototype[@@search] from String.prototype.search.
|
Call RegExp.prototype[@@search] from String.prototype.search.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.split tests
|
String.prototype.split tests
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.split should call GetMethod.
|
String.prototype.split should call GetMethod.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.split should call ToUint32(limit) before ToString(separator).
|
String.prototype.split should call ToUint32(limit) before ToString(separator).
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.split with undefined separator
|
String.prototype.split with undefined separator
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
String.prototype.split with regexp separator
|
String.prototype.split with regexp separator
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Call RegExp.prototype[@@split] from String.prototype.split.
|
Call RegExp.prototype[@@split] from String.prototype.split.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Add \\u{xxxxxx} string literals
|
Add \\u{xxxxxx} string literals
|
||||||
esid: pending
|
esid: pending
|
||||||
|
Loading…
x
Reference in New Issue
Block a user