Changeset 271225 in webkit
- Timestamp:
- Jan 6, 2021, 10:28:36 PM (6 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 16 added
- 1 deleted
- 14 edited
-
ChangeLog (modified) (1 diff)
-
test262/expectations.yaml (modified) (2 diffs)
-
test262/harness/testIntl.js (modified) (1 diff)
-
test262/latest-changes-summary.txt (modified) (1 diff)
-
test262/test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-false-for-zero.js (added)
-
test262/test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-true-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-false-for-zero.js (added)
-
test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-true-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-tointeger.js (deleted)
-
test262/test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js (added)
-
test262/test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js (added)
-
test262/test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer-during-fromIndex-returns-single-comma.js (added)
-
test262/test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer.js (modified) (2 diffs)
-
test262/test/built-ins/TypedArray/prototype/join/detached-buffer-during-fromIndex-returns-single-comma.js (added)
-
test262/test/built-ins/TypedArray/prototype/join/detached-buffer.js (modified) (2 diffs)
-
test262/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js (added)
-
test262/test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js (added)
-
test262/test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js (added)
-
test262/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/BigInt/index-prop-desc.js (modified) (1 diff)
-
test262/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js (modified) (1 diff)
-
test262/test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js (added)
-
test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js (added)
-
test262/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js (modified) (1 diff)
-
test262/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js (modified) (1 diff)
-
test262/test/intl402/Intl/getCanonicalLocales/preferred-variant.js (modified) (1 diff)
-
test262/test/intl402/Locale/extensions-grandfathered.js (modified) (1 diff)
-
test262/test/intl402/Locale/likely-subtags-grandfathered.js (modified) (5 diffs)
-
test262/test262-Revision.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r271224 r271225 1 2021-01-06 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Update test262 4 https://bugs.webkit.org/show_bug.cgi?id=220398 5 6 Reviewed by Mark Lam. 7 8 * test262/expectations.yaml: 9 * test262/harness/testIntl.js: 10 * test262/latest-changes-summary.txt: 11 * test262/test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-false-for-zero.js: Added. 12 (testWithBigIntTypedArrayConstructors): 13 * test262/test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-true-for-undefined.js: Added. 14 (testWithBigIntTypedArrayConstructors): 15 * test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-false-for-zero.js: Added. 16 (testWithTypedArrayConstructors): 17 * test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-true-for-undefined.js: Added. 18 (testWithTypedArrayConstructors): 19 * test262/test/built-ins/TypedArray/prototype/includes/detached-buffer-tointeger.js: Removed. 20 * test262/test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js: Added. 21 (testWithBigIntTypedArrayConstructors): 22 * test262/test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js: Added. 23 (testWithBigIntTypedArrayConstructors): 24 * test262/test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js: Added. 25 (testWithTypedArrayConstructors): 26 * test262/test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js: Added. 27 (testWithTypedArrayConstructors): 28 * test262/test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer-during-fromIndex-returns-single-comma.js: Added. 29 (testWithBigIntTypedArrayConstructors): 30 * test262/test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer.js: 31 (let.obj.toString): 32 (testWithBigIntTypedArrayConstructors): 33 (obj.toString): Deleted. 34 * test262/test/built-ins/TypedArray/prototype/join/detached-buffer-during-fromIndex-returns-single-comma.js: Added. 35 (testWithTypedArrayConstructors): 36 * test262/test/built-ins/TypedArray/prototype/join/detached-buffer.js: 37 (let.obj.toString): 38 (testWithTypedArrayConstructors): 39 (obj.toString): Deleted. 40 * test262/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js: Added. 41 (testWithBigIntTypedArrayConstructors): 42 * test262/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js: Added. 43 (testWithBigIntTypedArrayConstructors): 44 * test262/test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js: Added. 45 (testWithTypedArrayConstructors): 46 * test262/test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js: Added. 47 (testWithTypedArrayConstructors): 48 * test262/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/BigInt/index-prop-desc.js: 49 (testWithBigIntTypedArrayConstructors): 50 * test262/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js: 51 (testWithTypedArrayConstructors): 52 * test262/test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js: Added. 53 * test262/test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js: Added. 54 (zip): 55 (compare): 56 * test262/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js: 57 * test262/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js: 58 * test262/test/intl402/Intl/getCanonicalLocales/preferred-variant.js: 59 * test262/test/intl402/Locale/extensions-grandfathered.js: 60 * test262/test/intl402/Locale/likely-subtags-grandfathered.js: 61 (of.regularGrandfathered.const.extra.of.extras.i.test): 62 * test262/test262-Revision.txt: 63 1 64 2021-01-06 Yusuke Suzuki <ysuzuki@apple.com> 2 65 -
trunk/JSTests/test262/expectations.yaml
r271119 r271225 849 849 strict mode: 'Test262Error: The value of Intl.getCanonicalLocales(tag)[0] equals the value of `canonical` Expected SameValue(«en-US-u-va-posix», «posix») to be true' 850 850 test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js: 851 default: 'Test262Error: Expected SameValue(«cmn», «zh») to be true' 852 strict mode: 'Test262Error: Expected SameValue(«cmn», «zh») to be true' 853 test/intl402/Intl/getCanonicalLocales/preferred-variant.js: 854 default: 'Test262Error: Expected SameValue(«ja-Latn-alalc97», «ja-Latn-alalc97-hepburn») to be true' 855 strict mode: 'Test262Error: Expected SameValue(«ja-Latn-alalc97», «ja-Latn-alalc97-hepburn») to be true' 851 default: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 852 strict mode: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 856 853 test/intl402/Intl/getCanonicalLocales/transformed-ext-canonical.js: 857 854 default: 'Test262Error: Expected SameValue(«sl-t-sl-rozaj-biske-1994», «sl-t-sl-1994-biske-rozaj») to be true' … … 878 875 default: 'Test262Error: new Intl.Locale("sl-ROZAJ-BISKE-1994").toString() returns "sl-1994-biske-rozaj" Expected SameValue(«sl-rozaj-biske-1994», «sl-1994-biske-rozaj») to be true' 879 876 strict mode: 'Test262Error: new Intl.Locale("sl-ROZAJ-BISKE-1994").toString() returns "sl-1994-biske-rozaj" Expected SameValue(«sl-rozaj-biske-1994», «sl-1994-biske-rozaj») to be true' 877 test/intl402/Locale/extensions-grandfathered.js: 878 default: 'Test262Error: Expected SameValue(«fr-Cyrl-FR-u-nu-latn-x-cel-gaulish», «fr-Cyrl-FR-u-nu-latn») to be true' 879 strict mode: 'Test262Error: Expected SameValue(«fr-Cyrl-FR-u-nu-latn-x-cel-gaulish», «fr-Cyrl-FR-u-nu-latn») to be true' 880 880 test/intl402/Locale/likely-subtags-grandfathered.js: 881 default: 'Test262Error: Expected SameValue(« cmn», «zh») to be true'882 strict mode: 'Test262Error: Expected SameValue(« cmn», «zh») to be true'881 default: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 882 strict mode: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 883 883 test/intl402/Locale/likely-subtags.js: 884 884 default: 'Test262Error: "en-u-co".maximize() should be "en-Latn-US-u-co" Expected SameValue(«en-Latn-US-u-co-yes», «en-Latn-US-u-co») to be true' -
trunk/JSTests/test262/harness/testIntl.js
r266503 r271225 329 329 330 330 "art-lojban": "jbo", 331 "cel-gaulish": "xtg -x-cel-gaulish",331 "cel-gaulish": "xtg", 332 332 "zh-guoyu": "zh", 333 333 "zh-hakka": "hak", -
trunk/JSTests/test262/latest-changes-summary.txt
r270695 r271225 1 A test/built-ins/Array/prototype/reverse/array-has-one-entry.js 2 M test/built-ins/Array/prototype/sort/bug_596_1.js 3 A test/built-ins/Math/max/Math.max_each-element-coerced.js 4 A test/built-ins/Math/min/Math.min_each-element-coerced.js 5 M test/built-ins/String/prototype/at/prop-desc.js 6 M test/built-ins/TypedArray/prototype/at/prop-desc.js 7 M test/built-ins/TypedArray/prototype/fill/BigInt/fill-values-non-numeric-throw.js 8 M test/built-ins/TypedArray/prototype/fill/BigInt/fill-values-non-numeric.js 9 M test/built-ins/TypedArray/prototype/fill/BigInt/fill-values-symbol-throws.js 10 M test/built-ins/TypedArray/prototype/fill/BigInt/return-abrupt-from-set-value.js 11 M test/built-ins/TypedArray/prototype/fill/fill-values-non-numeric.js 12 M test/built-ins/TypedArray/prototype/fill/fill-values-symbol-throws.js 13 M test/built-ins/TypedArray/prototype/fill/return-abrupt-from-set-value.js 14 M test/built-ins/TypedArray/prototype/includes/detached-buffer-tointeger.js 15 M test/built-ins/TypedArray/prototype/map/return-new-typedarray-conversion-operation-consistent-nan.js 16 M test/built-ins/TypedArray/prototype/map/return-new-typedarray-conversion-operation.js 17 M test/built-ins/TypedArrayConstructors/ctors/object-arg/conversion-operation-consistent-nan.js 18 M test/built-ins/TypedArrayConstructors/ctors/object-arg/conversion-operation.js 19 M test/built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-to-primitive-typeerror.js 20 M test/built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-to-primitive.js 21 M test/built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-tostring.js 22 M test/built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-valueof-typeerror.js 23 M test/built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-valueof.js 24 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/bigint-tobigint64.js 25 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/bigint-tobiguint64.js 26 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/boolean-tobigint.js 27 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/null-tobigint.js 28 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/number-tobigint.js 29 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/string-nan-tobigint.js 30 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/string-tobigint.js 31 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/symbol-tobigint.js 32 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/throws-setting-obj-to-primitive-typeerror.js 33 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/throws-setting-obj-to-primitive.js 34 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/throws-setting-obj-tostring.js 35 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/throws-setting-obj-valueof-typeerror.js 36 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/throws-setting-obj-valueof.js 37 M test/built-ins/TypedArrayConstructors/ctors-bigint/object-arg/undefined-tobigint.js 38 M test/built-ins/TypedArrayConstructors/from/BigInt/source-value-is-symbol-throws.js 39 M test/built-ins/TypedArrayConstructors/from/nan-conversion.js 40 M test/built-ins/TypedArrayConstructors/from/source-value-is-symbol-throws.js 41 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/desc-value-throws.js 42 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/detached-buffer-realm.js 43 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/detached-buffer.js 44 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/set-value.js 45 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/BigInt/tonumber-value-detached-buffer.js 46 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/conversion-operation.js 47 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/desc-value-throws.js 48 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/detached-buffer-realm.js 49 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/detached-buffer.js 50 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/set-value.js 51 M test/built-ins/TypedArrayConstructors/internals/DefineOwnProperty/tonumber-value-detached-buffer.js 52 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/detached-buffer-realm.js 53 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/indexed-value.js 54 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-minus-zero.js 55 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-not-integer.js 56 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/key-is-out-of-bounds.js 57 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/tonumber-value-detached-buffer.js 58 M test/built-ins/TypedArrayConstructors/internals/Set/BigInt/tonumber-value-throws.js 59 M test/built-ins/TypedArrayConstructors/internals/Set/conversion-operation-consistent-nan.js 60 M test/built-ins/TypedArrayConstructors/internals/Set/conversion-operation.js 61 M test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer-realm.js 62 M test/built-ins/TypedArrayConstructors/internals/Set/indexed-value.js 63 M test/built-ins/TypedArrayConstructors/internals/Set/key-is-minus-zero.js 64 M test/built-ins/TypedArrayConstructors/internals/Set/key-is-not-integer.js 65 M test/built-ins/TypedArrayConstructors/internals/Set/key-is-out-of-bounds.js 66 M test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-detached-buffer.js 67 M test/built-ins/TypedArrayConstructors/internals/Set/tonumber-value-throws.js 68 M test/built-ins/TypedArrayConstructors/of/BigInt/argument-is-symbol-throws.js 69 M test/built-ins/TypedArrayConstructors/of/BigInt/new-instance.js 70 M test/built-ins/TypedArrayConstructors/of/argument-is-symbol-throws.js 71 M test/built-ins/TypedArrayConstructors/of/nan-conversion.js 72 M test/built-ins/TypedArrayConstructors/of/new-instance.js 73 M test/built-ins/parseInt/S15.1.2.2_A2_T2.js 74 M test/intl402/DateTimeFormat/prototype/formatRange/date-x-greater-than-y-throws.js 75 M test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-x-greater-than-y-throws.js 76 A test/language/arguments-object/mapped/enumerable-configurable-accessor-descriptor.js 77 A test/language/arguments-object/mapped/nonconfigurable-descriptors-define-failure.js 78 A test/language/arguments-object/mapped/writable-enumerable-configurable-descriptor.js 79 A test/language/destructuring/binding/syntax/destructuring-array-parameters-function-arguments-length.js 80 A test/language/destructuring/binding/syntax/destructuring-object-parameters-function-arguments-length.js 81 A test/language/expressions/async-function/named-reassign-fn-name-in-body-in-arrow.js 82 A test/language/expressions/async-function/named-reassign-fn-name-in-body-in-eval.js 83 A test/language/expressions/async-function/named-reassign-fn-name-in-body.js 84 A test/language/expressions/async-function/named-strict-error-reassign-fn-name-in-body-in-arrow.js 85 A test/language/expressions/async-function/named-strict-error-reassign-fn-name-in-body-in-eval.js 86 A test/language/expressions/async-function/named-strict-error-reassign-fn-name-in-body.js 87 A test/language/expressions/async-generator/named-no-strict-reassign-fn-name-in-body-in-arrow.js 88 A test/language/expressions/async-generator/named-no-strict-reassign-fn-name-in-body-in-eval.js 89 A test/language/expressions/async-generator/named-no-strict-reassign-fn-name-in-body.js 90 A test/language/expressions/async-generator/named-strict-error-reassign-fn-name-in-body-in-arrow.js 91 A test/language/expressions/async-generator/named-strict-error-reassign-fn-name-in-body-in-eval.js 92 A test/language/expressions/async-generator/named-strict-error-reassign-fn-name-in-body.js 93 A test/language/expressions/function/named-no-strict-reassign-fn-name-in-body-in-arrow.js 94 A test/language/expressions/function/named-no-strict-reassign-fn-name-in-body-in-eval.js 95 A test/language/expressions/function/named-no-strict-reassign-fn-name-in-body.js 96 A test/language/expressions/function/named-strict-error-reassign-fn-name-in-body-in-arrow.js 97 A test/language/expressions/function/named-strict-error-reassign-fn-name-in-body-in-eval.js 98 A test/language/expressions/function/named-strict-error-reassign-fn-name-in-body.js 99 A test/language/expressions/generators/named-no-strict-reassign-fn-name-in-body-in-arrow.js 100 A test/language/expressions/generators/named-no-strict-reassign-fn-name-in-body-in-eval.js 101 A test/language/expressions/generators/named-no-strict-reassign-fn-name-in-body.js 102 A test/language/expressions/generators/named-strict-error-reassign-fn-name-in-body-in-arrow.js 103 A test/language/expressions/generators/named-strict-error-reassign-fn-name-in-body-in-eval.js 104 A test/language/expressions/generators/named-strict-error-reassign-fn-name-in-body.js 1 M harness/testIntl.js 2 A test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-false-for-zero.js 3 A test/built-ins/TypedArray/prototype/includes/BigInt/detached-buffer-during-fromIndex-returns-true-for-undefined.js 4 A test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-false-for-zero.js 5 A test/built-ins/TypedArray/prototype/includes/detached-buffer-during-fromIndex-returns-true-for-undefined.js 6 D test/built-ins/TypedArray/prototype/includes/detached-buffer-tointeger.js 7 A test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js 8 A test/built-ins/TypedArray/prototype/indexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js 9 A test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js 10 A test/built-ins/TypedArray/prototype/indexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js 11 A test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer-during-fromIndex-returns-single-comma.js 12 M test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer.js 13 A test/built-ins/TypedArray/prototype/join/detached-buffer-during-fromIndex-returns-single-comma.js 14 M test/built-ins/TypedArray/prototype/join/detached-buffer.js 15 A test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js 16 A test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js 17 A test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-undefined.js 18 A test/built-ins/TypedArray/prototype/lastIndexOf/detached-buffer-during-fromIndex-returns-minus-one-for-zero.js 19 M test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/BigInt/index-prop-desc.js 20 M test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js 21 A test/intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js 22 A test/intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js 23 M test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js 24 M test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js 25 M test/intl402/Intl/getCanonicalLocales/preferred-variant.js 26 M test/intl402/Locale/extensions-grandfathered.js 27 M test/intl402/Locale/likely-subtags-grandfathered.js -
trunk/JSTests/test262/test/built-ins/TypedArray/prototype/join/BigInt/detached-buffer.js
r230382 r271225 5 5 description: Throws a TypeError if this has a detached buffer 6 6 info: | 7 22.2.3.15%TypedArray%.prototype.join ( separator )7 %TypedArray%.prototype.join ( separator ) 8 8 9 This function is not generic. ValidateTypedArray is applied to the this value 10 prior to evaluating the algorithm. If its result is an abrupt completion that 11 exception is thrown instead of evaluating the algorithm. 9 The interpretation and use of the arguments of %TypedArray%.prototype.join are the same as for Array.prototype.join as defined in 22.1.3.15. 12 10 13 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )11 When the join method is called with one argument separator, the following steps are taken: 14 12 13 Let O be the this value. 14 Perform ? ValidateTypedArray(O). 15 15 ... 16 5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. 17 ... 16 18 17 includes: [testBigIntTypedArray.js, detachArrayBuffer.js] 19 18 features: [BigInt, TypedArray] 20 19 ---*/ 21 20 22 varobj = {23 toString : function() {21 let obj = { 22 toString() { 24 23 throw new Test262Error(); 25 24 } … … 27 26 28 27 testWithBigIntTypedArrayConstructors(function(TA) { 29 varsample = new TA(1);28 let sample = new TA(1); 30 29 $DETACHBUFFER(sample.buffer); 31 assert.throws(TypeError, function(){30 assert.throws(TypeError, () => { 32 31 sample.join(obj); 33 32 }); -
trunk/JSTests/test262/test/built-ins/TypedArray/prototype/join/detached-buffer.js
r228028 r271225 5 5 description: Throws a TypeError if this has a detached buffer 6 6 info: | 7 22.2.3.15%TypedArray%.prototype.join ( separator )7 %TypedArray%.prototype.join ( separator ) 8 8 9 This function is not generic. ValidateTypedArray is applied to the this value 10 prior to evaluating the algorithm. If its result is an abrupt completion that 11 exception is thrown instead of evaluating the algorithm. 9 The interpretation and use of the arguments of %TypedArray%.prototype.join are the same as for Array.prototype.join as defined in 22.1.3.15. 12 10 13 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )11 When the join method is called with one argument separator, the following steps are taken: 14 12 13 Let O be the this value. 14 Perform ? ValidateTypedArray(O). 15 15 ... 16 5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. 17 ... 16 18 17 includes: [testTypedArray.js, detachArrayBuffer.js] 19 18 features: [TypedArray] 20 19 ---*/ 21 20 22 varobj = {23 toString : function() {21 let obj = { 22 toString() { 24 23 throw new Test262Error(); 25 24 } … … 27 26 28 27 testWithTypedArrayConstructors(function(TA) { 29 varsample = new TA(1);28 let sample = new TA(1); 30 29 $DETACHBUFFER(sample.buffer); 31 assert.throws(TypeError, function(){30 assert.throws(TypeError, () => { 32 31 sample.join(obj); 33 32 }); -
trunk/JSTests/test262/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/BigInt/index-prop-desc.js
r269737 r271225 30 30 assert.sameValue(descriptor0.writable, true); 31 31 32 assert.sameValue(descriptor1.value, 4 2n);32 assert.sameValue(descriptor1.value, 43n); 33 33 assert.sameValue(descriptor1.configurable, true); 34 34 assert.sameValue(descriptor1.enumerable, true); -
trunk/JSTests/test262/test/built-ins/TypedArrayConstructors/internals/Set/detached-buffer.js
r269737 r271225 31 31 $DETACHBUFFER(sample.buffer); 32 32 sample[0] = 1; 33 33 34 assert.sameValue(sample[0], undefined, '`sample[0] = 1` is undefined'); 34 35 sample['1.1'] = 1; -
trunk/JSTests/test262/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js
r248115 r271225 38 38 "cmn-hans-cn-u-ca-t-ca-x-t-u": "zh-Hans-CN-t-ca-u-ca-x-t-u", 39 39 "de-gregory-u-ca-gregory": "de-gregory-u-ca-gregory", 40 "sgn-GR": " sgn-GR",40 "sgn-GR": "gss", 41 41 "ji": "yi", 42 42 "de-DD": "de-DE", -
trunk/JSTests/test262/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js
r248115 r271225 63 63 var regularGrandfatheredUTS35 = { 64 64 "art-lojban": "jbo", 65 "cel-gaulish": "xtg -x-cel-gaulish",65 "cel-gaulish": "xtg", 66 66 "zh-guoyu": "zh", 67 67 "zh-hakka": "hak", -
trunk/JSTests/test262/test/intl402/Intl/getCanonicalLocales/preferred-variant.js
r260591 r271225 37 37 ---*/ 38 38 39 // Generated from https://github.com/unicode-org/cldr/blob/master/common/supplemental/supplementalMetadata.xml40 // File-Date: 2020-03-3039 // https://github.com/unicode-org/cldr/blame/master/common/supplemental/supplementalMetadata.xml#L531 40 // http://unicode.org/reports/tr35/#LocaleId_Canonicalization 41 41 var canonicalizedTags = { 42 "ja-latn-hepburn-heploc": "ja-Latn-alalc97 -hepburn",42 "ja-latn-hepburn-heploc": "ja-Latn-alalc97", 43 43 }; 44 44 -
trunk/JSTests/test262/test/intl402/Locale/extensions-grandfathered.js
r260591 r271225 32 32 numberingSystem: "latn", 33 33 }, 34 canonical: "fr-Cyrl-FR-u-nu-latn -x-cel-gaulish",34 canonical: "fr-Cyrl-FR-u-nu-latn", 35 35 }, 36 36 -
trunk/JSTests/test262/test/intl402/Locale/likely-subtags-grandfathered.js
r260591 r271225 69 69 { 70 70 tag: "cel-gaulish", 71 canonical: "xtg -x-cel-gaulish",71 canonical: "xtg", 72 72 }, 73 73 { … … 124 124 ]; 125 125 126 for (const {tag } of regularGrandfathered) {126 for (const {tag, canonical} of regularGrandfathered) { 127 127 const priv = "-x-0"; 128 const tagMax = new Intl.Locale( tag+ priv).maximize().toString().slice(0, -priv.length);129 const tagMin = new Intl.Locale( tag+ priv).minimize().toString().slice(0, -priv.length);128 const tagMax = new Intl.Locale(canonical + priv).maximize().toString().slice(0, -priv.length); 129 const tagMin = new Intl.Locale(canonical + priv).minimize().toString().slice(0, -priv.length); 130 130 131 131 for (const extra of extras) { 132 132 const loc = new Intl.Locale(tag + "-" + extra); 133 133 134 let canonical = tag+ "-" + extra;134 let canonicalWithExtra = canonical + "-" + extra; 135 135 let canonicalMax = tagMax + "-" + extra; 136 136 let canonicalMin = tagMin + "-" + extra; … … 140 140 const sorted = s => s.replace(/(-([a-z0-9]{5,8}|[0-9][a-z0-9]{3}))+$/i, 141 141 m => m.split("-").sort().join("-")); 142 canonical = sorted(canonical);142 canonicalWithExtra = sorted(canonicalWithExtra); 143 143 canonicalMax = sorted(canonicalMax); 144 144 canonicalMin = sorted(canonicalMin); … … 157 157 // 158 158 // From <http://unicode.org/reports/tr35/#Language_Tag_to_Locale_Identifier>: 159 // 160 // > A valid [BCP47] language tag can be converted to a valid Unicode BCP 47 locale 161 // > identifier according to Annex C. LocaleId Canonicalization 162 // 163 // From <http://unicode.org/reports/tr35/#LocaleId_Canonicalization> 164 // > The languageAlias, scriptAlias, territoryAlias, and variantAlias elements are used 165 // > as rules to transform an input source localeId. The first step is to transform the 166 // > languageId portion of the localeId. 159 167 // 160 // > If the BCP 47 primary language subtag matches the type attribute of a languageAlias 161 // > element in Supplemental Data, replace the language subtag with the replacement value. 162 // > 1. ... 163 // > 2. Five special deprecated grandfathered codes (such as i-default) are in type 164 // attributes, and are also replaced. 165 // > 3. ... 166 // 167 // So let's assume grandfathered tags are treated as 'primary language subtag' if and only 168 // if no additional subtags are present. Because in all other cases, we don't really have a 169 // grandfathered tag, but only some arbitrary combination of random subtags. 170 // 171 // Basically what we expect here is that only grandfathered without any additional subtags 172 // are canonicalised to their modern form and in all other cases they're left as is. 168 // For regular grandfathered tags, "lojban", "gaulish", "guoyu", "hakka", and "xiang" will 169 // therefore be considered as the "variant" subtag and be replaced by rules in languageAlias. 173 170 // 174 171 // Not all language tag processor will pass this test, for example because they don't order … … 188 185 // So, if your implementation fails this assertion, but you still like to test the rest of 189 186 // this file, a pull request to split this file seems the way to go! 190 assert.sameValue(loc.toString(), canonical );187 assert.sameValue(loc.toString(), canonicalWithExtra); 191 188 192 189 assert.sameValue(loc.maximize().toString(), canonicalMax); -
trunk/JSTests/test262/test262-Revision.txt
r270695 r271225 1 1 test262 remote url: git@github.com:tc39/test262.git 2 test262 revision: 51666c5315ee674d3157544497d933310e2cd6b82 test262 revision: 6cf3433cf8f44c471a7e4f47e5ba36d32ebb7b69
Note:
See TracChangeset
for help on using the changeset viewer.