Repository navigation
Fixed a bunch of test262 panics (#817) - #1046
Merged
Merged
Conversation
This also implements a spec-compliant `parseInt()` function.
Test262 conformance changes:
|
Codecov Report
@@ Coverage Diff @@
## master #1046 +/- ##
==========================================
+ Coverage 58.56% 58.60% +0.03%
==========================================
Files 172 172
Lines 11920 11943 +23
==========================================
+ Hits 6981 6999 +18
- Misses 4939 4944 +5
Continue to review full report at Codecov.
|
Benchmark for af9976eClick to view benchmark
|
RageKnify
suggested changes
Jan 7, 2021
RageKnify
left a comment
Contributor
There was a problem hiding this comment.
A few of the comments citing the spec are really long, I think it'd be best to split into multiple lines.
The rest looks great.
Member
Author
Should be fixed now :) |
Benchmark for d5a8137Click to view benchmark
|
RageKnify
approved these changes
Jan 7, 2021
HalidOdat
approved these changes
Jan 8, 2021
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR works towards a panic-free boa. It fixes:
RegExpdeleteargumentparseInt()panics if radix was out of bounds.parseInt()function.I also took the opportunity to update the dependencies and the test262 submodule, and fix a couple of clippy warnings in tests, along with a documentation link.