From d9a6a03ffca16a822eae80df53a8368810f76841 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 21 Aug 2020 16:01:44 -0400 Subject: [PATCH] String.prototype.split: Add features meta data --- test/built-ins/String/prototype/split/limit-touint32-error.js | 1 + .../String/prototype/split/this-value-tostring-error.js | 1 + 2 files changed, 2 insertions(+) diff --git a/test/built-ins/String/prototype/split/limit-touint32-error.js b/test/built-ins/String/prototype/split/limit-touint32-error.js index 7f9c83ee87..ea9aab9cc8 100644 --- a/test/built-ins/String/prototype/split/limit-touint32-error.js +++ b/test/built-ins/String/prototype/split/limit-touint32-error.js @@ -7,6 +7,7 @@ info: | 1. If _limit_ is *undefined*, let _lim_ be 232 - 1; else let _lim_ be ? ToUint32(_limit_). 1. Let _R_ be ? ToString(_separator_). 1. If _lim_ = 0, return _A_. +features: [Symbol, Symbol.toPrimitive] ---*/ function ExpectedError(message) { diff --git a/test/built-ins/String/prototype/split/this-value-tostring-error.js b/test/built-ins/String/prototype/split/this-value-tostring-error.js index 46b2393d10..05c30ea5d2 100644 --- a/test/built-ins/String/prototype/split/this-value-tostring-error.js +++ b/test/built-ins/String/prototype/split/this-value-tostring-error.js @@ -10,6 +10,7 @@ info: | 1. If _splitter_ is not *undefined*, then 1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »). 1. Let _S_ be ? ToString(_O_). +features: [Symbol, Symbol.split, Symbol.toPrimitive] ---*/ function ExpectedError(message) {