mirror of https://github.com/tc39/test262.git
Fix [[IsHTMLDDA]] Symbol.replaceAll test
This commit is contained in:
parent
9338f22908
commit
5f1e61e427
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue