Changeset 272000 in webkit
- Timestamp:
- Jan 27, 2021 9:21:03 PM (3 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 24 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r271993 r272000 1 2021-01-27 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Update test262 4 https://bugs.webkit.org/show_bug.cgi?id=221078 5 6 Reviewed by Alexey Shvayka. 7 8 Update test262 to the latest one. 9 10 * test262/latest-changes-summary.txt: 11 * test262/test/built-ins/Array/prototype/sort/precise-comparefn-throws.js: Added. 12 (set logs): 13 (set const): 14 * test262/test/built-ins/Array/prototype/sort/precise-getter-appends-elements.js: Added. 15 * test262/test/built-ins/Array/prototype/sort/precise-getter-decreases-length.js: Added. 16 * test262/test/built-ins/Array/prototype/sort/precise-getter-deletes-predecessor.js: Added. 17 * test262/test/built-ins/Array/prototype/sort/precise-getter-deletes-successor.js: Added. 18 * test262/test/built-ins/Array/prototype/sort/precise-getter-increases-length.js: Added. 19 * test262/test/built-ins/Array/prototype/sort/precise-getter-pops-elements.js: Added. 20 * test262/test/built-ins/Array/prototype/sort/precise-getter-sets-predecessor.js: Added. 21 * test262/test/built-ins/Array/prototype/sort/precise-getter-sets-successor.js: Added. 22 * test262/test/built-ins/Array/prototype/sort/precise-prototype-accessors.js: Added. 23 (set logs): 24 * test262/test/built-ins/Array/prototype/sort/precise-prototype-element.js: Added. 25 * test262/test/built-ins/Array/prototype/sort/precise-setter-appends-elements.js: Added. 26 * test262/test/built-ins/Array/prototype/sort/precise-setter-decreases-length.js: Added. 27 * test262/test/built-ins/Array/prototype/sort/precise-setter-deletes-predecessor.js: Added. 28 * test262/test/built-ins/Array/prototype/sort/precise-setter-deletes-successor.js: Added. 29 * test262/test/built-ins/Array/prototype/sort/precise-setter-increases-length.js: Added. 30 * test262/test/built-ins/Array/prototype/sort/precise-setter-pops-elements.js: Added. 31 * test262/test/built-ins/Array/prototype/sort/precise-setter-sets-predecessor.js: Added. 32 * test262/test/built-ins/Array/prototype/sort/precise-setter-sets-successor.js: Added. 33 * test262/test/built-ins/Object/seal/object-seal-configurable-attribute-of-own-data-property-of-o-is-set-from-true-to-false-and-other-attributes-of-the-property-are-unaltered.js: Renamed from JSTests/test262/test/built-ins/Object/seal/object-seal-the-configurable-attribute-of-own-data-property-of-o-is-set-from-true-to-false-and-other-attributes-of-the-property-are-unaltered.js. 34 * test262/test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js: 35 (dtf.format): 36 * test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js: 37 (assert.sameValue): 38 * test262/test/language/expressions/class/elements/super-access-from-arrow-func-on-field.js: Added. 39 (C): 40 (C.staticFunc): 41 * test262/test/language/statements/class/elements/super-access-from-arrow-func-on-field.js: Added. 42 (C.prototype.func): 43 (C.staticFunc): 44 (C): 45 * test262/test/language/statements/for-of/head-lhs-async-dot.js: Added. 46 * test262/test/language/statements/for-of/head-lhs-async-invalid.js: Added. 47 * test262/test/language/statements/for/head-init-async-of.js: Added. 48 (async of): 49 * test262/test262-Revision.txt: 50 1 51 2021-01-27 Yusuke Suzuki <ysuzuki@apple.com> 2 52 -
trunk/JSTests/test262/latest-changes-summary.txt
r271225 r272000 1 M harness/testIntl.js2 A test/built-ins/ TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-false-for-zero.js3 A test/built-ins/ TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-true-for-undefined.js4 A test/built-ins/ TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-false-for-zero.js5 A test/built-ins/ TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-true-for-undefined.js6 D test/built-ins/TypedArray/prototype/includes/detached-buffer-tointeger.js7 A test/built-ins/ TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js8 A test/built-ins/ TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js9 A test/built-ins/ TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js10 A test/built-ins/ TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js11 A test/built-ins/ TypedArray/prototype/join/BigInt/detached-buffer-during-fromIndex-returns-single-comma.js12 M test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer.js13 A test/built-ins/ TypedArray/prototype/join/detached-buffer-during-fromIndex-returns-single-comma.js14 M test/built-ins/TypedArray/prototype/join/detached-buffer.js15 A test/built-ins/ TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js16 A test/built-ins/ TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js17 A test/built-ins/ TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js18 A test/built-ins/ TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js19 M test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/BigInt/index-prop-desc.js20 M test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js21 Atest/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js22 Atest/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js23 M test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js24 M test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js25 M test/intl402/Intl/getCanonicalLocales/preferred-variant.js26 M test/intl402/Locale/extensions-grandfathered.js27 M test/intl402/Locale/likely-subtags-grandfathered.js1 A test/built-ins/Array/prototype/sort/precise-comparefn-throws.js 2 A test/built-ins/Array/prototype/sort/precise-getter-appends-elements.js 3 A test/built-ins/Array/prototype/sort/precise-getter-decreases-length.js 4 A test/built-ins/Array/prototype/sort/precise-getter-deletes-predecessor.js 5 A test/built-ins/Array/prototype/sort/precise-getter-deletes-successor.js 6 A test/built-ins/Array/prototype/sort/precise-getter-increases-length.js 7 A test/built-ins/Array/prototype/sort/precise-getter-pops-elements.js 8 A test/built-ins/Array/prototype/sort/precise-getter-sets-predecessor.js 9 A test/built-ins/Array/prototype/sort/precise-getter-sets-successor.js 10 A test/built-ins/Array/prototype/sort/precise-prototype-accessors.js 11 A test/built-ins/Array/prototype/sort/precise-prototype-element.js 12 A test/built-ins/Array/prototype/sort/precise-setter-appends-elements.js 13 A test/built-ins/Array/prototype/sort/precise-setter-decreases-length.js 14 A test/built-ins/Array/prototype/sort/precise-setter-deletes-predecessor.js 15 A test/built-ins/Array/prototype/sort/precise-setter-deletes-successor.js 16 A test/built-ins/Array/prototype/sort/precise-setter-increases-length.js 17 A test/built-ins/Array/prototype/sort/precise-setter-pops-elements.js 18 A test/built-ins/Array/prototype/sort/precise-setter-sets-predecessor.js 19 A test/built-ins/Array/prototype/sort/precise-setter-sets-successor.js 20 R100 test/built-ins/Object/seal/object-seal-the-configurable-attribute-of-own-data-property-of-o-is-set-from-true-to-false-and-other-attributes-of-the-property-are-unaltered.js test/built-ins/Object/seal/object-seal-configurable-attribute-of-own-data-property-of-o-is-set-from-true-to-false-and-other-attributes-of-the-property-are-unaltered.js 21 M test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js 22 M test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js 23 A test/language/expressions/class/elements/super-access-from-arrow-func-on-field.js 24 A test/language/statements/class/elements/super-access-from-arrow-func-on-field.js 25 A test/language/statements/for/head-init-async-of.js 26 A test/language/statements/for-of/head-lhs-async-dot.js 27 A test/language/statements/for-of/head-lhs-async-invalid.js -
trunk/JSTests/test262/test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js
r271225 r272000 1 1 // Copyright 2021 Google Inc. All rights reserved. 2 // Copyright 2021 Apple Inc. All rights reserved. 2 3 // This code is governed by the BSD license found in the LICENSE file. 3 4 … … 28 29 ---*/ 29 30 30 const date = new Date(2019, 7, 10, 1, 2, 3, 234); 31 { 32 const date = new Date(2019, 7, 10, 1, 2, 3, 234); 31 33 32 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" });33 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with date options");34 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" }); 35 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with date options"); 34 36 35 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" });36 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with time options");37 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" }); 38 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with time options"); 37 39 38 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" });39 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with date-time options");40 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" }); 41 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with date-time options"); 40 42 41 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 42 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with dateStyle/timeStyle"); 43 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 44 assert.sameValue(dtf.formatRange(date, date), dtf.format(date), "same output with dateStyle/timeStyle"); 45 } 46 { 47 const date1 = new Date(2019, 7, 10, 1, 2, 3, 234); 48 const date2 = new Date(2019, 7, 10, 1, 2, 3, 235); 49 50 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" }); 51 assert.sameValue(dtf.formatRange(date1, date2), dtf.format(date1), "same output with date options"); 52 53 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" }); 54 assert.sameValue(dtf.formatRange(date1, date2), dtf.format(date1), "same output with time options"); 55 56 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" }); 57 assert.sameValue(dtf.formatRange(date1, date2), dtf.format(date1), "same output with date-time options"); 58 59 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 60 assert.sameValue(dtf.formatRange(date1, date2), dtf.format(date1), "same output with dateStyle/timeStyle"); 61 } -
trunk/JSTests/test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js
r271225 r272000 1 1 // Copyright 2021 Google Inc. All rights reserved. 2 // Copyright 2021 Apple Inc. All rights reserved. 2 3 // This code is governed by the BSD license found in the LICENSE file. 3 4 … … 43 44 } 44 45 45 const date = new Date(2019, 7, 10, 1, 2, 3, 234); 46 { 47 const date = new Date(2019, 7, 10, 1, 2, 3, 234); 46 48 47 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" });48 compare(dtf.formatRange(date, date), dtf.format(date), "same output with date options");49 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" }); 50 compare(dtf.formatRangeToParts(date, date), dtf.formatToParts(date), "same output with date options"); 49 51 50 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" });51 compare(dtf.formatRange(date, date), dtf.format(date), "same output with time options");52 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" }); 53 compare(dtf.formatRangeToParts(date, date), dtf.formatToParts(date), "same output with time options"); 52 54 53 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" });54 compare(dtf.formatRange(date, date), dtf.format(date), "same output with date-time options");55 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" }); 56 compare(dtf.formatRangeToParts(date, date), dtf.formatToParts(date), "same output with date-time options"); 55 57 56 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 57 compare(dtf.formatRange(date, date), dtf.format(date), "same output with dateStyle/timeStyle"); 58 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 59 compare(dtf.formatRangeToParts(date, date), dtf.formatToParts(date), "same output with dateStyle/timeStyle"); 60 } 61 { 62 const date1 = new Date(2019, 7, 10, 1, 2, 3, 234); 63 const date2 = new Date(2019, 7, 10, 1, 2, 3, 235); 64 65 let dtf = new Intl.DateTimeFormat("en", { year: "numeric", month: "short", day: "numeric" }); 66 compare(dtf.formatRangeToParts(date1, date2), dtf.formatToParts(date1), "same output with date options"); 67 68 dtf = new Intl.DateTimeFormat("en", { minute: "numeric", second: "numeric" }); 69 compare(dtf.formatRangeToParts(date1, date2), dtf.formatToParts(date1), "same output with time options"); 70 71 dtf = new Intl.DateTimeFormat("en", { month: "short", day: "numeric", minute: "numeric" }); 72 compare(dtf.formatRangeToParts(date1, date2), dtf.formatToParts(date1), "same output with date-time options"); 73 74 dtf = new Intl.DateTimeFormat("en", { dateStyle: "long", timeStyle: "short" }); 75 compare(dtf.formatRangeToParts(date1, date2), dtf.formatToParts(date1), "same output with dateStyle/timeStyle"); 76 } -
trunk/JSTests/test262/test262-Revision.txt
r271225 r272000 1 1 test262 remote url: git@github.com:tc39/test262.git 2 test262 revision: 6cf3433cf8f44c471a7e4f47e5ba36d32ebb7b692 test262 revision: 79060efc7fedf6d9cf92efd14f4c45d06b800662
Note: See TracChangeset
for help on using the changeset viewer.