Skip to content

Commit

Permalink
Unreviewed, revert test262 expectations for now
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259819
rdar://113381850

* JSTests/test262/config.yaml:
* JSTests/test262/expectations.yaml:

Canonical link: https://commits.webkit.org/266573@main
  • Loading branch information
Constellation committed Aug 4, 2023
1 parent 6dc0ce9 commit d2d51d4
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 2 deletions.
85 changes: 85 additions & 0 deletions JSTests/test262/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,91 @@ skip:
# https://unicode-org.atlassian.net/browse/ICU-21367
- test/intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-yes-to-true.js

# Failing because we are building WebKit with very old ICU headers
- test/intl402/ListFormat/constructor/constructor/locales-invalid.js
- test/intl402/ListFormat/constructor/constructor/locales-valid.js
- test/intl402/ListFormat/constructor/constructor/newtarget-undefined.js
- test/intl402/ListFormat/constructor/constructor/options-invalid.js
- test/intl402/ListFormat/constructor/constructor/options-localeMatcher-invalid.js
- test/intl402/ListFormat/constructor/constructor/options-order.js
- test/intl402/ListFormat/constructor/constructor/options-style-invalid.js
- test/intl402/ListFormat/constructor/constructor/options-style-valid.js
- test/intl402/ListFormat/constructor/constructor/options-throwing-getters.js
- test/intl402/ListFormat/constructor/constructor/options-toobject-prototype.js
- test/intl402/ListFormat/constructor/constructor/options-toobject.js
- test/intl402/ListFormat/constructor/constructor/options-type-invalid.js
- test/intl402/ListFormat/constructor/constructor/options-type-valid.js
- test/intl402/ListFormat/constructor/constructor/options-undefined.js
- test/intl402/ListFormat/constructor/constructor/proto-from-ctor-realm.js
- test/intl402/ListFormat/constructor/constructor/subclassing.js
- test/intl402/ListFormat/constructor/length.js
- test/intl402/ListFormat/constructor/name.js
- test/intl402/ListFormat/constructor/prop-desc.js
- test/intl402/ListFormat/constructor/prototype.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/basic.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/branding.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/length.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/locales-invalid.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/name.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/options-localeMatcher-invalid.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/options-null.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/options-toobject.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/options-undefined.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/prop-desc.js
- test/intl402/ListFormat/constructor/supportedLocalesOf/result-type.js
- test/intl402/ListFormat/instance/extensibility.js
- test/intl402/ListFormat/instance/prototype.js
- test/intl402/ListFormat/prototype/constructor/prop-desc.js
- test/intl402/ListFormat/prototype/format/branding.js
- test/intl402/ListFormat/prototype/format/en-us-default.js
- test/intl402/ListFormat/prototype/format/en-us-disjunction.js
- test/intl402/ListFormat/prototype/format/en-us-narrow.js
- test/intl402/ListFormat/prototype/format/en-us-short.js
- test/intl402/ListFormat/prototype/format/en-us-unit.js
- test/intl402/ListFormat/prototype/format/es-es-long.js
- test/intl402/ListFormat/prototype/format/es-es-narrow.js
- test/intl402/ListFormat/prototype/format/es-es-short.js
- test/intl402/ListFormat/prototype/format/iterable-getiterator-throw.js
- test/intl402/ListFormat/prototype/format/iterable-invalid.js
- test/intl402/ListFormat/prototype/format/iterable-iteratorclose.js
- test/intl402/ListFormat/prototype/format/iterable-iteratorstep-throw.js
- test/intl402/ListFormat/prototype/format/iterable-iteratorvalue-throw.js
- test/intl402/ListFormat/prototype/format/iterable-undefined.js
- test/intl402/ListFormat/prototype/format/iterable.js
- test/intl402/ListFormat/prototype/format/length.js
- test/intl402/ListFormat/prototype/format/name.js
- test/intl402/ListFormat/prototype/format/prop-desc.js
- test/intl402/ListFormat/prototype/formatToParts/branding.js
- test/intl402/ListFormat/prototype/formatToParts/en-us-default.js
- test/intl402/ListFormat/prototype/formatToParts/en-us-disjunction.js
- test/intl402/ListFormat/prototype/formatToParts/en-us-narrow.js
- test/intl402/ListFormat/prototype/formatToParts/en-us-short.js
- test/intl402/ListFormat/prototype/formatToParts/en-us-unit.js
- test/intl402/ListFormat/prototype/formatToParts/es-es-long.js
- test/intl402/ListFormat/prototype/formatToParts/es-es-narrow.js
- test/intl402/ListFormat/prototype/formatToParts/es-es-short.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-getiterator-throw.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-invalid.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-iteratorclose.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-iteratorstep-throw.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-iteratorvalue-throw.js
- test/intl402/ListFormat/prototype/formatToParts/iterable-undefined.js
- test/intl402/ListFormat/prototype/formatToParts/iterable.js
- test/intl402/ListFormat/prototype/formatToParts/length.js
- test/intl402/ListFormat/prototype/formatToParts/name.js
- test/intl402/ListFormat/prototype/formatToParts/prop-desc.js
- test/intl402/ListFormat/prototype/prop-desc.js
- test/intl402/ListFormat/prototype/resolvedOptions/branding.js
- test/intl402/ListFormat/prototype/resolvedOptions/caching.js
- test/intl402/ListFormat/prototype/resolvedOptions/length.js
- test/intl402/ListFormat/prototype/resolvedOptions/name.js
- test/intl402/ListFormat/prototype/resolvedOptions/order.js
- test/intl402/ListFormat/prototype/resolvedOptions/prop-desc.js
- test/intl402/ListFormat/prototype/resolvedOptions/type.js
- test/intl402/ListFormat/prototype/toStringTag/toString.js
- test/intl402/ListFormat/prototype/toStringTag/toStringTag.js


