Changeset 273218 in webkit
- Timestamp:
- Feb 21, 2021 4:51:17 AM (3 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 16 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r273160 r273218 1 2021-02-21 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Upgrade test262 4 https://bugs.webkit.org/show_bug.cgi?id=222243 5 6 Reviewed by Alexey Shvayka. 7 8 * test262/config.yaml: 9 * test262/expectations.yaml: 10 * test262/latest-changes-summary.txt: 11 * test262/test/built-ins/Object/assign/target-is-frozen-accessor-property-set-succeeds.js: Added. 12 (target1.set foo): 13 (target2.Object.freeze.set sym): 14 * test262/test/built-ins/Object/assign/target-is-frozen-data-property-set-throws.js: Added. 15 * test262/test/built-ins/Object/assign/target-is-non-extensible-existing-accessor-property.js: Added. 16 (target1.Object.preventExtensions.set foo): 17 (target2.set sym): 18 * test262/test/built-ins/Object/assign/target-is-non-extensible-existing-data-property.js: Added. 19 * test262/test/built-ins/Object/assign/target-is-non-extensible-property-creation-throws.js: Added. 20 (get bar): 21 * test262/test/built-ins/Object/assign/target-is-sealed-existing-accessor-property.js: Added. 22 (target1.Object.seal.set foo): 23 (target2.set sym): 24 * test262/test/built-ins/Object/assign/target-is-sealed-existing-data-property.js: Added. 25 * test262/test/built-ins/Object/assign/target-is-sealed-property-creation-throws.js: Added. 26 (get bar): 27 * test262/test/built-ins/Object/freeze/proxy-with-defineProperty-handler.js: Added. 28 (proxy.new.Proxy.get foo): 29 (proxy.new.Proxy.set foo): 30 (set foo.defineProperty): 31 (set foo): 32 * test262/test/built-ins/Object/seal/proxy-with-defineProperty-handler.js: Added. 33 (proxy.new.Proxy.get foo): 34 (proxy.new.Proxy.set foo): 35 (set foo.defineProperty): 36 (set foo): 37 * test262/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-detachbuffer.js: 38 (testWithBigIntTypedArrayConstructors): 39 * test262/test/built-ins/TypedArray/prototype/findIndex/BigInt/predicate-may-detach-buffer.js: 40 (testWithBigIntTypedArrayConstructors): 41 * test262/test/intl402/DateTimeFormat/constructor-no-instanceof.js: Added. 42 * test262/test/intl402/DateTimeFormat/prototype/format/no-instanceof.js: Added. 43 * test262/test/intl402/DateTimeFormat/prototype/resolvedOptions/no-instanceof.js: Added. 44 * test262/test/intl402/NumberFormat/constructor-no-instanceof.js: Added. 45 * test262/test/intl402/NumberFormat/prototype/format/no-instanceof.js: Added. 46 * test262/test/intl402/NumberFormat/prototype/resolvedOptions/no-instanceof.js: Added. 47 * test262/test262-Revision.txt: 48 1 49 2021-02-19 Michael Saboff <msaboff@apple.com> 2 50 -
trunk/JSTests/test262/config.yaml
r273160 r273218 62 62 # New ICU (66~) raises a different failure 63 63 - test/intl402/Locale/constructor-non-iana-canon.js 64 # New ICU (68~) raises a different failure 65 - test/intl402/Locale/likely-subtags.js 66 # Pass only in ICU 68~ 67 - test/intl402/Locale/constructor-tag.js 68 - test/intl402/Intl/getCanonicalLocales/unicode-ext-key-with-digit.js 69 70 # ICU canonicalization bug 71 # https://unicode-org.atlassian.net/browse/ICU-21367 72 - test/intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-yes-to-true.js 64 73 65 74 # Failing because we are building WebKit with very old ICU headers … … 198 207 - test/intl402/NumberFormat/prototype/resolvedOptions/compactDisplay.js 199 208 - test/intl402/NumberFormat/style-unit.js 209 210 # These tests become obsolete. Will be updated. 211 # https://github.com/tc39/test262/pull/2952 212 - test/intl402/Segmenter/constructor/constructor/options-toobject.js 213 - test/intl402/Segmenter/constructor/constructor/options-toobject-prototype.js -
trunk/JSTests/test262/expectations.yaml
r273140 r273218 836 836 default: 'SyntaxError: Invalid regular expression: number too large in {} quantifier' 837 837 strict mode: 'SyntaxError: Invalid regular expression: number too large in {} quantifier' 838 test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-detachbuffer.js:839 default: 'TypeError: Invalid argument type in ToBigInt operation (Testing with BigInt64Array.)'840 strict mode: 'TypeError: Invalid argument type in ToBigInt operation (Testing with BigInt64Array.)'841 test/built-ins/TypedArray/prototype/findIndex/BigInt/predicate-may-detach-buffer.js:842 default: 'Test262Error: throws a TypeError getting a value from the detached buffer Expected a TypeError to be thrown but no exception was thrown at all (Testing with BigInt64Array.)'843 strict mode: 'Test262Error: throws a TypeError getting a value from the detached buffer Expected a TypeError to be thrown but no exception was thrown at all (Testing with BigInt64Array.)'844 838 test/intl402/DateTimeFormat/prototype/formatRange/en-US.js: 845 839 default: 'Test262Error: Expected SameValue(«1/3/2019 – 1/5/2019», «1/3/2019 – 1/5/2019») to be true' … … 878 872 default: 'Test262Error: Expected SameValue(«und-NO-u-sd-no23», «und-NO-u-sd-no50») to be true' 879 873 strict mode: 'Test262Error: Expected SameValue(«und-NO-u-sd-no23», «und-NO-u-sd-no50») to be true' 880 test/intl402/Intl/getCanonicalLocales/unicode-ext-key-with-digit.js:881 default: 'Test262Error: Expected SameValue(«en-u-0c-yes», «en-u-0c») to be true'882 strict mode: 'Test262Error: Expected SameValue(«en-u-0c-yes», «en-u-0c») to be true'883 874 test/intl402/Locale/constructor-apply-options-canonicalizes-twice.js: 884 875 default: 'Test262Error: Expected SameValue(«ru-Armn-SU», «ru-Armn-AM») to be true' … … 887 878 default: "Test262Error: new Intl.Locale('en', {region: \"554\"}).toString() returns \"en-NZ\" Expected SameValue(«en-554», «en-NZ») to be true" 888 879 strict mode: "Test262Error: new Intl.Locale('en', {region: \"554\"}).toString() returns \"en-NZ\" Expected SameValue(«en-554», «en-NZ») to be true" 889 test/intl402/Locale/constructor-tag.js:890 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'891 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'892 880 test/intl402/Locale/extensions-grandfathered.js: 893 881 default: 'Test262Error: Expected SameValue(«fr-Cyrl-FR-u-nu-latn-x-cel-gaulish», «fr-Cyrl-FR-u-nu-latn») to be true' … … 896 884 default: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 897 885 strict mode: 'Test262Error: Expected SameValue(«xtg-x-cel-gaulish», «xtg») to be true' 898 test/intl402/Locale/likely-subtags.js:899 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'900 strict mode: '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'901 886 test/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js: 902 887 default: 'Test262Error: "und".minimize() should be "en" Expected SameValue(«en-u-va-posix», «en») to be true' -
trunk/JSTests/test262/latest-changes-summary.txt
r272351 r273218 1 A test/built-ins/Function/property-order.js 2 A test/built-ins/Function/prototype/property-order.js 3 A test/built-ins/Object/property-order.js 4 A test/built-ins/Promise/all/resolve-element-function-property-order.js 5 A test/built-ins/Promise/allSettled/reject-element-function-property-order.js 6 A test/built-ins/Promise/allSettled/resolve-element-function-property-order.js 7 A test/built-ins/Promise/any/reject-element-function-property-order.js 8 A test/built-ins/Promise/executor-function-property-order.js 9 A test/built-ins/Promise/property-order.js 10 A test/built-ins/Promise/reject-function-property-order.js 11 A test/built-ins/Promise/resolve-function-property-order.js 12 A test/built-ins/Proxy/property-order.js 13 A test/built-ins/Proxy/revocable/revocation-function-property-order.js 14 A test/built-ins/ThrowTypeError/property-order.js 15 A test/intl402/Collator/prototype/compare/compare-function-property-order.js 16 A test/intl402/DateTimeFormat/prototype/format/format-function-property-order.js 17 A test/intl402/NumberFormat/prototype/format/format-function-property-order.js 18 M test/language/export/escaped-as-export-specifier.js 19 M test/language/export/escaped-default.js 20 M test/language/export/escaped-from.js 21 M test/language/expressions/async-arrow-function/escaped-async-line-terminator.js 22 M test/language/expressions/async-arrow-function/escaped-async.js 23 M test/language/expressions/async-function/escaped-async.js 24 M test/language/expressions/async-generator/escaped-async.js 25 M test/language/expressions/dynamic-import/escape-sequence-import.js 26 M test/language/expressions/import.meta/syntax/escape-sequence-import.js 27 M test/language/expressions/import.meta/syntax/escape-sequence-meta.js 28 M test/language/expressions/new.target/escaped-new.js 29 M test/language/expressions/new.target/escaped-target.js 30 M test/language/expressions/object/method-definition/async-gen-meth-escaped-async.js 31 M test/language/expressions/object/method-definition/async-meth-escaped-async.js 32 M test/language/expressions/object/method-definition/escaped-get.js 33 M test/language/expressions/object/method-definition/escaped-set.js 34 M test/language/import/escaped-as-import-specifier.js 35 M test/language/import/escaped-as-namespace-import.js 36 M test/language/import/escaped-from.js 37 M test/language/statements/async-function/escaped-async.js 38 M test/language/statements/async-generator/escaped-async.js 39 M test/language/statements/class/async-gen-meth-escaped-async.js 40 M test/language/statements/class/async-meth-escaped-async.js 41 M test/language/statements/class/syntax/escaped-static.js 42 M test/language/statements/for-await-of/escaped-of.js 43 M test/language/statements/for-of/escaped-of.js 44 M test/language/statements/let/syntax/escaped-let.js 1 A test/built-ins/Object/assign/target-is-frozen-accessor-property-set-succeeds.js 2 A test/built-ins/Object/assign/target-is-frozen-data-property-set-throws.js 3 A test/built-ins/Object/assign/target-is-non-extensible-existing-accessor-property.js 4 A test/built-ins/Object/assign/target-is-non-extensible-existing-data-property.js 5 A test/built-ins/Object/assign/target-is-non-extensible-property-creation-throws.js 6 A test/built-ins/Object/assign/target-is-sealed-existing-accessor-property.js 7 A test/built-ins/Object/assign/target-is-sealed-existing-data-property.js 8 A test/built-ins/Object/assign/target-is-sealed-property-creation-throws.js 9 A test/built-ins/Object/freeze/proxy-with-defineProperty-handler.js 10 A test/built-ins/Object/seal/proxy-with-defineProperty-handler.js 11 M test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-detachbuffer.js 12 M test/built-ins/TypedArray/prototype/findIndex/BigInt/predicate-may-detach-buffer.js 13 A test/intl402/DateTimeFormat/constructor-no-instanceof.js 14 A test/intl402/DateTimeFormat/prototype/format/no-instanceof.js 15 A test/intl402/DateTimeFormat/prototype/resolvedOptions/no-instanceof.js 16 A test/intl402/NumberFormat/constructor-no-instanceof.js 17 A test/intl402/NumberFormat/prototype/format/no-instanceof.js 18 A test/intl402/NumberFormat/prototype/resolvedOptions/no-instanceof.js -
trunk/JSTests/test262/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-detachbuffer.js
r269737 r273218 1 1 // Copyright (C) 2016 the V8 project authors. All rights reserved. 2 // Copyright (C) 2021 Apple Inc. All rights reserved. 2 3 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- … … 23 24 24 25 sample.filter(function() { 26 var flag = true; 25 27 if (loops === 0) { 26 28 $DETACHBUFFER(sample.buffer); 29 } else { 30 flag = false; 27 31 } 28 32 loops++; 29 return true;33 return flag; 30 34 }); 31 35 -
trunk/JSTests/test262/test/built-ins/TypedArray/prototype/findIndex/BigInt/predicate-may-detach-buffer.js
r230382 r273218 1 1 // Copyright (C) 2016 the V8 project authors. All rights reserved. 2 // Copyright (C) 2021 Apple Inc. All rights reserved. 2 3 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- … … 37 38 var sample = new TA(2); 38 39 var loops = 0; 39 var completion = false;40 40 41 assert.throws(TypeError, function() { 42 sample.findIndex(function() { 43 loops++; 41 sample.findIndex(function() { 42 if (loops === 0) { 44 43 $DETACHBUFFER(sample.buffer); 45 completion = true; 46 }); 47 }, "throws a TypeError getting a value from the detached buffer"); 48 49 assert.sameValue(loops, 1, "predicated is called once"); 50 assert(completion, "abrupt completion does not come from DETACHBUFFER"); 44 } 45 loops++; 46 }); 47 assert.sameValue(loops, 2, "predicate is called once"); 51 48 }); -
trunk/JSTests/test262/test262-Revision.txt
r272351 r273218 1 1 test262 remote url: git@github.com:tc39/test262.git 2 test262 revision: 8f904d8cc8be19f4b3d0ed0dd88a657eb03b45ce2 test262 revision: f6034ebe9fb92d4d3dea644b9225bdc18b44a7ab
Note: See TracChangeset
for help on using the changeset viewer.