From 5f1e61e427d607a470558cc28c7c71464e2e7aa9 Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Mon, 18 May 2020 22:43:39 +0300 Subject: [PATCH] Fix [[IsHTMLDDA]] Symbol.replaceAll test --- .../prototype/replaceAll/custom-replacer-emulates-undefined.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined.js b/test/annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined.js index f091bcf5a0..37357dd3f6 100644 --- a/test/annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined.js +++ b/test/annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined.js @@ -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;