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
1 changed files with 1 additions and 1 deletions

View File

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