diff --git a/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java b/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java index 70ee634479..83c4817885 100644 --- a/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java +++ b/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java @@ -111,7 +111,6 @@ public class Test262SuiteTest { "regexp-lookbehind", "regexp-named-groups", "regexp-unicode-property-escapes", - "rest-parameters", "super", "String.prototype.matchAll", "Symbol.matchAll", diff --git a/testsrc/test262.properties b/testsrc/test262.properties index 322e1ab255..3770a6fbc5 100644 --- a/testsrc/test262.properties +++ b/testsrc/test262.properties @@ -3045,7 +3045,7 @@ language/expressions/addition 9/48 (18.75%) get-symbol-to-prim-err.js order-of-evaluation.js -language/expressions/arrow-function 210/333 (63.06%) +language/expressions/arrow-function 209/333 (62.76%) dstr/ary-init-iter-close.js dstr/ary-init-iter-get-err.js dstr/ary-init-iter-get-err-array-prototype.js @@ -3224,7 +3224,7 @@ language/expressions/arrow-function 210/333 (63.06%) syntax/arrowparameters-cover-initialize-2.js syntax/arrowparameters-cover-rest-concisebody-functionbody.js syntax/arrowparameters-cover-rest-lineterminator-concisebody-functionbody.js - array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + array-destructuring-param-strict-body.js ArrowFunction_restricted-properties.js dflt-params-abrupt.js {unsupported: [default-parameters]} dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters]} @@ -3243,12 +3243,11 @@ language/expressions/arrow-function 210/333 (63.06%) lexical-super-property.js lexical-super-property-from-within-constructor.js lexical-supercall-from-immediately-invoked-arrow.js - object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + object-destructuring-param-strict-body.js param-dflt-yield-expr.js {unsupported: [default-parameters]} param-dflt-yield-id-non-strict.js {unsupported: [default-parameters]} param-dflt-yield-id-strict.js {unsupported: [default-parameters]} params-duplicate.js non-strict - rest-param-strict-body.js {unsupported: [rest-parameters]} scope-body-lex-distinct.js non-strict scope-param-elem-var-close.js non-strict scope-param-elem-var-open.js non-strict @@ -3645,7 +3644,7 @@ language/expressions/function 203/248 (81.85%) early-errors 4/4 (100.0%) arguments-with-arguments-fn.js non-strict arguments-with-arguments-lex.js non-strict - array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + array-destructuring-param-strict-body.js dflt-params-abrupt.js {unsupported: [default-parameters]} dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters]} dflt-params-arg-val-undefined.js {unsupported: [default-parameters]} @@ -3659,7 +3658,7 @@ language/expressions/function 203/248 (81.85%) length-dflt.js {unsupported: [default-parameters]} name-arguments-strict-body.js non-strict name-eval-strict-body.js non-strict - object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + object-destructuring-param-strict-body.js param-dflt-yield-non-strict.js {unsupported: [default-parameters]} param-dflt-yield-strict.js {unsupported: [default-parameters]} param-duplicated-strict-body-1.js non-strict @@ -3668,7 +3667,7 @@ language/expressions/function 203/248 (81.85%) param-eval-strict-body.js non-strict params-dflt-args-unmapped.js {unsupported: [default-parameters]} params-dflt-ref-arguments.js {unsupported: [default-parameters]} - rest-param-strict-body.js {unsupported: [rest-parameters]} + rest-param-strict-body.js scope-body-lex-distinct.js non-strict scope-name-var-open-non-strict.js non-strict scope-name-var-open-strict.js strict @@ -3855,7 +3854,7 @@ language/expressions/generators 227/275 (82.55%) dstr/obj-ptrn-rest-val-obj.js {unsupported: [object-rest]} arguments-with-arguments-fn.js non-strict arguments-with-arguments-lex.js non-strict - array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + array-destructuring-param-strict-body.js default-proto.js dflt-params-abrupt.js {unsupported: [default-parameters]} dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters]} @@ -3878,7 +3877,7 @@ language/expressions/generators 227/275 (82.55%) named-yield-spread-arr-multiple.js named-yield-spread-arr-single.js named-yield-spread-obj.js - object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + object-destructuring-param-strict-body.js param-dflt-yield.js {unsupported: [default-parameters]} params-dflt-args-unmapped.js {unsupported: [default-parameters]} params-dflt-ref-arguments.js {unsupported: [default-parameters]} @@ -3887,7 +3886,7 @@ language/expressions/generators 227/275 (82.55%) prototype-own-properties.js prototype-relation-to-function.js prototype-value.js - rest-param-strict-body.js {unsupported: [rest-parameters]} + rest-param-strict-body.js scope-body-lex-distinct.js non-strict scope-name-var-close.js non-interpreted scope-name-var-open-non-strict.js non-strict @@ -3962,7 +3961,7 @@ language/expressions/multiplication 4/40 (10.0%) bigint-wrapped-values.js {unsupported: [computed-property-names]} order-of-evaluation.js -language/expressions/object 839/1081 (77.61%) +language/expressions/object 836/1081 (77.34%) dstr/async-gen-meth-ary-init-iter-close.js {unsupported: [async-iteration, async]} dstr/async-gen-meth-ary-init-iter-get-err.js {unsupported: [async-iteration]} dstr/async-gen-meth-ary-init-iter-get-err-array-prototype.js {unsupported: [async-iteration]} @@ -4506,7 +4505,7 @@ language/expressions/object 839/1081 (77.61%) method-definition/async-gen-await-as-identifier-reference-escaped.js {unsupported: [async-iteration]} method-definition/async-gen-await-as-label-identifier.js {unsupported: [async-iteration]} method-definition/async-gen-await-as-label-identifier-escaped.js {unsupported: [async-iteration]} - method-definition/async-gen-meth-array-destructuring-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-gen-meth-array-destructuring-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-gen-meth-dflt-params-abrupt.js {unsupported: [default-parameters, async-iteration]} method-definition/async-gen-meth-dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters, async-iteration, async]} method-definition/async-gen-meth-dflt-params-arg-val-undefined.js {unsupported: [default-parameters, async-iteration, async]} @@ -4518,10 +4517,10 @@ language/expressions/object 839/1081 (77.61%) method-definition/async-gen-meth-dflt-params-trailing-comma.js {unsupported: [async-iteration, async]} method-definition/async-gen-meth-escaped-async.js {unsupported: [async-iteration]} method-definition/async-gen-meth-eval-var-scope-syntax-err.js {unsupported: [default-parameters, async-iteration]} - method-definition/async-gen-meth-object-destructuring-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-gen-meth-object-destructuring-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-gen-meth-params-trailing-comma-multiple.js {unsupported: [async-iteration, async]} method-definition/async-gen-meth-params-trailing-comma-single.js {unsupported: [async-iteration, async]} - method-definition/async-gen-meth-rest-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-gen-meth-rest-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-gen-meth-rest-params-trailing-comma-early-error.js {unsupported: [async-iteration]} method-definition/async-gen-yield-as-binding-identifier.js {unsupported: [async-iteration]} method-definition/async-gen-yield-as-binding-identifier-escaped.js {unsupported: [async-iteration]} @@ -4598,7 +4597,7 @@ language/expressions/object 839/1081 (77.61%) method-definition/async-gen-yield-star-sync-next.js {unsupported: [async-iteration, async]} method-definition/async-gen-yield-star-sync-return.js {unsupported: [async-iteration, async]} method-definition/async-gen-yield-star-sync-throw.js {unsupported: [async-iteration, async]} - method-definition/async-meth-array-destructuring-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-meth-array-destructuring-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-meth-dflt-params-abrupt.js {unsupported: [default-parameters, async-functions, async]} method-definition/async-meth-dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters, async-functions, async]} method-definition/async-meth-dflt-params-arg-val-undefined.js {unsupported: [default-parameters, async-functions, async]} @@ -4610,10 +4609,10 @@ language/expressions/object 839/1081 (77.61%) method-definition/async-meth-dflt-params-trailing-comma.js {unsupported: [async-functions, async]} method-definition/async-meth-escaped-async.js {unsupported: [async-functions]} method-definition/async-meth-eval-var-scope-syntax-err.js {unsupported: [default-parameters, async-functions, async]} - method-definition/async-meth-object-destructuring-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-meth-object-destructuring-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-meth-params-trailing-comma-multiple.js {unsupported: [async-functions, async]} method-definition/async-meth-params-trailing-comma-single.js {unsupported: [async-functions, async]} - method-definition/async-meth-rest-param-strict-body.js {unsupported: [rest-parameters, async-iteration]} + method-definition/async-meth-rest-param-strict-body.js {unsupported: [async-iteration]} method-definition/async-meth-rest-params-trailing-comma-early-error.js {unsupported: [async-iteration]} method-definition/async-super-call-body.js {unsupported: [async]} method-definition/async-super-call-param.js {unsupported: [async]} @@ -4628,7 +4627,6 @@ language/expressions/object 839/1081 (77.61%) method-definition/escaped-set-t.js method-definition/fn-name-fn.js method-definition/fn-name-gen.js - method-definition/gen-meth-array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} method-definition/gen-meth-dflt-params-abrupt.js {unsupported: [default-parameters]} method-definition/gen-meth-dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters]} method-definition/gen-meth-dflt-params-arg-val-undefined.js {unsupported: [default-parameters]} @@ -4639,10 +4637,8 @@ language/expressions/object 839/1081 (77.61%) method-definition/gen-meth-dflt-params-rest.js {unsupported: [default-parameters]} method-definition/gen-meth-dflt-params-trailing-comma.js method-definition/gen-meth-eval-var-scope-syntax-err.js {unsupported: [default-parameters]} - method-definition/gen-meth-object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} method-definition/gen-meth-params-trailing-comma-multiple.js method-definition/gen-meth-params-trailing-comma-single.js - method-definition/gen-meth-rest-param-strict-body.js {unsupported: [rest-parameters]} method-definition/gen-yield-identifier-non-strict.js non-strict method-definition/gen-yield-identifier-spread-non-strict.js non-strict method-definition/gen-yield-spread-arr-multiple.js @@ -4666,7 +4662,7 @@ language/expressions/object 839/1081 (77.61%) method-definition/generator-return.js method-definition/generator-super-prop-body.js method-definition/generator-super-prop-param.js {unsupported: [super, default-parameters]} - method-definition/meth-array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + method-definition/meth-array-destructuring-param-strict-body.js method-definition/meth-dflt-params-abrupt.js {unsupported: [default-parameters]} method-definition/meth-dflt-params-arg-val-not-undefined.js {unsupported: [default-parameters]} method-definition/meth-dflt-params-arg-val-undefined.js {unsupported: [default-parameters]} @@ -4677,8 +4673,8 @@ language/expressions/object 839/1081 (77.61%) method-definition/meth-dflt-params-rest.js {unsupported: [default-parameters]} method-definition/meth-dflt-params-trailing-comma.js method-definition/meth-eval-var-scope-syntax-err.js {unsupported: [default-parameters]} - method-definition/meth-object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} - method-definition/meth-rest-param-strict-body.js {unsupported: [rest-parameters]} + method-definition/meth-object-destructuring-param-strict-body.js + method-definition/meth-rest-param-strict-body.js method-definition/name-invoke-ctor.js method-definition/name-invoke-fn-strict.js non-strict method-definition/name-length-dflt.js {unsupported: [default-parameters]} @@ -6135,7 +6131,7 @@ language/statements/generators 220/259 (84.94%) dstr/obj-ptrn-rest-val-obj.js {unsupported: [object-rest]} arguments-with-arguments-fn.js non-strict arguments-with-arguments-lex.js non-strict - array-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + array-destructuring-param-strict-body.js cptn-decl.js default-proto.js dflt-params-abrupt.js {unsupported: [default-parameters]} @@ -6152,7 +6148,7 @@ language/statements/generators 220/259 (84.94%) has-instance.js invoke-as-constructor.js length-dflt.js {unsupported: [default-parameters]} - object-destructuring-param-strict-body.js {unsupported: [rest-parameters]} + object-destructuring-param-strict-body.js param-dflt-yield.js {unsupported: [default-parameters]} params-dflt-args-unmapped.js {unsupported: [default-parameters]} params-dflt-ref-arguments.js {unsupported: [default-parameters]} @@ -6161,7 +6157,7 @@ language/statements/generators 220/259 (84.94%) prototype-own-properties.js prototype-relation-to-function.js prototype-value.js - rest-param-strict-body.js {unsupported: [rest-parameters]} + rest-param-strict-body.js restricted-properties.js scope-body-lex-distinct.js non-strict scope-param-elem-var-close.js non-strict