-
-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix GetSubstitution
#2933
Fix GetSubstitution
#2933
Conversation
74d9f4f
to
47b8d38
Compare
Test262 conformance changes
Fixed tests (12):
|
47b8d38
to
682eba7
Compare
Codecov Report
@@ Coverage Diff @@
## main #2933 +/- ##
==========================================
- Coverage 52.09% 52.06% -0.03%
==========================================
Files 435 435
Lines 43713 43696 -17
==========================================
- Hits 22771 22750 -21
- Misses 20942 20946 +4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Really like the additional notes to clarify spec deviations :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Seconding that the notes updates were nice.
Fixes
GetSubstitution
which is used in byRegExp.prototype[@@replace]
andString.prototype.replace()
callsRegExp.prototype[@@replace]
.Fixes the remaining ES5 tests on
buil-ins/String
test suite.Because of the bug in the spec about
GetSubstitution
. I had to deviate from the spec, added a comment clarifying the deviation.