Changeset 275598 in webkit


Ignore:
Timestamp:
Apr 7, 2021 2:30:51 AM (3 years ago)
Author:
ysuzuki@apple.com
Message:

[JSC] Update test262
https://bugs.webkit.org/show_bug.cgi?id=224272

Reviewed by Ross Kirsling.

  • test262/latest-changes-summary.txt:
  • test262/test/intl402/DisplayNames/options-getoptionsobject.js: Added.
  • test262/test/intl402/ListFormat/constructor/constructor/options-getoptionsobject.js: Renamed from JSTests/test262/test/intl402/ListFormat/constructor/constructor/options-toobject.js.
  • test262/test/intl402/ListFormat/constructor/constructor/options-toobject-prototype.js: Removed.
  • test262/test/intl402/Segmenter/constructor/constructor/options-getoptionsobject.js: Added.
  • test262/test/intl402/Segmenter/constructor/constructor/options-toobject-prototype.js: Removed.
  • test262/test/intl402/Segmenter/constructor/constructor/options-toobject.js: Removed.
  • test262/test/language/expressions/in/rhs-yield-absent-non-strict.js: Added.
  • test262/test/language/expressions/in/rhs-yield-absent-strict.js: Added.
  • test262/test/language/expressions/in/rhs-yield-present.js: Added.

(isNameIn):

  • test262/test262-Revision.txt:
Location:
trunk/JSTests
Files:
5 added
3 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r275597 r275598  
     12021-04-07  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        [JSC] Update test262
     4        https://bugs.webkit.org/show_bug.cgi?id=224272
     5
     6        Reviewed by Ross Kirsling.
     7
     8        * test262/latest-changes-summary.txt:
     9        * test262/test/intl402/DisplayNames/options-getoptionsobject.js: Added.
     10        * test262/test/intl402/ListFormat/constructor/constructor/options-getoptionsobject.js: Renamed from JSTests/test262/test/intl402/ListFormat/constructor/constructor/options-toobject.js.
     11        * test262/test/intl402/ListFormat/constructor/constructor/options-toobject-prototype.js: Removed.
     12        * test262/test/intl402/Segmenter/constructor/constructor/options-getoptionsobject.js: Added.
     13        * test262/test/intl402/Segmenter/constructor/constructor/options-toobject-prototype.js: Removed.
     14        * test262/test/intl402/Segmenter/constructor/constructor/options-toobject.js: Removed.
     15        * test262/test/language/expressions/in/rhs-yield-absent-non-strict.js: Added.
     16        * test262/test/language/expressions/in/rhs-yield-absent-strict.js: Added.
     17        * test262/test/language/expressions/in/rhs-yield-present.js: Added.
     18        (isNameIn):
     19        * test262/test262-Revision.txt:
     20
    1212021-04-06  Yusuke Suzuki  <ysuzuki@apple.com>
    222
  • trunk/JSTests/test262/latest-changes-summary.txt

    r273874 r275598  
    1 A test/built-ins/Array/prototype/sort/call-with-primitive.js
    2 M test/built-ins/Function/internals/Call/class-ctor-realm.js
    3 A test/language/expressions/object/dstr/object-rest-proxy-get-not-called-on-dontenum-keys.js
    4 A test/language/expressions/object/dstr/object-rest-proxy-gopd-not-called-on-excluded-keys.js
    5 A test/language/expressions/object/object-spread-proxy-get-not-called-on-dontenum-keys.js
    6 A test/language/expressions/object/object-spread-proxy-no-excluded-keys.js
    7 M test/language/expressions/object/object-spread-proxy-ownkeys-returned-keys-order.js
    8 D test/language/statements/class/constructor-inferred-observable-iteration.js
    9 M test/language/statements/class/subclass/default-constructor-spread-override.js
     1A test/intl402/DisplayNames/options-getoptionsobject.js
     2R051 test/intl402/ListFormat/constructor/constructor/options-toobject.js test/intl402/ListFormat/constructor/constructor/options-getoptionsobject.js
     3D test/intl402/ListFormat/constructor/constructor/options-toobject-prototype.js
     4A test/intl402/Segmenter/constructor/constructor/options-getoptionsobject.js
     5D test/intl402/Segmenter/constructor/constructor/options-toobject-prototype.js
     6D test/intl402/Segmenter/constructor/constructor/options-toobject.js
     7A test/language/expressions/in/rhs-yield-absent-non-strict.js
     8A test/language/expressions/in/rhs-yield-absent-strict.js
     9A test/language/expressions/in/rhs-yield-present.js
  • trunk/JSTests/test262/test/intl402/ListFormat/constructor/constructor/options-getoptionsobject.js

    r275597 r275598  
    77info: |
    88    InitializeListFormat (listFormat, locales, options)
    9 features: [Intl.ListFormat]
     9features: [Intl.ListFormat,BigInt]
    1010---*/
    1111
    1212const optionsArguments = [
     13  null,
    1314  true,
     15  false,
    1416  "test",
    1517  7,
    1618  Symbol(),
     19  123456789n,
    1720];
    1821
    1922for (const options of optionsArguments) {
    20   const lf = new Intl.ListFormat([], options);
    21   const resolvedOptions = lf.resolvedOptions();
    22   assert.sameValue(resolvedOptions.type, "conjunction",
    23     `options argument ${String(options)} should yield the correct value for "type"`);
    24   assert.sameValue(resolvedOptions.style, "long",
    25     `options argument ${String(options)} should yield the correct value for "style"`);
     23  assert.throws(TypeError, function() { new Intl.ListFormat([], options) })
    2624}
  • trunk/JSTests/test262/test262-Revision.txt

    r273874 r275598  
    11test262 remote url: git@github.com:tc39/test262.git
    2 test262 revision: c00087e12970388e7f9892da88d3c082b31c0431
     2test262 revision: 31126581e7290f9233c29cefd93f66c6ac78f1c9
Note: See TracChangeset for help on using the changeset viewer.