1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00

Fix [[IsHTMLDDA]] Symbol.replaceAll test

This commit is contained in:
Alexey Shvayka 2020-05-18 22:43:39 +03:00 committed by Rick Waldron
parent 9338f22908
commit 5f1e61e427

@ -18,7 +18,7 @@ features: [Symbol.replace, String.prototype.replaceAll, IsHTMLDDA]
var searchValue = $262.IsHTMLDDA;
var replacerGets = 0;
Object.defineProperty(searchValue, Symbol.replaceAll, {
Object.defineProperty(searchValue, Symbol.replace, {
get: function() {
replacerGets += 1;
return searchValue;