Fixup: Add object coercible tests for trim(start/End)

This commit is contained in:
Valerie R Young 2017-09-29 13:47:08 -04:00 committed by Rick Waldron
parent 2905e6a293
commit fdf8e8bd3f
2 changed files with 4 additions and 2 deletions

View File

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

View File

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