From 1e63ce0eae275316debec58e0fc72c149e99b0f2 Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Wed, 25 Mar 2020 14:46:45 +0200 Subject: [PATCH] Improve String.prototype.@@replace poisoned stdlib test --- .../RegExp/prototype/Symbol.replace/poisoned-stdlib.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/built-ins/RegExp/prototype/Symbol.replace/poisoned-stdlib.js b/test/built-ins/RegExp/prototype/Symbol.replace/poisoned-stdlib.js index 09dcaf6aac..4df9d5ed9d 100644 --- a/test/built-ins/RegExp/prototype/Symbol.replace/poisoned-stdlib.js +++ b/test/built-ins/RegExp/prototype/Symbol.replace/poisoned-stdlib.js @@ -4,11 +4,12 @@ esid: sec-regexp.prototype-@@replace description: > Both functional and pattern replacement performs as expected with poisoned stdlib. -features: [Symbol.replace, regexp-named-groups] +features: [Symbol.iterator, Symbol.replace, regexp-named-groups] ---*/ assert(delete Array.prototype.concat); assert(delete Array.prototype.push); +assert(delete Array.prototype[Symbol.iterator]); assert(delete Function.prototype.apply); assert(delete String.prototype.charAt); assert(delete String.prototype.charCodeAt);