Closed Bug 1410886 Opened 7 years ago Closed 7 years ago

Update test262

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(3 files, 2 obsolete files)

Update test262 to fix intermittent time-outs (bug 1356109).
Adds "optional-catch-binding" to the list of unsupported features.
Attachment #8921038 - Flags: review?(jwalden+bmo)
Updated test262 files.
Attachment #8921039 - Flags: review?(jwalden+bmo)
Updates the skip list and removes duplicate excludes.

Now that test262 is more strict about the features flag, we don't need to manually exclude tests with unsupported features in jstests.list, but instead can rely on automatically marking the tests as unsupported during the test262 import.
Attachment #8921042 - Flags: review?(jwalden+bmo)
Priority: -- → P2
Note to self: Part 3 needs to be updated now that bug 1410194 has landed.
Comment on attachment 8921038 [details] [diff] [review]
bug1410886-part1-exclude-optional-catch.patch

Review of attachment 8921038 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/tests/test262-update.py
@@ +23,4 @@
>                              "BigInt",
>                              "class-fields",
>                              "Promise.prototype.finally",
> +                            "optional-catch-binding",

This is missing the IsHTMLDDA feature in the latest import -- I think -- but that's only because I hadn't landed bug 1410194 yet, and given I did that just now, I think you're good.

This unsupported feature has a bug and a patch that we should probably push on sooner rather than later.
Attachment #8921038 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 8921039 [details] [diff] [review]
bug1410886-part2-update-test262.patch

Review of attachment 8921039 [details] [diff] [review]:
-----------------------------------------------------------------

Gonna assume this is just a flat run without any changes.
Attachment #8921039 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 8921042 [details] [diff] [review]
bug1410886-part3-update-skip-list.patch

Review of attachment 8921042 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/tests/jstests.list
@@ +472,5 @@
>  
> +# https://bugzilla.mozilla.org/show_bug.cgi?id=1410194
> +skip script test262/annexB/language/statements/for-await-of/iterator-close-return-emulates-undefined-throws-when-called.js
> +skip script test262/annexB/language/expressions/yield/star-iterable-return-emulates-undefined-throws-when-called.js
> +skip script test262/annexB/language/statements/for-of/iterator-close-return-emulates-undefined-throws-when-called.js

Oh, you were taking this approach.  Remove this now.
Attachment #8921042 - Flags: review?(jwalden+bmo) → review+
(In reply to Jeff Walden [:Waldo] (I'm baaaaaaack...) from comment #7)
> Comment on attachment 8921042 [details] [diff] [review]
> bug1410886-part3-update-skip-list.patch
> 
> Review of attachment 8921042 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: js/src/tests/jstests.list
> @@ +472,5 @@
> >  
> > +# https://bugzilla.mozilla.org/show_bug.cgi?id=1410194
> > +skip script test262/annexB/language/statements/for-await-of/iterator-close-return-emulates-undefined-throws-when-called.js
> > +skip script test262/annexB/language/expressions/yield/star-iterable-return-emulates-undefined-throws-when-called.js
> > +skip script test262/annexB/language/statements/for-of/iterator-close-return-emulates-undefined-throws-when-called.js
> 
> Oh, you were taking this approach.  Remove this now.

Yeah, I did that instead of adding IsHTMLDDA to the non-supported features list in test262-update.py, because I figured bug 1410194 will land soonish and it's slightly faster to remove four lines in jstests.list than running the import script. :-)
(In reply to André Bargull [:anba] from comment #8)
> Yeah, I did that instead of adding IsHTMLDDA to the non-supported features
> list in test262-update.py, because I figured bug 1410194 will land soonish
> and it's slightly faster to remove four lines in jstests.list than running
> the import script. :-)

LOL, good thing I missed to check if bug 1410194 also updates the generated js/src/tests/test262/shell.js file, which it did not, so in the end I had to redo the update again. :-)
Rerun the update script to regenerate js/src/tests/test262/shell.js per comment #9. Carrying r+.
Attachment #8921039 - Attachment is obsolete: true
Attachment #8921387 - Flags: review+
Remove exclusions for bug 1410194 per comment #8. Carrying r+.
Attachment #8921042 - Attachment is obsolete: true
Attachment #8921388 - Flags: review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a64b980ac0bc
Part 1: Add 'optional-catch-binding' to non-supported features. r=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/8681fde5335f
Part 2: Update test262 files. rs=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/a56ed92679e6
Part 3: Update test262 skip list. r=Waldo
Keywords: checkin-needed
Blocks: 1356109
Blocks: 1415882
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: