-
Notifications
You must be signed in to change notification settings - Fork 851
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
Template Literal support #904
Conversation
One of the failing tests is related to Am wondering if this is just something that Rhino just doesn't support (yet) in general, that If so, I can just mark this test to be excluded and then I'm down to 2 failing tests, which are both the same freezing issue |
There are lots of problems with strict mode, unfortunately. I think it's fine to disable individual tests if they don't work in strict mode. |
This is a lot of work but it's looking very promising. Probably the main thing I'd do is look at the code coverage from "./gradlew jacocoTestReport" and see that the new aspects of the code are being tested. |
Thx, I'll give that a try
…On Fri, May 21, 2021, 7:28 PM Greg Brail ***@***.***> wrote:
This is a lot of work but it's looking very promising. Probably the main
thing I'd do is look at the code coverage from "./gradlew jacocoTestReport"
and see that the new aspects of the code are being tested.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#904 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGADHK4MIRTRIDZUXANL43TO2J2VANCNFSM45I6PTYA>
.
|
Is it correct that jacocoTestReport doesn't generate any output if there are failing tests? Cause I'm not getting any output from jacoco (but I have some failing tests) Found an issue in CodeGen wrt Escape Sequences which only manifests itself when not running at optLevel -1 |
Probably not -- the tests probably have to pass to get coverage.
…On Fri, May 21, 2021 at 12:30 PM Paul Bakker ***@***.***> wrote:
Is it correct that jacocoTestReport doesn't generate any output if there
are failing tests? Cause I'm not getting any output from jacoco (but I have
some failing tests)
Found an issue in CodeGen wrt Escape Sequences which only manifests itself
when not running at optLevel -1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#904 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7I24IIM2BJPOBHHWHOATTO2YHDANCNFSM45I6PTYA>
.
|
48fe328
to
ed7cf8e
Compare
Update on where things are with this PR:
All in all, it's getting pretty close :-) |
manual rebase of Patch 2 & 3 for mozilla#81
Not 100% yet, 3 tests are still failing, 2 of them due to not properly freezing some objects
- removed omit for tests that now passes - omitted strict mode test for tagged template - temporarily omitted test for proper freezing within template literal implementation (still to be fixed before this PR could be merged)
Just for code added/changed in this PR
For code in files touched for changes in this PR
f230339
to
65e549c
Compare
So, from my POV this PR is ready to merge! As per #904 (comment), there's one failing test (due to general strict mode issues in Rhino) and a few area's of code not covered by testing code, but those uncovered area's are also uncovered in similar classes. |
This looks good to me. I'm going to go ahead and merge it. Thanks! |
I think there needs to be some kind of celebration for this one. |
This ... is an amazing pr. Wow, thanks team. |
First of all: tnx for @anba for the initial implementation in #81
This PR rebases the work done in #81 and updates it to be compatible with the latest
This is a Draft PR, just to get it out there and get feedback. So, any feedback appreciated :-)Left to be done:
fix 3 breaking tests from Test262 (see Question: ScriptableObject implements the Map interface, but the Map.get impl. doesn't take into account the ScriptableObject prototype #903, Release 1.7.13 #734 (comment) and https://groups.google.com/g/mozilla-rhino/c/StUgOIRoOFY)formatting (rather not do some of the formatting work already done in Refactor SlotMap and Slot classes #896)closes #243
closes #325
closes #773
closes #294
Enables: updating to a newer version of Test262 (see 6c1582a, #817)