-
- Downloads
Update tests for String.prototype.matchAll
As per spec changes (https://github.com/tc39/proposal-string-matchall/pull/35), removed tests related to the removed IsRegExp call. To prevent older implementations (not observing spec change) from passing, added a new test to verify the reduced number of observable calls to IsRegExp. Also fix a misreference in `features` frontmatter.
Showing
- test/built-ins/RegExp/prototype/Symbol.matchAll/internal-regexp-lastindex-not-zero.js 0 additions, 33 deletions...ype/Symbol.matchAll/internal-regexp-lastindex-not-zero.js
- test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-called-once.js 19 additions, 8 deletions.../RegExp/prototype/Symbol.matchAll/isregexp-called-once.js
- test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-throws.js 0 additions, 29 deletions...totype/Symbol.matchAll/isregexp-internal-regexp-throws.js
- test/built-ins/RegExp/prototype/Symbol.matchAll/regexpcreate-this-throws.js 2 additions, 1 deletion...Exp/prototype/Symbol.matchAll/regexpcreate-this-throws.js
- test/built-ins/Symbol/matchAll/prop-desc.js 1 addition, 1 deletiontest/built-ins/Symbol/matchAll/prop-desc.js
Please register or sign in to comment