mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 13:34:38 +02:00
add esid to boolean frontmatter
This commit is contained in:
parent
98ec72c17c
commit
2fa2c91899
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Returns a boolean value (not a Boolean object) computed by
|
Returns a boolean value (not a Boolean object) computed by
|
||||||
ToBoolean(value)
|
ToBoolean(value)
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A1_T1
|
es5id: 15.6.1.1_A1_T1
|
||||||
description: >
|
description: >
|
||||||
Used values 1, new String("1"), new Object(1) and called without
|
Used values 1, new String("1"), new Object(1) and called without
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Returns a boolean value (not a Boolean object) computed by
|
Returns a boolean value (not a Boolean object) computed by
|
||||||
ToBoolean(value)
|
ToBoolean(value)
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A1_T2
|
es5id: 15.6.1.1_A1_T2
|
||||||
description: Used various number values as argument
|
description: Used various number values as argument
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Returns a boolean value (not a Boolean object) computed by
|
Returns a boolean value (not a Boolean object) computed by
|
||||||
ToBoolean(value)
|
ToBoolean(value)
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A1_T3
|
es5id: 15.6.1.1_A1_T3
|
||||||
description: Used various string values as argument
|
description: Used various string values as argument
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Returns a boolean value (not a Boolean object) computed by
|
Returns a boolean value (not a Boolean object) computed by
|
||||||
ToBoolean(value)
|
ToBoolean(value)
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A1_T4
|
es5id: 15.6.1.1_A1_T4
|
||||||
description: Used various undefined values and null as argument
|
description: Used various undefined values and null as argument
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Returns a boolean value (not a Boolean object) computed by
|
Returns a boolean value (not a Boolean object) computed by
|
||||||
ToBoolean(value)
|
ToBoolean(value)
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A1_T5
|
es5id: 15.6.1.1_A1_T5
|
||||||
description: Used various assigning values to any variable as argument
|
description: Used various assigning values to any variable as argument
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Boolean() returns false
|
info: Boolean() returns false
|
||||||
|
esid: sec-terms-and-definitions-boolean-value
|
||||||
es5id: 15.6.1.1_A2
|
es5id: 15.6.1.1_A2
|
||||||
description: Call Boolean() and check result
|
description: Call Boolean() and check result
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
When Boolean is called as part of a new expression it is
|
When Boolean is called as part of a new expression it is
|
||||||
a constructor: it initialises the newly created object
|
a constructor: it initialises the newly created object
|
||||||
|
esid: sec-boolean-constructor
|
||||||
es5id: 15.6.2.1_A1
|
es5id: 15.6.2.1_A1
|
||||||
description: Checking type of the newly created object and it value
|
description: Checking type of the newly created object and it value
|
||||||
---*/
|
---*/
|
||||||
|
@ -6,6 +6,7 @@ info: >
|
|||||||
The [[Prototype]] property of the newly constructed object
|
The [[Prototype]] property of the newly constructed object
|
||||||
is set to the original Boolean prototype object, the one that is the
|
is set to the original Boolean prototype object, the one that is the
|
||||||
initial value of Boolean.prototype
|
initial value of Boolean.prototype
|
||||||
|
esid: sec-boolean-constructor
|
||||||
es5id: 15.6.2.1_A2
|
es5id: 15.6.2.1_A2
|
||||||
description: Checking prototype property of the newly created object
|
description: Checking prototype property of the newly created object
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The [[Value]] property of the newly constructed object
|
The [[Value]] property of the newly constructed object
|
||||||
is set to ToBoolean(value)
|
is set to ToBoolean(value)
|
||||||
|
esid: sec-boolean-constructor
|
||||||
es5id: 15.6.2.1_A3
|
es5id: 15.6.2.1_A3
|
||||||
description: Checking value of the newly created object
|
description: Checking value of the newly created object
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The [[Class]] property of the newly constructed object
|
The [[Class]] property of the newly constructed object
|
||||||
is set to "Boolean"
|
is set to "Boolean"
|
||||||
|
esid: sec-boolean-constructor
|
||||||
es5id: 15.6.2.1_A4
|
es5id: 15.6.2.1_A4
|
||||||
description: For testing toString function is used
|
description: For testing toString function is used
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: The Boolean constructor has the property "prototype"
|
info: The Boolean constructor has the property "prototype"
|
||||||
|
esid: sec-boolean.prototype
|
||||||
es5id: 15.6.3_A1
|
es5id: 15.6.3_A1
|
||||||
description: Checking existence of the property "prototype"
|
description: Checking existence of the property "prototype"
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The value of the internal [[Prototype]] property of the Boolean
|
The value of the internal [[Prototype]] property of the Boolean
|
||||||
constructor is the Function prototype object
|
constructor is the Function prototype object
|
||||||
|
esid: sec-boolean.prototype
|
||||||
es5id: 15.6.3_A2
|
es5id: 15.6.3_A2
|
||||||
description: Checking prototype of the Boolean constructor
|
description: Checking prototype of the Boolean constructor
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Boolean constructor has length property whose value is 1
|
info: Boolean constructor has length property whose value is 1
|
||||||
|
esid: sec-boolean.prototype
|
||||||
es5id: 15.6.3_A3
|
es5id: 15.6.3_A3
|
||||||
description: Checking Boolean.length property
|
description: Checking Boolean.length property
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Result of boolean conversion from undefined value is false
|
info: Result of boolean conversion from undefined value is false
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A1_T1
|
es5id: 9.2_A1_T1
|
||||||
description: >
|
description: >
|
||||||
Undefined, void and others are converted to Boolean by explicit
|
Undefined, void and others are converted to Boolean by explicit
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Result of boolean conversion from null value is false
|
info: Result of boolean conversion from null value is false
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A2_T1
|
es5id: 9.2_A2_T1
|
||||||
description: null convert to Boolean by explicit transformation
|
description: null convert to Boolean by explicit transformation
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Result of boolean conversion from boolean value is no conversion
|
info: Result of boolean conversion from boolean value is no conversion
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A3_T1
|
es5id: 9.2_A3_T1
|
||||||
description: true and false convert to Boolean by explicit transformation
|
description: true and false convert to Boolean by explicit transformation
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Result of boolean conversion from number value is false if the argument
|
Result of boolean conversion from number value is false if the argument
|
||||||
is +0, -0, or NaN; otherwise, is true
|
is +0, -0, or NaN; otherwise, is true
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A4_T1
|
es5id: 9.2_A4_T1
|
||||||
description: +0, -0 and NaN convert to Boolean by explicit transformation
|
description: +0, -0 and NaN convert to Boolean by explicit transformation
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Result of boolean conversion from number value is false if the argument
|
Result of boolean conversion from number value is false if the argument
|
||||||
is +0, -0, or NaN; otherwise, is true
|
is +0, -0, or NaN; otherwise, is true
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A4_T3
|
es5id: 9.2_A4_T3
|
||||||
description: >
|
description: >
|
||||||
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,
|
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Result of boolean conversion from nonempty string value (length is not
|
Result of boolean conversion from nonempty string value (length is not
|
||||||
zero) is true; from empty String (length is zero) is false
|
zero) is true; from empty String (length is zero) is false
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A5_T1
|
es5id: 9.2_A5_T1
|
||||||
description: "\"\" is converted to Boolean by explicit transformation"
|
description: "\"\" is converted to Boolean by explicit transformation"
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
Result of boolean conversion from nonempty string value (length is not
|
Result of boolean conversion from nonempty string value (length is not
|
||||||
zero) is true; from empty String (length is zero) is false
|
zero) is true; from empty String (length is zero) is false
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A5_T3
|
es5id: 9.2_A5_T3
|
||||||
description: Any nonempty string convert to Boolean by explicit transformation
|
description: Any nonempty string convert to Boolean by explicit transformation
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: Result of boolean conversion from object is true
|
info: Result of boolean conversion from object is true
|
||||||
|
esid: sec-toboolean
|
||||||
es5id: 9.2_A6_T1
|
es5id: 9.2_A6_T1
|
||||||
description: Different objects convert to Boolean by explicit transformation
|
description: Different objects convert to Boolean by explicit transformation
|
||||||
---*/
|
---*/
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2013 the V8 project authors. All rights reserved.
|
// Copyright (C) 2013 the V8 project authors. All rights reserved.
|
||||||
// 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.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-toboolean
|
||||||
es6id: 7.1.2
|
es6id: 7.1.2
|
||||||
description: >
|
description: >
|
||||||
Boolean coercion operations on Symbols
|
Boolean coercion operations on Symbols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user