String.prototype.trimEnd,trimStart: add feature (per new convention)

This commit is contained in:
Rick Waldron 2018-01-25 14:38:51 -05:00
parent 2d80b92cb8
commit 966dfb4cd0
43 changed files with 43 additions and 43 deletions

View File

@ -20,7 +20,7 @@ info: >
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
verifyProperty(String.prototype.trimEnd, "length", {

View File

@ -17,7 +17,7 @@ info: >
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
verifyProperty(String.prototype.trimEnd, "name", {

View File

@ -12,7 +12,7 @@ info: >
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
verifyProperty(String.prototype, "trimEnd", {

View File

@ -13,7 +13,7 @@ info: |
Result:
If argument is true, return "true".
If argument is false, return "false".
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd

View File

@ -13,7 +13,7 @@ info: |
The definition of white space is the union of WhiteSpace and LineTerminator.
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd;

View File

@ -6,7 +6,7 @@ esid: sec-string.prototype.trimEnd
description: The "this" value must be object-coercible
info: |
1. Let O be ? RequireObjectCoercible(this value).
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd;

View File

@ -11,7 +11,7 @@ info: |
ToString ( argument )
Argument Type: Number
Result: NumberToString(argument)
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -20,7 +20,7 @@ info: |
...
d. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -22,7 +22,7 @@ info: |
e. If exoticToPrim is not undefined, then
i. Let result be ? Call(exoticToPrim, input, « hint »).
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -23,7 +23,7 @@ info: |
i. Let result be ? Call(exoticToPrim, input, « hint »).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/

View File

@ -24,7 +24,7 @@ info: |
ii. If Type(result) is not Object, return result.
iii. Throw a TypeError exception.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -36,7 +36,7 @@ info: |
...
5. For each name in methodNames in List order, do
a. Let method be ? Get(O, name).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -38,7 +38,7 @@ info: |
a. Let method be ? Get(O, name).
b. If IsCallable(method) is true, then
i. Let result be ? Call(method, O).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var toPrimitiveAccessed = 0;

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/

View File

@ -36,7 +36,7 @@ info: |
...
5. For each name in methodNames in List order, do
a. Let method be ? Get(O, name).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -38,7 +38,7 @@ info: |
a. Let method be ? Get(O, name).
b. If IsCallable(method) is true, then
i. Let result be ? Call(method, O).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/
var toPrimitiveAccessed = 0;

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimEnd, Symbol.toPrimitive]
---*/

View File

@ -11,7 +11,7 @@ info: |
ToString ( argument )
Argument Type: Symbol
Result: Throw a TypeError exception
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd;

View File

@ -16,7 +16,7 @@ info: |
Zs, code unit sequences are interpreted as UTF-16 encoded code point
sequences as specified in 6.1.4.
features: [string-trimming]
features: [string-trimming, String.prototype.trimEnd]
---*/
var trimEnd = String.prototype.trimEnd;

View File

@ -20,7 +20,7 @@ info: >
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
verifyProperty(String.prototype.trimStart, "length", {

View File

@ -17,7 +17,7 @@ info: >
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
verifyProperty(String.prototype.trimStart, "name", {

View File

@ -12,7 +12,7 @@ info: >
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
verifyProperty(String.prototype, "trimStart", {

View File

@ -13,7 +13,7 @@ info: |
Result:
If argument is true, return "true".
If argument is false, return "false".
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart

View File

@ -13,7 +13,7 @@ info: |
The definition of white space is the union of WhiteSpace and LineTerminator.
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;

View File

@ -6,7 +6,7 @@ esid: sec-string.prototype.trimStart
description: The "this" value must be object-coercible
info: |
1. Let O be ? RequireObjectCoercible(this value).
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;

View File

@ -11,7 +11,7 @@ info: |
ToString ( argument )
Argument Type: Number
Result: NumberToString(argument)
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -20,7 +20,7 @@ info: |
...
d. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -22,7 +22,7 @@ info: |
e. If exoticToPrim is not undefined, then
i. Let result be ? Call(exoticToPrim, input, « hint »).
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -23,7 +23,7 @@ info: |
i. Let result be ? Call(exoticToPrim, input, « hint »).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/

View File

@ -24,7 +24,7 @@ info: |
ii. If Type(result) is not Object, return result.
iii. Throw a TypeError exception.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -36,7 +36,7 @@ info: |
...
5. For each name in methodNames in List order, do
a. Let method be ? Get(O, name).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -38,7 +38,7 @@ info: |
a. Let method be ? Get(O, name).
b. If IsCallable(method) is true, then
i. Let result be ? Call(method, O).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var toPrimitiveAccessed = 0;

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/

View File

@ -38,7 +38,7 @@ info: |
a. Let method be ? Get(O, name).
b. If IsCallable(method) is true, then
i. Let result be ? Call(method, O).
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var thisVal = {

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
...
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/
var toPrimitiveAccessed = 0;

View File

@ -40,7 +40,7 @@ info: |
i. Let result be ? Call(method, O).
ii. If Type(result) is not Object, return result.
6. Throw a TypeError exception.
features: [string-trimming, Symbol.toPrimitive]
features: [string-trimming, String.prototype.trimStart, Symbol.toPrimitive]
---*/

View File

@ -11,7 +11,7 @@ info: |
ToString ( argument )
Argument Type: Symbol
Result: Throw a TypeError exception
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;

View File

@ -16,7 +16,7 @@ info: |
Zs, code unit sequences are interpreted as UTF-16 encoded code point
sequences as specified in 6.1.4.
features: [string-trimming]
features: [string-trimming, String.prototype.trimStart]
---*/
var trimStart = String.prototype.trimStart;