mirror of https://github.com/tc39/test262.git
Improve String.prototype.@@replace poisoned stdlib test
This commit is contained in:
parent
9b71a7cada
commit
1e63ce0eae
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue