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);