mirror of https://github.com/tc39/test262.git
Add esid
This commit is contained in:
parent
e26c66bfff
commit
90528aaa09
|
@ -3,6 +3,8 @@
|
|||
|
||||
/*---
|
||||
es5id: 15.1.2.3-2-1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: >
|
||||
pareseFloat - 'trimmedString' is the empty string when inputString
|
||||
does not contain any such characters
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for boolean primitive
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for number primitive
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for undefined and null
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T4
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for Boolean object
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T5
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for Number object
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T6
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking for String object
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator use ToString
|
||||
es5id: 15.1.2.3_A1_T7
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: If Type(value) is Object, evaluate ToPrimitive(value, String)
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: TAB (U+0009)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T10
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: USP"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: >
|
||||
Leading U+180E is not recognized as whitespace
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: SP (U+0020)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: NBSB (U+00A0)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T4
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: FF (U+000C)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T5
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: VT (U+000B)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T6
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: CR (U+000D)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T7
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: LF (U+000A)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T8
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: LS (U+2028)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Operator remove leading StrWhiteSpaceChar
|
||||
es5id: 15.1.2.3_A2_T9
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "StrWhiteSpaceChar :: PS (U+2029)"
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
|
||||
StrDecimalLiteral (see 9.3.1), return NaN
|
||||
es5id: 15.1.2.3_A3_T1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: parseFloat("some string") return NaN
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
|
||||
StrDecimalLiteral (see 9.3.1), return NaN
|
||||
es5id: 15.1.2.3_A3_T2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: parseFloat("wrong number format with ExponentIndicator") return NaN
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
|
||||
StrDecimalLiteral (see 9.3.1), return NaN
|
||||
es5id: 15.1.2.3_A3_T3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: parseFloat("wrong numbr format") return NaN
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Some wrong number
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: With ExponentIndicator
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: StrDecimalLiteral not contain HexIntegerLiteral
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T4
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: "\"Infinity\"+\"some string\""
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T5
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T6
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking . DecimalDigits ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ info: >
|
|||
Compute the longest prefix of Result(2), which might be Result(2) itself,
|
||||
which satisfies the syntax of a StrDecimalLiteral
|
||||
es5id: 15.1.2.3_A4_T7
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking DecimalDigits ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Return the number value for the MV of Result(4)
|
||||
es5id: 15.1.2.3_A5_T1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking Infinity
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Return the number value for the MV of Result(4)
|
||||
es5id: 15.1.2.3_A5_T2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Return the number value for the MV of Result(4)
|
||||
es5id: 15.1.2.3_A5_T3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking . DecimalDigits ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: Return the number value for the MV of Result(4)
|
||||
es5id: 15.1.2.3_A5_T4
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking DecimalDigits ExponentPart_opt
|
||||
---*/
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@ info: >
|
|||
of the notation of an decimal literal, and no indication is given that any such
|
||||
characters were ignored.
|
||||
es5id: 15.1.2.3_A6
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Complex test without eval
|
||||
includes: [decimalToHexString.js]
|
||||
---*/
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The length property of parseFloat has the attribute DontEnum
|
||||
es5id: 15.1.2.3_A7.1
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking use propertyIsEnumerable, for-in
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The length property of parseFloat does not have the attribute DontDelete
|
||||
es5id: 15.1.2.3_A7.2
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking use hasOwnProperty, delete
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The length property of parseFloat has the attribute ReadOnly
|
||||
es5id: 15.1.2.3_A7.3
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking if varying the length property fails
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The length property of parseFloat is 1
|
||||
es5id: 15.1.2.3_A7.4
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: parseFloat.length === 1
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The parseFloat property has the attribute DontEnum
|
||||
es5id: 15.1.2.3_A7.5
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking use propertyIsEnumerable, for-in
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The parseFloat property has not prototype property
|
||||
es5id: 15.1.2.3_A7.6
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: Checking parseFloat.prototype
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
/*---
|
||||
info: The parseFloat property can't be used as constructor
|
||||
es5id: 15.1.2.3_A7.7
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: >
|
||||
If property does not implement the internal [[Construct]] method,
|
||||
throw a TypeError exception
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
es6id: 18.2.4
|
||||
esid: sec-parsefloat-string
|
||||
description: >
|
||||
parseFloat.name is "parseFloat".
|
||||
info: >
|
||||
|
|
Loading…
Reference in New Issue