# Test is obsolete. microseconds and nanoseconds are added in the spec.
- test/intl402/Intl/supportedValuesOf/units.js
- test/intl402/NumberFormat/prototype/format/units-invalid.js
Expand Down
76 changes: 74 additions & 2 deletions JSTests/test262/expectations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1438,9 +1438,81 @@ test/intl402/NumberFormat/prototype/format/useGrouping-extended-en-IN.js:
test/intl402/NumberFormat/prototype/format/value-decimal-string.js:
default: 'Test262Error: Expected SameValue(«1», «1.0000000000000001») to be true'
strict mode: 'Test262Error: Expected SameValue(«1», «1.0000000000000001») to be true'
test/intl402/NumberFormat/prototype/formatRange/builtin.js:
default: 'Test262Error: The [[Class]] internal property of a built-in function must be "Function". Expected SameValue(«[object Undefined]», «[object Function]») to be true'
strict mode: 'Test262Error: The [[Class]] internal property of a built-in function must be "Function". Expected SameValue(«[object Undefined]», «[object Function]») to be true'
test/intl402/NumberFormat/prototype/formatRange/en-US.js:
default: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(3, 5)', 'nf.formatRange' is undefined)"
strict mode: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(3, 5)', 'nf.formatRange' is undefined)"
test/intl402/NumberFormat/prototype/formatRange/invoked-as-func.js:
default: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
test/intl402/NumberFormat/prototype/formatRange/length.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/NumberFormat/prototype/formatRange/name.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/NumberFormat/prototype/formatRange/nan-arguments-throws.js:
default: 'Test262Error: Expected a RangeError but got a TypeError'
strict mode: 'Test262Error: Expected a RangeError but got a TypeError'
test/intl402/NumberFormat/prototype/formatRange/prop-desc.js:
default: 'Test262Error: `typeof Intl.NumberFormat.prototype.formatRange` is `function` Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: `typeof Intl.NumberFormat.prototype.formatRange` is `function` Expected SameValue(«undefined», «function») to be true'
test/intl402/NumberFormat/prototype/formatRange/pt-PT.js:
default: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(3, 5)', 'nf.formatRange' is undefined)"
strict mode: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(3, 5)', 'nf.formatRange' is undefined)"
test/intl402/NumberFormat/prototype/formatRange/x-greater-than-y-not-throws.js:
default: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(23, 12)', 'nf.formatRange' is undefined)"
strict mode: "TypeError: nf.formatRange is not a function. (In 'nf.formatRange(23, 12)', 'nf.formatRange' is undefined)"
test/intl402/NumberFormat/prototype/formatRangeToParts/builtin.js:
default: 'Test262Error: The [[Class]] internal property of a built-in function must be "Function". Expected SameValue(«[object Undefined]», «[object Function]») to be true'
strict mode: 'Test262Error: The [[Class]] internal property of a built-in function must be "Function". Expected SameValue(«[object Undefined]», «[object Function]») to be true'
test/intl402/NumberFormat/prototype/formatRangeToParts/en-US.js:
default: 'Test262Error: Expected SameValue(«2», «3») to be true'
strict mode: 'Test262Error: Expected SameValue(«2», «3») to be true'
default: "TypeError: nf.formatRangeToParts is not a function. (In 'nf.formatRangeToParts(3, 5)', 'nf.formatRangeToParts' is undefined)"
strict mode: "TypeError: nf.formatRangeToParts is not a function. (In 'nf.formatRangeToParts(3, 5)', 'nf.formatRangeToParts' is undefined)"
test/intl402/NumberFormat/prototype/formatRangeToParts/invoked-as-func.js:
default: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
test/intl402/NumberFormat/prototype/formatRangeToParts/length.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/NumberFormat/prototype/formatRangeToParts/name.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/NumberFormat/prototype/formatRangeToParts/nan-arguments-throws.js:
default: 'Test262Error: Expected a RangeError but got a TypeError'
strict mode: 'Test262Error: Expected a RangeError but got a TypeError'
test/intl402/NumberFormat/prototype/formatRangeToParts/prop-desc.js:
default: 'Test262Error: `typeof Intl.NumberFormat.prototype.formatRangeToParts` is `function` Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: `typeof Intl.NumberFormat.prototype.formatRangeToParts` is `function` Expected SameValue(«undefined», «function») to be true'
test/intl402/NumberFormat/prototype/formatRangeToParts/x-greater-than-y-not-throws.js:
default: "TypeError: nf.formatRangeToParts is not a function. (In 'nf.formatRangeToParts(23, 12)', 'nf.formatRangeToParts' is undefined)"
strict mode: "TypeError: nf.formatRangeToParts is not a function. (In 'nf.formatRangeToParts(23, 12)', 'nf.formatRangeToParts' is undefined)"
test/intl402/NumberFormat/test-option-roundingPriority-mixed-options.js:
default: 'Test262Error: Formatted value for 1, en-US-u-nu-arab and options {"minimumSignificantDigits":2,"minimumFractionDigits":2,"roundingPriority":"morePrecision","userGrouping":false} is ١٫٠٠; expected ١٫٠.'
strict mode: 'Test262Error: Formatted value for 1, en-US-u-nu-arab and options {"minimumSignificantDigits":2,"minimumFractionDigits":2,"roundingPriority":"morePrecision","userGrouping":false} is ١٫٠٠; expected ١٫٠.'
test/intl402/PluralRules/prototype/selectRange/default-en-us.js:
default: "TypeError: pr.selectRange is not a function. (In 'pr.selectRange(102, 201)', 'pr.selectRange' is undefined)"
strict mode: "TypeError: pr.selectRange is not a function. (In 'pr.selectRange(102, 201)', 'pr.selectRange' is undefined)"
test/intl402/PluralRules/prototype/selectRange/invoked-as-func.js:
default: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: Expected SameValue(«undefined», «function») to be true'
test/intl402/PluralRules/prototype/selectRange/length.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/PluralRules/prototype/selectRange/name.js:
default: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
strict mode: "TypeError: undefined is not an object (evaluating 'Object.getOwnPropertyDescriptor(obj, name)')"
test/intl402/PluralRules/prototype/selectRange/nan-arguments-throws.js:
default: 'Test262Error: NaN/Number Expected a RangeError but got a TypeError'
strict mode: 'Test262Error: NaN/Number Expected a RangeError but got a TypeError'
test/intl402/PluralRules/prototype/selectRange/prop-desc.js:
default: 'Test262Error: `typeof Intl.PluralRules.prototype.selectRange` is `function` Expected SameValue(«undefined», «function») to be true'
strict mode: 'Test262Error: `typeof Intl.PluralRules.prototype.selectRange` is `function` Expected SameValue(«undefined», «function») to be true'
test/intl402/PluralRules/prototype/selectRange/x-greater-than-y-not-throws.js:
default: "TypeError: pr.selectRange is not a function. (In 'pr.selectRange(201, 102)', 'pr.selectRange' is undefined)"
strict mode: "TypeError: pr.selectRange is not a function. (In 'pr.selectRange(201, 102)', 'pr.selectRange' is undefined)"
test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-function.js:
default: 'Test262: This statement should not be evaluated.'
test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-generator.js:
Expand Down

0 comments on commit d2d51d4

Please sign in to comment.