This commit is contained in:
Lyza Danger Gardner 2017-06-29 11:24:37 -04:00 committed by Rick Waldron
parent e26c66bfff
commit 90528aaa09
42 changed files with 82 additions and 0 deletions

View File

@ -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

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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)
---*/

View File

@ -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)"
---*/

View File

@ -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"
---*/

View File

@ -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

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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)"
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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\""
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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]
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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]
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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
---*/

View File

@ -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

View File

@ -3,6 +3,7 @@
/*---
es6id: 18.2.4
esid: sec-parsefloat-string
description: >
parseFloat.name is "parseFloat".
info: >