add esid to boolean frontmatter

This commit is contained in:
deathbearbrown 2017-07-27 09:17:54 -07:00 committed by Rick Waldron
parent 98ec72c17c
commit 2fa2c91899
22 changed files with 55 additions and 33 deletions

View File

@ -5,6 +5,7 @@
info: >
Returns a boolean value (not a Boolean object) computed by
ToBoolean(value)
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A1_T1
description: >
Used values 1, new String("1"), new Object(1) and called without

View File

@ -5,6 +5,7 @@
info: >
Returns a boolean value (not a Boolean object) computed by
ToBoolean(value)
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A1_T2
description: Used various number values as argument
---*/

View File

@ -5,6 +5,7 @@
info: >
Returns a boolean value (not a Boolean object) computed by
ToBoolean(value)
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A1_T3
description: Used various string values as argument
---*/

View File

@ -5,6 +5,7 @@
info: >
Returns a boolean value (not a Boolean object) computed by
ToBoolean(value)
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A1_T4
description: Used various undefined values and null as argument
---*/

View File

@ -5,6 +5,7 @@
info: >
Returns a boolean value (not a Boolean object) computed by
ToBoolean(value)
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A1_T5
description: Used various assigning values to any variable as argument
---*/

View File

@ -3,6 +3,7 @@
/*---
info: Boolean() returns false
esid: sec-terms-and-definitions-boolean-value
es5id: 15.6.1.1_A2
description: Call Boolean() and check result
---*/

View File

@ -5,6 +5,7 @@
info: >
When Boolean is called as part of a new expression it is
a constructor: it initialises the newly created object
esid: sec-boolean-constructor
es5id: 15.6.2.1_A1
description: Checking type of the newly created object and it value
---*/

View File

@ -6,6 +6,7 @@ info: >
The [[Prototype]] property of the newly constructed object
is set to the original Boolean prototype object, the one that is the
initial value of Boolean.prototype
esid: sec-boolean-constructor
es5id: 15.6.2.1_A2
description: Checking prototype property of the newly created object
---*/

View File

@ -5,6 +5,7 @@
info: >
The [[Value]] property of the newly constructed object
is set to ToBoolean(value)
esid: sec-boolean-constructor
es5id: 15.6.2.1_A3
description: Checking value of the newly created object
---*/

View File

@ -5,6 +5,7 @@
info: >
The [[Class]] property of the newly constructed object
is set to "Boolean"
esid: sec-boolean-constructor
es5id: 15.6.2.1_A4
description: For testing toString function is used
---*/

View File

@ -3,6 +3,7 @@
/*---
info: The Boolean constructor has the property "prototype"
esid: sec-boolean.prototype
es5id: 15.6.3_A1
description: Checking existence of the property "prototype"
---*/

View File

@ -5,6 +5,7 @@
info: >
The value of the internal [[Prototype]] property of the Boolean
constructor is the Function prototype object
esid: sec-boolean.prototype
es5id: 15.6.3_A2
description: Checking prototype of the Boolean constructor
---*/

View File

@ -3,6 +3,7 @@
/*---
info: Boolean constructor has length property whose value is 1
esid: sec-boolean.prototype
es5id: 15.6.3_A3
description: Checking Boolean.length property
---*/

View File

@ -3,6 +3,7 @@
/*---
info: Result of boolean conversion from undefined value is false
esid: sec-toboolean
es5id: 9.2_A1_T1
description: >
Undefined, void and others are converted to Boolean by explicit

View File

@ -3,6 +3,7 @@
/*---
info: Result of boolean conversion from null value is false
esid: sec-toboolean
es5id: 9.2_A2_T1
description: null convert to Boolean by explicit transformation
---*/

View File

@ -3,6 +3,7 @@
/*---
info: Result of boolean conversion from boolean value is no conversion
esid: sec-toboolean
es5id: 9.2_A3_T1
description: true and false convert to Boolean by explicit transformation
---*/

View File

@ -5,6 +5,7 @@
info: >
Result of boolean conversion from number value is false if the argument
is +0, -0, or NaN; otherwise, is true
esid: sec-toboolean
es5id: 9.2_A4_T1
description: +0, -0 and NaN convert to Boolean by explicit transformation
---*/

View File

@ -5,6 +5,7 @@
info: >
Result of boolean conversion from number value is false if the argument
is +0, -0, or NaN; otherwise, is true
esid: sec-toboolean
es5id: 9.2_A4_T3
description: >
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY,

View File

@ -5,6 +5,7 @@
info: >
Result of boolean conversion from nonempty string value (length is not
zero) is true; from empty String (length is zero) is false
esid: sec-toboolean
es5id: 9.2_A5_T1
description: "\"\" is converted to Boolean by explicit transformation"
---*/

View File

@ -5,6 +5,7 @@
info: >
Result of boolean conversion from nonempty string value (length is not
zero) is true; from empty String (length is zero) is false
esid: sec-toboolean
es5id: 9.2_A5_T3
description: Any nonempty string convert to Boolean by explicit transformation
---*/

View File

@ -3,6 +3,7 @@
/*---
info: Result of boolean conversion from object is true
esid: sec-toboolean
es5id: 9.2_A6_T1
description: Different objects convert to Boolean by explicit transformation
---*/

View File

@ -1,6 +1,7 @@
// Copyright (C) 2013 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-toboolean
es6id: 7.1.2
description: >
Boolean coercion operations on Symbols