Closed Bug 1429778 Opened 6 years ago Closed 6 years ago

Update test262 (January 2018 edition)

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(4 files)

      No description provided.
- Marks the new features flags "Array.prototype.flatMap" and "Array.prototype.flatten" as unsupported (bug 1421398).
- Adds a new feature check category for conditionally enabled features, so we don't need to mark every file explicitly when conditionally enabled features are used.
- Updates a comment about the currently unused "phase" tag for negative tests.
- Removes the explicit include for "testBuiltInObject.js", because upstream removed this file.
Attachment #8941883 - Flags: review?(sphink)
Updated test262 files with test262-update.py
Attachment #8941885 - Flags: review?(sphink)
- Move the conditionally enabled tests for "Intl" and "SIMD" to the block for conditionally enabled tests.
- Disable complete "Atomics" and "SharedArrayBuffer" directories instead of listing each file individually.
- Three tests using "SharedArrayBuffer" are missing the "SharedArrayBuffer" features tag, mark them explicitly as only conditionally supported. (I'll prepare a PR for upstream to add the missing features tag.)
- Update the list of failing tests:
  - Three new tests for typed arrays with detached array buffers.
  - Two Intl tests were renamed upstream.
  - An expected failure for bug 1321616.
  - One test file is incorrect (I'll prepare a PR to fix this upstream).
Attachment #8941887 - Flags: review?(sphink)
Attachment #8941883 - Flags: review?(sphink) → review+
Attachment #8941887 - Flags: review?(sphink) → review+
Attachment #8941885 - Flags: review?(sphink) → review+
Enable more tests which are now passing and remove test exclusions for removed tests:

- https://github.com/tc39/test262/pull/914 updated test262 to avoid "name" as a global variable name.
- https://github.com/tc39/test262/pull/1041 removed Object.defineProperty tests for the global object.
- And :jonco fixed bug 1340304 in bug 1420420.
Attachment #8942017 - Flags: review?(sphink)
Comment on attachment 8942017 [details] [diff] [review]
bug1429778-part4-enable-more-tests.patch

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

Good stuff.
Attachment #8942017 - Flags: review?(sphink) → review+
Blocks: 1421398
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/03a6d763743d
Part 1: Update test262 unsupported features list. r=sfink
https://hg.mozilla.org/integration/mozilla-inbound/rev/a87567bd0018
Part 2: Update test262 - January 2018 edition. rs=sfink
https://hg.mozilla.org/integration/mozilla-inbound/rev/b9440c1e1d17
Part 3: Update test262 exclusion list. r=sfink
https://hg.mozilla.org/integration/mozilla-inbound/rev/5d64b00f5795
Part 4: Enable more tests which are now passing. r=sfink
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: