From 81d00def42cdc7eb83eae2cf0126e26fc0002ce3 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Sat, 29 Apr 2017 16:31:08 -0400 Subject: [PATCH] Force "early error" tests to fail if evaluated This pattern makes expectations more explicit by making test files more literal. --- .../await-as-binding-identifier-escaped.case | 2 ++ .../await-as-binding-identifier.case | 2 ++ ...await-as-identifier-reference-escaped.case | 2 ++ .../await-as-identifier-reference.case | 2 ++ .../await-as-label-identifier-escaped.case | 2 ++ .../await-as-label-identifier.case | 2 ++ .../await-as-binding-identifier-escaped.case | 2 ++ .../await-as-binding-identifier.case | 2 ++ ...await-as-identifier-reference-escaped.case | 2 ++ .../await-as-identifier-reference.case | 2 ++ .../await-as-label-identifier-escaped.case | 2 ++ .../await-as-label-identifier.case | 2 ++ .../yield-as-binding-identifier-escaped.case | 2 ++ .../yield-as-binding-identifier.case | 2 ++ ...yield-as-identifier-reference-escaped.case | 2 ++ .../yield-as-identifier-reference.case | 2 ++ .../yield-as-label-identifier-escaped.case | 2 ++ .../yield-as-label-identifier.case | 2 ++ .../yield-identifier-spread-strict.case | 2 ++ .../yield-identifier-strict.case | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...empt-to-redeclare-var-declaration.template | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...empt-to-redeclare-var-declaration.template | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...empt-to-redeclare-var-declaration.template | 2 ++ ...eclare-async-function-declaration.template | 2 ++ ...clare-async-generator-declaration.template | 2 ++ ...pt-to-redeclare-class-declaration.template | 2 ++ ...pt-to-redeclare-const-declaration.template | 2 ++ ...to-redeclare-function-declaration.template | 2 ++ ...o-redeclare-generator-declaration.template | 2 ++ ...empt-to-redeclare-let-declaration.template | 2 ++ ...empt-to-redeclare-var-declaration.template | 2 ++ .../array-elem-init-yield-ident-invalid.case | 2 ++ .../array-elem-nested-array-invalid.case | 2 ++ ...elem-nested-array-yield-ident-invalid.case | 2 ++ .../array-elem-nested-obj-invalid.case | 2 ++ ...y-elem-nested-obj-yield-ident-invalid.case | 2 ++ .../array-elem-target-simple-strict.case | 2 ++ .../array-elem-target-yield-invalid.case | 2 ++ .../array-elem-init-yield-ident-invalid.case | 2 ++ .../array-elem-nested-array-invalid.case | 2 ++ ...elem-nested-array-yield-ident-invalid.case | 2 ++ .../array-elem-nested-obj-invalid.case | 2 ++ ...y-elem-nested-obj-yield-ident-invalid.case | 2 ++ .../array-elem-target-simple-strict.case | 2 ++ .../array-elem-target-yield-invalid.case | 2 ++ .../array-rest-before-element.case | 2 ++ .../array-rest-before-elision.case | 2 ++ .../array-rest-before-rest.case | 2 ++ .../array-rest-elision-invalid.case | 2 ++ src/dstr-assignment/array-rest-init.case | 1 + .../array-rest-nested-array-invalid.case | 2 ++ ...rest-nested-array-yield-ident-invalid.case | 2 ++ .../array-rest-nested-obj-invalid.case | 2 ++ ...y-rest-nested-obj-yield-ident-invalid.case | 2 ++ .../array-rest-yield-ident-invalid.case | 1 + .../obj-id-identifier-yield-expr.case | 1 + ...obj-id-identifier-yield-ident-invalid.case | 2 ++ .../obj-id-init-simple-strict.case | 2 ++ .../obj-id-init-yield-ident-invalid.case | 2 ++ src/dstr-assignment/obj-id-simple-strict.case | 2 ++ ...bj-prop-elem-init-yield-ident-invalid.case | 2 ++ ...-prop-elem-target-yield-ident-invalid.case | 2 ++ .../obj-prop-nested-array-invalid.case | 2 ++ ...prop-nested-array-yield-ident-invalid.case | 2 ++ .../obj-prop-nested-obj-invalid.case | 2 ++ ...j-prop-nested-obj-yield-ident-invalid.case | 2 ++ .../obj-rest-not-last-element-invalid.case | 1 + .../ary-ptrn-rest-init-ary.case | 2 ++ .../ary-ptrn-rest-init-id.case | 2 ++ .../ary-ptrn-rest-init-obj.case | 2 ++ .../ary-ptrn-rest-not-final-ary.case | 2 ++ .../ary-ptrn-rest-not-final-id.case | 2 ++ .../ary-ptrn-rest-not-final-obj.case | 2 ++ src/dstr-binding/ary-ptrn-rest-init-ary.case | 2 ++ src/dstr-binding/ary-ptrn-rest-init-id.case | 2 ++ src/dstr-binding/ary-ptrn-rest-init-obj.case | 2 ++ .../ary-ptrn-rest-not-final-ary.case | 2 ++ .../ary-ptrn-rest-not-final-id.case | 2 ++ .../ary-ptrn-rest-not-final-obj.case | 2 ++ .../dflt-params-duplicates.case | 2 ++ src/function-forms/dflt-params-rest.case | 2 ++ ...est-params-trailing-comma-early-error.case | 2 ++ .../yield-as-binding-identifier-escaped.case | 2 ++ .../yield-as-binding-identifier.case | 2 ++ ...yield-as-identifier-reference-escaped.case | 2 ++ .../yield-as-identifier-reference.case | 2 ++ .../yield-as-label-identifier-escaped.case | 2 ++ src/generators/yield-as-label-identifier.case | 2 ++ .../yield-identifier-spread-strict.case | 2 ++ src/generators/yield-identifier-strict.case | 2 ++ .../expressions/object/__proto__-duplicate.js | 2 ++ .../legacy-octal-escape-sequence-strict.js | 2 ++ .../statements/for-in/bare-initializer.js | 2 ++ .../statements/for-in/const-initializer.js | 2 ++ .../statements/for-in/let-initializer.js | 2 ++ .../statements/for-in/strict-initializer.js | 2 ++ .../var-arraybindingpattern-initializer.js | 2 ++ .../var-objectbindingpattern-initializer.js | 2 ++ test/language/arguments-object/10.5-1gs.js | 2 ++ test/language/asi/S7.9.2_A1_T1.js | 2 ++ test/language/asi/S7.9.2_A1_T3.js | 2 ++ test/language/asi/S7.9.2_A1_T6.js | 2 ++ test/language/asi/S7.9_A10_T2.js | 2 ++ test/language/asi/S7.9_A10_T4.js | 2 ++ test/language/asi/S7.9_A10_T6.js | 2 ++ test/language/asi/S7.9_A10_T8.js | 2 ++ test/language/asi/S7.9_A11_T4.js | 2 ++ test/language/asi/S7.9_A11_T8.js | 2 ++ test/language/asi/S7.9_A4.js | 2 ++ test/language/asi/S7.9_A5.1_T1.js | 2 ++ test/language/asi/S7.9_A5.3_T1.js | 2 ++ test/language/asi/S7.9_A5.7_T1.js | 2 ++ test/language/asi/S7.9_A6.2_T1.js | 2 ++ test/language/asi/S7.9_A6.2_T10.js | 2 ++ test/language/asi/S7.9_A6.2_T2.js | 2 ++ test/language/asi/S7.9_A6.2_T3.js | 2 ++ test/language/asi/S7.9_A6.2_T4.js | 2 ++ test/language/asi/S7.9_A6.2_T5.js | 2 ++ test/language/asi/S7.9_A6.2_T6.js | 2 ++ test/language/asi/S7.9_A6.2_T7.js | 2 ++ test/language/asi/S7.9_A6.2_T8.js | 2 ++ test/language/asi/S7.9_A6.2_T9.js | 2 ++ test/language/asi/S7.9_A6.3_T1.js | 2 ++ test/language/asi/S7.9_A6.3_T2.js | 2 ++ test/language/asi/S7.9_A6.3_T3.js | 2 ++ test/language/asi/S7.9_A6.3_T4.js | 2 ++ test/language/asi/S7.9_A6.3_T5.js | 2 ++ test/language/asi/S7.9_A6.3_T6.js | 2 ++ test/language/asi/S7.9_A6.3_T7.js | 2 ++ test/language/asi/S7.9_A6.4_T1.js | 2 ++ test/language/asi/S7.9_A6.4_T2.js | 2 ++ test/language/asi/S7.9_A9_T6.js | 2 ++ test/language/asi/S7.9_A9_T7.js | 2 ++ test/language/asi/S7.9_A9_T8.js | 2 ++ .../disallow-initialization-assignment.js | 2 ++ ...l-bindings-with-and-without-initializer.js | 2 ++ ...tiple-lexical-bindings-with-initializer.js | 2 ++ ...l-bindings-without-and-with-initializer.js | 2 ++ .../disallow-multiple-lexical-bindings.js | 2 ++ ...-position-do-statement-while-expression.js | 2 ++ .../in-statement-position-for-statement.js | 2 ++ ...-if-expression-statement-else-statement.js | 2 ++ ...tement-position-if-expression-statement.js | 2 ++ ...ent-position-while-expression-statement.js | 2 ++ test/language/comments/S7.4_A2_T2.js | 2 ++ test/language/comments/S7.4_A3.js | 2 ++ test/language/comments/S7.4_A4_T1.js | 2 ++ test/language/comments/S7.4_A4_T4.js | 2 ++ .../comments/multi-line-html-close-extra.js | 2 ++ .../single-line-html-close-without-lt.js | 2 ++ .../language/directive-prologue/10.1.1-2gs.js | 2 ++ .../language/directive-prologue/10.1.1-5gs.js | 2 ++ .../language/directive-prologue/10.1.1-8gs.js | 2 ++ test/language/directive-prologue/14.1-4gs.js | 2 ++ test/language/directive-prologue/14.1-5gs.js | 2 ++ .../export/escaped-as-export-specifier.js | 2 ++ test/language/export/escaped-default.js | 2 ++ test/language/export/escaped-from.js | 2 ++ .../arrow-function/param-dflt-yield-expr.js | 2 ++ .../param-dflt-yield-id-non-strict.js | 2 ++ .../param-dflt-yield-id-strict.js | 2 ++ ...dentifier-identifier-futurereservedword.js | 2 ++ ...er-identifier-strict-futurereservedword.js | 2 ++ ...parameters-bindingidentifier-identifier.js | 2 ++ ...rameters-bindingidentifier-no-arguments.js | 2 ++ ...rowparameters-bindingidentifier-no-eval.js | 2 ++ ...owparameters-bindingidentifier-no-yield.js | 2 ++ .../arrowparameters-bindingidentifier-rest.js | 2 ++ .../arrowparameters-cover-no-arguments.js | 2 ++ ...ers-cover-no-duplicates-binding-array-1.js | 2 ++ ...ers-cover-no-duplicates-binding-array-2.js | 2 ++ ...ers-cover-no-duplicates-binding-array-3.js | 2 ++ ...rs-cover-no-duplicates-binding-object-1.js | 2 ++ ...rs-cover-no-duplicates-binding-object-2.js | 2 ++ ...rs-cover-no-duplicates-binding-object-3.js | 2 ++ ...rs-cover-no-duplicates-binding-object-4.js | 2 ++ ...rs-cover-no-duplicates-binding-object-5.js | 2 ++ ...rs-cover-no-duplicates-binding-object-6.js | 2 ++ ...rrowparameters-cover-no-duplicates-rest.js | 2 ++ .../arrowparameters-cover-no-duplicates.js | 2 ++ .../arrowparameters-cover-no-eval.js | 2 ++ .../arrowparameters-cover-no-yield.js | 2 ++ ...id-parenless-parameters-expression-body.js | 2 ++ ...estriction-invalid-parenless-parameters.js | 2 ++ .../early-errors/asi-restriction-invalid.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ .../assignment/non-simple-target.js | 2 ++ .../expressions/assignment/target-boolean.js | 2 ++ .../assignment/target-cover-newtarget.js | 2 ++ .../assignment/target-cover-yieldexpr.js | 2 ++ .../assignment/target-newtarget.js | 2 ++ .../expressions/assignment/target-null.js | 2 ++ .../expressions/assignment/target-number.js | 2 ++ .../expressions/assignment/target-string.js | 2 ++ .../early-errors-arrow-NSPL-with-USD.js | 2 ++ ...rs-arrow-arguments-in-formal-parameters.js | 2 ++ ...y-errors-arrow-await-in-formals-default.js | 2 ++ .../early-errors-arrow-await-in-formals.js | 2 ++ ...y-errors-arrow-body-contains-super-call.js | 2 ++ ...rors-arrow-body-contains-super-property.js | 2 ++ ...early-errors-arrow-duplicate-parameters.js | 2 ++ ...-errors-arrow-eval-in-formal-parameters.js | 2 ++ ...rly-errors-arrow-formals-body-duplicate.js | 2 ++ ...rrors-arrow-formals-contains-super-call.js | 2 ++ ...s-arrow-formals-contains-super-property.js | 2 ++ ...rly-errors-arrow-formals-lineterminator.js | 2 ++ .../async-arrow-function/escaped-async.js | 2 ++ .../early-errors-expression-NSPL-with-USD.js | 2 ++ ...expression-binding-identifier-arguments.js | 2 ++ ...rors-expression-binding-identifier-eval.js | 2 ++ ...ors-expression-body-contains-super-call.js | 2 ++ ...expression-body-contains-super-property.js | 2 ++ ...rs-expression-eval-in-formal-parameters.js | 2 ++ ...rrors-expression-formals-body-duplicate.js | 2 ++ ...-expression-formals-contains-super-call.js | 2 ++ ...ression-formals-contains-super-property.js | 2 ++ ...expression-not-simple-assignment-target.js | 2 ++ .../async-function/escaped-async.js | 2 ++ .../early-errors-expression-NSPL-with-USD.js | 2 ++ ...pression-arguments-in-formal-parameters.js | 2 ++ ...on-await-as-function-binding-identifier.js | 2 ++ ...expression-binding-identifier-arguments.js | 2 ++ ...rors-expression-binding-identifier-eval.js | 2 ++ ...ors-expression-body-contains-super-call.js | 2 ++ ...expression-body-contains-super-property.js | 2 ++ ...rs-expression-eval-in-formal-parameters.js | 2 ++ ...expression-formals-body-duplicate-const.js | 2 ++ ...s-expression-formals-body-duplicate-let.js | 2 ++ ...-expression-formals-contains-await-expr.js | 2 ++ ...rrors-expression-formals-contains-await.js | 2 ++ ...-expression-formals-contains-super-call.js | 2 ++ ...ression-formals-contains-super-property.js | 2 ++ ...-expression-formals-contains-yield-expr.js | 2 ++ ...rrors-expression-formals-contains-yield.js | 2 ++ ...arly-errors-expression-label-name-await.js | 2 ++ ...arly-errors-expression-label-name-yield.js | 2 ++ ...expression-not-simple-assignment-target.js | 2 ++ ...on-yield-as-function-binding-identifier.js | 2 ++ ...ors-expression-yield-star-after-newline.js | 2 ++ .../async-generator/escaped-async.js | 2 ++ .../await/await-BindingIdentifier-nested.js | 2 ++ ...rors-await-not-simple-assignment-target.js | 2 ++ test/language/expressions/await/no-operand.js | 2 ++ .../expressions/call/S11.2.4_A1.3_T1.js | 2 ++ .../class/gen-method-param-dflt-yield.js | 2 ++ .../expressions/class/getter-param-dflt.js | 2 ++ .../class/method-param-dflt-yield.js | 2 ++ .../static-gen-method-param-dflt-yield.js | 2 ++ .../class/static-method-param-dflt-yield.js | 2 ++ .../compound-assignment/11.13.2-6-1gs.js | 2 ++ .../compound-assignment/add-non-simple.js | 2 ++ .../btws-and-non-simple.js | 2 ++ .../compound-assignment/btws-or-non-simple.js | 2 ++ .../btws-xor-non-simple.js | 2 ++ .../compound-assignment/div-non-simple.js | 2 ++ .../left-shift-non-simple.js | 2 ++ .../compound-assignment/mod-div-non-simple.js | 2 ++ .../compound-assignment/mult-non-simple.js | 2 ++ .../right-shift-non-simple.js | 2 ++ .../subtract-non-simple.js | 2 ++ .../u-right-shift-non-simple.js | 2 ++ .../expressions/conditional/in-branch-2.js | 2 ++ .../expressions/conditional/in-condition.js | 2 ++ .../expressions/delete/11.4.1-5-a-5gs.js | 2 ++ ...ntax-error-bitnot-unary-expression-base.js | 2 ++ ...ntax-error-delete-unary-expression-base.js | 2 ++ ...error-logical-not-unary-expression-base.js | 2 ++ ...ntax-error-negate-unary-expression-base.js | 2 ++ ...syntax-error-plus-unary-expression-base.js | 2 ++ ...ntax-error-typeof-unary-expression-base.js | 2 ++ ...syntax-error-void-unary-expression-base.js | 2 ++ .../function/early-body-super-call.js | 2 ++ .../function/early-body-super-prop.js | 2 ++ .../function/early-params-super-call.js | 2 ++ .../function/early-params-super-prop.js | 2 ++ .../function/param-dflt-yield-strict.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ .../generators/param-dflt-yield.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ ...generator-expression-binding-identifier.js | 2 ++ .../yield-as-logical-or-expression.js | 2 ++ .../generators/yield-as-parameter.js | 2 ++ .../generators/yield-star-after-newline.js | 2 ++ .../generators/yield-weak-binding.js | 2 ++ .../expressions/new.target/escaped-new.js | 2 ++ .../expressions/new.target/escaped-target.js | 2 ++ .../language/expressions/object/11.1.5-1gs.js | 2 ++ .../object/cover-initialized-name.js | 2 ++ .../expressions/object/getter-param-dflt.js | 2 ++ .../async-gen-meth-escaped-async.js | 2 ++ .../async-meth-escaped-async.js | 2 ++ ...arly-errors-object-method-NSPL-with-USD.js | 2 ++ ...t-method-arguments-in-formal-parameters.js | 2 ++ ...rors-object-method-async-lineterminator.js | 2 ++ ...-object-method-await-in-formals-default.js | 2 ++ ...y-errors-object-method-await-in-formals.js | 2 ++ ...-object-method-body-contains-super-call.js | 2 ++ ...rors-object-method-duplicate-parameters.js | 2 ++ ...object-method-eval-in-formal-parameters.js | 2 ++ ...rs-object-method-formals-body-duplicate.js | 2 ++ ...ject-method-formals-contains-super-call.js | 2 ++ .../object/method-definition/escaped-get.js | 2 ++ .../object/method-definition/escaped-set.js | 2 ++ .../generator-param-id-yield.js | 2 ++ .../generator-param-init-yield.js | 2 ++ .../generator-param-redecl-const.js | 2 ++ .../generator-param-redecl-let.js | 2 ++ .../generator-super-call-body.js | 2 ++ .../generator-super-call-param.js | 2 ++ ...erator-use-strict-with-non-simple-param.js | 2 ++ .../method-definition/name-param-redecl.js | 2 ++ .../method-definition/name-super-call-body.js | 2 ++ .../name-super-call-param.js | 2 ++ ...setter-use-strict-with-non-simple-param.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ .../yield-as-logical-or-expression.js | 2 ++ .../method-definition/yield-as-parameter.js | 2 ++ .../yield-star-after-newline.js | 2 ++ .../method-definition/yield-weak-binding.js | 2 ++ .../object/prop-def-invalid-async-prefix.js | 2 ++ .../postfix-decrement/non-simple.js | 2 ++ .../target-cover-newtarget.js | 2 ++ .../target-cover-yieldexpr.js | 2 ++ .../postfix-decrement/target-newtarget.js | 2 ++ .../postfix-increment/11.3.1-2-1gs.js | 2 ++ .../postfix-increment/non-simple.js | 2 ++ .../target-cover-newtarget.js | 2 ++ .../target-cover-yieldexpr.js | 2 ++ .../postfix-increment/target-newtarget.js | 2 ++ .../prefix-decrement/11.4.5-2-2gs.js | 2 ++ .../prefix-decrement/non-simple.js | 2 ++ .../target-cover-newtarget.js | 2 ++ .../target-cover-yieldexpr.js | 2 ++ .../prefix-decrement/target-newtarget.js | 2 ++ .../prefix-increment/non-simple.js | 2 ++ .../target-cover-newtarget.js | 2 ++ .../target-cover-yieldexpr.js | 2 ++ .../prefix-increment/target-newtarget.js | 2 ++ ...l-character-escape-sequence-truncated-1.js | 2 ++ ...l-character-escape-sequence-truncated-2.js | 2 ++ ...l-character-escape-sequence-truncated-3.js | 2 ++ .../invalid-legacy-octal-escape-sequence.js | 2 ++ .../invalid-unicode-escape-sequence-1.js | 2 ++ .../invalid-unicode-escape-sequence-2.js | 2 ++ .../invalid-unicode-escape-sequence-3.js | 2 ++ .../invalid-unicode-escape-sequence-4.js | 2 ++ .../invalid-unicode-escape-sequence-5.js | 2 ++ .../invalid-unicode-escape-sequence-6.js | 2 ++ .../invalid-unicode-escape-sequence-7.js | 2 ++ .../invalid-unicode-escape-sequence-8.js | 2 ++ test/language/expressions/this/S11.1.1_A1.js | 2 ++ .../expressions/yield/in-iteration-stmt.js | 2 ++ .../yield/invalid-left-hand-side.js | 2 ++ .../yield/star-in-iteration-stmt.js | 2 ++ test/language/future-reserved-words/class.js | 2 ++ test/language/future-reserved-words/const.js | 2 ++ .../future-reserved-words/debugger.js | 2 ++ test/language/future-reserved-words/enum.js | 2 ++ test/language/future-reserved-words/export.js | 2 ++ .../language/future-reserved-words/extends.js | 2 ++ .../implements-strict-escaped.js | 2 ++ .../implements-strict.js | 2 ++ test/language/future-reserved-words/import.js | 2 ++ .../interface-strict-escaped.js | 2 ++ .../future-reserved-words/interface-strict.js | 2 ++ .../let-strict-escaped.js | 2 ++ .../future-reserved-words/let-strict.js | 2 ++ .../package-strict-escaped.js | 2 ++ .../future-reserved-words/package-strict.js | 2 ++ .../private-strict-escaped.js | 2 ++ .../future-reserved-words/private-strict.js | 2 ++ .../protected-strict-escaped.js | 2 ++ .../future-reserved-words/protected-strict.js | 2 ++ .../public-strict-escaped.js | 2 ++ .../future-reserved-words/public-strict.js | 2 ++ .../static-strict-escaped.js | 2 ++ .../future-reserved-words/static-strict.js | 2 ++ test/language/future-reserved-words/super.js | 2 ++ .../yield-strict-escaped.js | 2 ++ .../future-reserved-words/yield-strict.js | 2 ++ test/language/global-code/export.js | 2 ++ test/language/global-code/import.js | 2 ++ test/language/global-code/new.target-arrow.js | 2 ++ test/language/global-code/new.target.js | 2 ++ test/language/global-code/return.js | 2 ++ test/language/global-code/super-call-arrow.js | 2 ++ test/language/global-code/super-call.js | 2 ++ test/language/global-code/super-prop-arrow.js | 2 ++ test/language/global-code/super-prop.js | 2 ++ test/language/global-code/yield-strict.js | 2 ++ .../identifiers/val-break-via-escape-hex.js | 2 ++ .../identifiers/val-break-via-escape-hex4.js | 2 ++ test/language/identifiers/val-break.js | 2 ++ .../identifiers/val-case-via-escape-hex.js | 2 ++ .../identifiers/val-case-via-escape-hex4.js | 2 ++ test/language/identifiers/val-case.js | 2 ++ .../identifiers/val-catch-via-escape-hex.js | 2 ++ .../identifiers/val-catch-via-escape-hex4.js | 2 ++ test/language/identifiers/val-catch.js | 2 ++ .../identifiers/val-class-via-escape-hex.js | 2 ++ .../identifiers/val-class-via-escape-hex4.js | 2 ++ test/language/identifiers/val-class.js | 2 ++ .../identifiers/val-const-via-escape-hex.js | 2 ++ .../identifiers/val-const-via-escape-hex4.js | 2 ++ test/language/identifiers/val-const.js | 2 ++ .../val-continue-via-escape-hex.js | 2 ++ .../val-continue-via-escape-hex4.js | 2 ++ test/language/identifiers/val-continue.js | 2 ++ .../val-debugger-via-escape-hex.js | 2 ++ .../val-debugger-via-escape-hex4.js | 2 ++ test/language/identifiers/val-debugger.js | 2 ++ .../identifiers/val-default-via-escape-hex.js | 2 ++ .../val-default-via-escape-hex4.js | 2 ++ test/language/identifiers/val-default.js | 2 ++ .../identifiers/val-delete-via-escape-hex.js | 2 ++ .../identifiers/val-delete-via-escape-hex4.js | 2 ++ test/language/identifiers/val-delete.js | 2 ++ .../identifiers/val-do-via-escape-hex.js | 2 ++ .../identifiers/val-do-via-escape-hex4.js | 2 ++ test/language/identifiers/val-do.js | 2 ++ .../identifiers/val-else-via-escape-hex.js | 2 ++ .../identifiers/val-else-via-escape-hex4.js | 2 ++ test/language/identifiers/val-else.js | 2 ++ .../identifiers/val-enum-via-escape-hex.js | 2 ++ .../identifiers/val-enum-via-escape-hex4.js | 2 ++ test/language/identifiers/val-enum.js | 2 ++ .../identifiers/val-export-via-escape-hex.js | 2 ++ .../identifiers/val-export-via-escape-hex4.js | 2 ++ test/language/identifiers/val-export.js | 2 ++ .../identifiers/val-extends-via-escape-hex.js | 2 ++ .../val-extends-via-escape-hex4.js | 2 ++ test/language/identifiers/val-extends.js | 2 ++ .../identifiers/val-false-via-escape-hex.js | 2 ++ .../identifiers/val-false-via-escape-hex4.js | 2 ++ test/language/identifiers/val-false.js | 2 ++ .../identifiers/val-finally-via-escape-hex.js | 2 ++ .../val-finally-via-escape-hex4.js | 2 ++ test/language/identifiers/val-finally.js | 2 ++ .../identifiers/val-for-via-escape-hex.js | 2 ++ .../identifiers/val-for-via-escape-hex4.js | 2 ++ test/language/identifiers/val-for.js | 2 ++ .../val-function-via-escape-hex.js | 2 ++ .../val-function-via-escape-hex4.js | 2 ++ test/language/identifiers/val-function.js | 2 ++ .../identifiers/val-if-via-escape-hex.js | 2 ++ .../identifiers/val-if-via-escape-hex4.js | 2 ++ test/language/identifiers/val-if.js | 2 ++ .../identifiers/val-import-via-escape-hex.js | 2 ++ .../identifiers/val-import-via-escape-hex4.js | 2 ++ test/language/identifiers/val-import.js | 2 ++ .../identifiers/val-in-via-escape-hex.js | 2 ++ .../identifiers/val-in-via-escape-hex4.js | 2 ++ test/language/identifiers/val-in.js | 2 ++ .../val-instanceof-via-escape-hex.js | 2 ++ .../val-instanceof-via-escape-hex4.js | 2 ++ test/language/identifiers/val-instanceof.js | 2 ++ .../identifiers/val-new-via-escape-hex.js | 2 ++ .../identifiers/val-new-via-escape-hex4.js | 2 ++ test/language/identifiers/val-new.js | 2 ++ .../identifiers/val-null-via-escape-hex.js | 2 ++ .../identifiers/val-null-via-escape-hex4.js | 2 ++ test/language/identifiers/val-null.js | 2 ++ .../identifiers/val-return-via-escape-hex.js | 2 ++ .../identifiers/val-return-via-escape-hex4.js | 2 ++ test/language/identifiers/val-return.js | 2 ++ .../identifiers/val-super-via-escape-hex.js | 2 ++ .../identifiers/val-super-via-escape-hex4.js | 2 ++ test/language/identifiers/val-super.js | 2 ++ .../identifiers/val-switch-via-escape-hex.js | 2 ++ .../identifiers/val-switch-via-escape-hex4.js | 2 ++ test/language/identifiers/val-switch.js | 2 ++ .../identifiers/val-this-via-escape-hex.js | 2 ++ .../identifiers/val-this-via-escape-hex4.js | 2 ++ test/language/identifiers/val-this.js | 2 ++ .../identifiers/val-throw-via-escape-hex.js | 2 ++ .../identifiers/val-throw-via-escape-hex4.js | 2 ++ test/language/identifiers/val-throw.js | 2 ++ .../identifiers/val-true-via-escape-hex.js | 2 ++ .../identifiers/val-true-via-escape-hex4.js | 2 ++ test/language/identifiers/val-true.js | 2 ++ .../identifiers/val-try-via-escape-hex.js | 2 ++ .../identifiers/val-try-via-escape-hex4.js | 2 ++ test/language/identifiers/val-try.js | 2 ++ .../identifiers/val-typeof-via-escape-hex.js | 2 ++ .../identifiers/val-typeof-via-escape-hex4.js | 2 ++ test/language/identifiers/val-typeof.js | 2 ++ .../identifiers/val-var-via-escape-hex.js | 2 ++ .../identifiers/val-var-via-escape-hex4.js | 2 ++ test/language/identifiers/val-var.js | 2 ++ .../identifiers/val-void-via-escape-hex.js | 2 ++ .../identifiers/val-void-via-escape-hex4.js | 2 ++ test/language/identifiers/val-void.js | 2 ++ .../identifiers/val-while-via-escape-hex.js | 2 ++ .../identifiers/val-while-via-escape-hex4.js | 2 ++ test/language/identifiers/val-while.js | 2 ++ .../identifiers/val-with-via-escape-hex.js | 2 ++ .../identifiers/val-with-via-escape-hex4.js | 2 ++ test/language/identifiers/val-with.js | 2 ++ test/language/identifiers/val-yield-strict.js | 2 ++ test/language/import/dup-bound-names.js | 2 ++ .../import/escaped-as-import-specifier.js | 2 ++ .../import/escaped-as-namespace-import.js | 2 ++ test/language/import/escaped-from.js | 2 ++ test/language/keywords/ident-ref-break.js | 2 ++ test/language/keywords/ident-ref-case.js | 2 ++ test/language/keywords/ident-ref-catch.js | 2 ++ test/language/keywords/ident-ref-continue.js | 2 ++ test/language/keywords/ident-ref-default.js | 2 ++ test/language/keywords/ident-ref-delete.js | 2 ++ test/language/keywords/ident-ref-do.js | 2 ++ test/language/keywords/ident-ref-else.js | 2 ++ test/language/keywords/ident-ref-finally.js | 2 ++ test/language/keywords/ident-ref-for.js | 2 ++ test/language/keywords/ident-ref-function.js | 2 ++ test/language/keywords/ident-ref-if.js | 2 ++ test/language/keywords/ident-ref-in.js | 2 ++ .../language/keywords/ident-ref-instanceof.js | 2 ++ test/language/keywords/ident-ref-new.js | 2 ++ test/language/keywords/ident-ref-return.js | 2 ++ test/language/keywords/ident-ref-switch.js | 2 ++ test/language/keywords/ident-ref-this.js | 2 ++ test/language/keywords/ident-ref-throw.js | 2 ++ test/language/keywords/ident-ref-try.js | 2 ++ test/language/keywords/ident-ref-typeof.js | 2 ++ test/language/keywords/ident-ref-var.js | 2 ++ test/language/keywords/ident-ref-void.js | 2 ++ test/language/keywords/ident-ref-while.js | 2 ++ test/language/keywords/ident-ref-with.js | 2 ++ .../language/line-terminators/S7.3_A2.1_T2.js | 2 ++ .../language/line-terminators/S7.3_A2.2_T2.js | 2 ++ .../language/line-terminators/S7.3_A3.1_T3.js | 2 ++ .../language/line-terminators/S7.3_A3.2_T1.js | 2 ++ .../language/line-terminators/S7.3_A3.2_T3.js | 2 ++ .../language/line-terminators/S7.3_A3.3_T1.js | 2 ++ .../language/line-terminators/S7.3_A3.4_T1.js | 2 ++ test/language/line-terminators/S7.3_A6_T1.js | 2 ++ test/language/line-terminators/S7.3_A6_T2.js | 2 ++ test/language/line-terminators/S7.3_A6_T3.js | 2 ++ test/language/line-terminators/S7.3_A6_T4.js | 2 ++ test/language/literals/numeric/7.8.3-1gs.js | 2 ++ test/language/literals/numeric/7.8.3-2gs.js | 2 ++ .../literals/numeric/S7.8.3_A6.1_T1.js | 2 ++ .../literals/numeric/S7.8.3_A6.1_T2.js | 2 ++ .../literals/numeric/S7.8.3_A6.2_T1.js | 2 ++ .../literals/numeric/S7.8.3_A6.2_T2.js | 2 ++ .../literals/numeric/binary-invalid-digit.js | 2 ++ .../numeric/binary-invalid-leading.js | 2 ++ .../numeric/binary-invalid-truncated.js | 2 ++ .../numeric/binary-invalid-unicode.js | 2 ++ .../numeric/legacy-octal-integer-strict.js | 2 ++ .../non-octal-decimal-integer-strict.js | 2 ++ .../literals/numeric/octal-invalid-digit.js | 2 ++ .../literals/numeric/octal-invalid-leading.js | 2 ++ .../numeric/octal-invalid-truncated.js | 2 ++ .../literals/numeric/octal-invalid-unicode.js | 2 ++ test/language/literals/regexp/7.8.5-1gs.js | 20 ++++++++++--------- .../literals/regexp/S7.8.5_A1.2_T1.js | 2 ++ .../literals/regexp/S7.8.5_A1.2_T2.js | 2 ++ .../literals/regexp/S7.8.5_A1.2_T3.js | 2 ++ .../literals/regexp/S7.8.5_A1.2_T4.js | 2 ++ .../literals/regexp/S7.8.5_A1.3_T1.js | 2 ++ .../literals/regexp/S7.8.5_A1.3_T3.js | 2 ++ .../literals/regexp/S7.8.5_A1.5_T1.js | 2 ++ .../literals/regexp/S7.8.5_A1.5_T3.js | 2 ++ .../literals/regexp/S7.8.5_A2.2_T1.js | 2 ++ .../literals/regexp/S7.8.5_A2.2_T2.js | 2 ++ .../literals/regexp/S7.8.5_A2.3_T1.js | 2 ++ .../literals/regexp/S7.8.5_A2.3_T3.js | 2 ++ .../literals/regexp/S7.8.5_A2.5_T1.js | 2 ++ .../literals/regexp/S7.8.5_A2.5_T3.js | 2 ++ .../literals/regexp/early-err-bad-flag.js | 2 ++ .../literals/regexp/early-err-dup-flag.js | 2 ++ .../regexp/early-err-flags-unicode-escape.js | 2 ++ .../literals/regexp/early-err-pattern.js | 2 ++ .../regexp/invalid-braced-quantifier-exact.js | 2 ++ .../regexp/invalid-braced-quantifier-lower.js | 2 ++ .../regexp/invalid-braced-quantifier-range.js | 2 ++ test/language/literals/regexp/u-dec-esc.js | 2 ++ .../literals/regexp/u-invalid-class-escape.js | 2 ++ .../regexp/u-invalid-extended-pattern-char.js | 2 ++ .../regexp/u-invalid-identity-escape.js | 2 ++ .../regexp/u-invalid-legacy-octal-escape.js | 2 ++ ...nvalid-non-empty-class-ranges-no-dash-a.js | 2 ++ ...valid-non-empty-class-ranges-no-dash-ab.js | 2 ++ ...nvalid-non-empty-class-ranges-no-dash-b.js | 2 ++ .../u-invalid-non-empty-class-ranges.js | 2 ++ .../regexp/u-invalid-oob-decimal-escape.js | 2 ++ .../u-invalid-quantifiable-assertion.js | 2 ++ .../literals/regexp/u-unicode-esc-bounds.js | 2 ++ .../literals/regexp/u-unicode-esc-non-hex.js | 2 ++ test/language/literals/string/7.8.4-1gs.js | 2 ++ .../literals/string/S7.8.4_A1.1_T1.js | 2 ++ .../literals/string/S7.8.4_A1.1_T2.js | 2 ++ .../literals/string/S7.8.4_A1.2_T1.js | 2 ++ .../literals/string/S7.8.4_A1.2_T2.js | 2 ++ .../literals/string/S7.8.4_A3.1_T1.js | 2 ++ .../literals/string/S7.8.4_A3.1_T2.js | 2 ++ .../literals/string/S7.8.4_A3.2_T1.js | 2 ++ .../literals/string/S7.8.4_A3.2_T2.js | 2 ++ .../literals/string/S7.8.4_A4.3_T1.js | 2 ++ .../literals/string/S7.8.4_A4.3_T2.js | 2 ++ .../literals/string/S7.8.4_A7.1_T4.js | 2 ++ .../literals/string/S7.8.4_A7.2_T1.js | 2 ++ .../literals/string/S7.8.4_A7.2_T2.js | 2 ++ .../literals/string/S7.8.4_A7.2_T3.js | 2 ++ .../literals/string/S7.8.4_A7.2_T4.js | 2 ++ .../literals/string/S7.8.4_A7.2_T5.js | 2 ++ .../literals/string/S7.8.4_A7.2_T6.js | 2 ++ ...legacy-non-octal-escape-sequence-strict.js | 2 ++ .../legacy-octal-escape-sequence-strict.js | 2 ++ .../comment-multi-line-html-close.js | 2 ++ .../comment-single-line-html-close.js | 2 ++ .../comment-single-line-html-open.js | 2 ++ .../module-code/early-dup-export-decl.js | 2 ++ .../module-code/early-dup-export-dflt-id.js | 2 ++ .../module-code/early-dup-export-dflt.js | 2 ++ .../module-code/early-dup-export-id-as.js | 2 ++ .../module-code/early-dup-export-id.js | 2 ++ test/language/module-code/early-dup-lables.js | 2 ++ test/language/module-code/early-dup-lex.js | 2 ++ .../module-code/early-export-global.js | 2 ++ .../module-code/early-export-unresolvable.js | 2 ++ .../module-code/early-import-arguments.js | 2 ++ .../module-code/early-import-as-arguments.js | 2 ++ .../module-code/early-import-as-eval.js | 2 ++ .../language/module-code/early-import-eval.js | 2 ++ .../language/module-code/early-lex-and-var.js | 2 ++ test/language/module-code/early-new-target.js | 2 ++ .../language/module-code/early-strict-mode.js | 2 ++ test/language/module-code/early-super.js | 2 ++ .../language/module-code/early-undef-break.js | 2 ++ .../module-code/early-undef-continue.js | 2 ++ .../module-code/instn-resolve-empty-export.js | 2 ++ .../module-code/instn-resolve-empty-import.js | 2 ++ .../instn-resolve-err-reference.js | 2 ++ .../module-code/instn-resolve-err-syntax.js | 2 ++ .../module-code/instn-resolve-order-depth.js | 2 ++ .../module-code/instn-resolve-order-src.js | 2 ++ ...arse-err-decl-pos-export-arrow-function.js | 2 ++ ...rse-err-decl-pos-export-block-stmt-list.js | 2 ++ .../parse-err-decl-pos-export-block-stmt.js | 2 ++ ...-decl-pos-export-class-decl-meth-static.js | 2 ++ ...rse-err-decl-pos-export-class-decl-meth.js | 2 ++ ...pos-export-class-decl-method-gen-static.js | 2 ++ ...r-decl-pos-export-class-decl-method-gen.js | 2 ++ ...l-pos-export-class-expr-meth-gen-static.js | 2 ++ ...err-decl-pos-export-class-expr-meth-gen.js | 2 ++ ...-decl-pos-export-class-expr-meth-static.js | 2 ++ ...rse-err-decl-pos-export-class-expr-meth.js | 2 ++ .../parse-err-decl-pos-export-do-while.js | 2 ++ .../parse-err-decl-pos-export-for-const.js | 2 ++ .../parse-err-decl-pos-export-for-in-const.js | 2 ++ .../parse-err-decl-pos-export-for-in-let.js | 2 ++ .../parse-err-decl-pos-export-for-in-lhs.js | 2 ++ .../parse-err-decl-pos-export-for-in-var.js | 2 ++ .../parse-err-decl-pos-export-for-let.js | 2 ++ .../parse-err-decl-pos-export-for-lhs.js | 2 ++ .../parse-err-decl-pos-export-for-of-const.js | 2 ++ .../parse-err-decl-pos-export-for-of-let.js | 2 ++ .../parse-err-decl-pos-export-for-of-lhs.js | 2 ++ .../parse-err-decl-pos-export-for-of-var.js | 2 ++ .../parse-err-decl-pos-export-for-var.js | 2 ++ ...parse-err-decl-pos-export-function-decl.js | 2 ++ ...parse-err-decl-pos-export-function-expr.js | 2 ++ ...arse-err-decl-pos-export-generator-decl.js | 2 ++ ...arse-err-decl-pos-export-generator-expr.js | 2 ++ .../parse-err-decl-pos-export-if-else.js | 2 ++ .../parse-err-decl-pos-export-if-if.js | 2 ++ .../parse-err-decl-pos-export-labeled.js | 2 ++ ...e-err-decl-pos-export-object-gen-method.js | 2 ++ ...parse-err-decl-pos-export-object-getter.js | 2 ++ ...parse-err-decl-pos-export-object-method.js | 2 ++ ...parse-err-decl-pos-export-object-setter.js | 2 ++ ...se-err-decl-pos-export-switch-case-dflt.js | 2 ++ .../parse-err-decl-pos-export-switch-case.js | 2 ++ .../parse-err-decl-pos-export-switch-dftl.js | 2 ++ ...e-err-decl-pos-export-try-catch-finally.js | 2 ++ .../parse-err-decl-pos-export-try-catch.js | 2 ++ .../parse-err-decl-pos-export-try-finally.js | 2 ++ .../parse-err-decl-pos-export-try-try.js | 2 ++ .../parse-err-decl-pos-export-while.js | 2 ++ ...arse-err-decl-pos-import-arrow-function.js | 2 ++ ...rse-err-decl-pos-import-block-stmt-list.js | 2 ++ .../parse-err-decl-pos-import-block-stmt.js | 2 ++ ...-decl-pos-import-class-decl-meth-static.js | 2 ++ ...rse-err-decl-pos-import-class-decl-meth.js | 2 ++ ...pos-import-class-decl-method-gen-static.js | 2 ++ ...r-decl-pos-import-class-decl-method-gen.js | 2 ++ ...l-pos-import-class-expr-meth-gen-static.js | 2 ++ ...err-decl-pos-import-class-expr-meth-gen.js | 2 ++ ...-decl-pos-import-class-expr-meth-static.js | 2 ++ ...rse-err-decl-pos-import-class-expr-meth.js | 2 ++ .../parse-err-decl-pos-import-do-while.js | 2 ++ .../parse-err-decl-pos-import-for-const.js | 2 ++ .../parse-err-decl-pos-import-for-in-const.js | 2 ++ .../parse-err-decl-pos-import-for-in-let.js | 2 ++ .../parse-err-decl-pos-import-for-in-lhs.js | 2 ++ .../parse-err-decl-pos-import-for-in-var.js | 2 ++ .../parse-err-decl-pos-import-for-let.js | 2 ++ .../parse-err-decl-pos-import-for-lhs.js | 2 ++ .../parse-err-decl-pos-import-for-of-const.js | 2 ++ .../parse-err-decl-pos-import-for-of-let.js | 2 ++ .../parse-err-decl-pos-import-for-of-lhs.js | 2 ++ .../parse-err-decl-pos-import-for-of-var.js | 2 ++ .../parse-err-decl-pos-import-for-var.js | 2 ++ ...parse-err-decl-pos-import-function-decl.js | 2 ++ ...parse-err-decl-pos-import-function-expr.js | 2 ++ ...arse-err-decl-pos-import-generator-decl.js | 2 ++ ...arse-err-decl-pos-import-generator-expr.js | 2 ++ .../parse-err-decl-pos-import-if-else.js | 2 ++ .../parse-err-decl-pos-import-if-if.js | 2 ++ .../parse-err-decl-pos-import-labeled.js | 2 ++ ...e-err-decl-pos-import-object-gen-method.js | 2 ++ ...parse-err-decl-pos-import-object-getter.js | 2 ++ ...parse-err-decl-pos-import-object-method.js | 2 ++ ...parse-err-decl-pos-import-object-setter.js | 2 ++ ...se-err-decl-pos-import-switch-case-dflt.js | 2 ++ .../parse-err-decl-pos-import-switch-case.js | 2 ++ .../parse-err-decl-pos-import-switch-dftl.js | 2 ++ ...e-err-decl-pos-import-try-catch-finally.js | 2 ++ .../parse-err-decl-pos-import-try-catch.js | 2 ++ .../parse-err-decl-pos-import-try-finally.js | 2 ++ .../parse-err-decl-pos-import-try-try.js | 2 ++ .../parse-err-decl-pos-import-while.js | 2 ++ .../parse-err-export-dflt-const.js | 2 ++ .../module-code/parse-err-export-dflt-expr.js | 2 ++ .../module-code/parse-err-export-dflt-let.js | 2 ++ .../module-code/parse-err-export-dflt-var.js | 2 ++ .../module-code/parse-err-hoist-lex-fun.js | 2 ++ .../module-code/parse-err-hoist-lex-gen.js | 2 ++ .../parse-err-invoke-anon-fun-decl.js | 2 ++ .../parse-err-invoke-anon-gen-decl.js | 2 ++ .../module-code/parse-err-reference.js | 2 ++ test/language/module-code/parse-err-return.js | 2 ++ .../module-code/parse-err-semi-dflt-expr.js | 2 ++ .../parse-err-semi-export-clause-from.js | 2 ++ .../parse-err-semi-export-clause.js | 2 ++ .../module-code/parse-err-semi-export-star.js | 2 ++ test/language/module-code/parse-err-syntax.js | 2 ++ test/language/module-code/parse-err-yield.js | 2 ++ test/language/punctuators/S7.7_A2_T1.js | 2 ++ test/language/punctuators/S7.7_A2_T10.js | 2 ++ test/language/punctuators/S7.7_A2_T2.js | 2 ++ test/language/punctuators/S7.7_A2_T3.js | 2 ++ test/language/punctuators/S7.7_A2_T4.js | 2 ++ test/language/punctuators/S7.7_A2_T5.js | 2 ++ test/language/punctuators/S7.7_A2_T6.js | 2 ++ test/language/punctuators/S7.7_A2_T7.js | 2 ++ test/language/punctuators/S7.7_A2_T8.js | 2 ++ test/language/punctuators/S7.7_A2_T9.js | 2 ++ test/language/reserved-words/await-module.js | 2 ++ .../ident-reference-false-escaped.js | 2 ++ .../reserved-words/ident-reference-false.js | 2 ++ .../ident-reference-null-escaped.js | 2 ++ .../reserved-words/ident-reference-null.js | 2 ++ .../ident-reference-true-escaped.js | 2 ++ .../reserved-words/ident-reference-true.js | 2 ++ .../label-ident-false-escaped.js | 2 ++ .../reserved-words/label-ident-false.js | 2 ++ .../label-ident-null-escaped.js | 2 ++ .../reserved-words/label-ident-null.js | 2 ++ .../label-ident-true-escaped.js | 2 ++ .../reserved-words/label-ident-true.js | 2 ++ .../rest-parameters/position-invalid.js | 2 ++ .../early-errors-declaration-NSPL-with-USD.js | 2 ++ ...laration-arguments-in-formal-parameters.js | 2 ++ ...rs-declaration-await-in-formals-default.js | 2 ++ ...rly-errors-declaration-await-in-formals.js | 2 ++ ...eclaration-binding-identifier-arguments.js | 2 ++ ...ors-declaration-binding-identifier-eval.js | 2 ++ ...rs-declaration-body-contains-super-call.js | 2 ++ ...eclaration-body-contains-super-property.js | 2 ++ ...errors-declaration-duplicate-parameters.js | 2 ++ ...s-declaration-eval-in-formal-parameters.js | 2 ++ ...rors-declaration-formals-body-duplicate.js | 2 ++ ...declaration-formals-contains-super-call.js | 2 ++ ...aration-formals-contains-super-property.js | 2 ++ .../async-function/escaped-async.js | 2 ++ .../let-newline-await-in-async-function.js | 2 ++ .../async-generator/escaped-async.js | 2 ++ test/language/statements/block/S12.1_A4_T1.js | 2 ++ test/language/statements/block/S12.1_A4_T2.js | 2 ++ test/language/statements/break/S12.8_A1_T1.js | 2 ++ test/language/statements/break/S12.8_A1_T2.js | 2 ++ test/language/statements/break/S12.8_A1_T3.js | 2 ++ test/language/statements/break/S12.8_A1_T4.js | 2 ++ test/language/statements/break/S12.8_A5_T1.js | 2 ++ test/language/statements/break/S12.8_A5_T2.js | 2 ++ test/language/statements/break/S12.8_A5_T3.js | 2 ++ test/language/statements/break/S12.8_A6.js | 2 ++ test/language/statements/break/S12.8_A8_T1.js | 2 ++ test/language/statements/break/S12.8_A8_T2.js | 2 ++ .../class/async-gen-meth-escaped-async.js | 2 ++ .../class/async-meth-escaped-async.js | 2 ++ ...early-errors-class-method-NSPL-with-USD.js | 2 ++ ...s-method-arguments-in-formal-parameters.js | 2 ++ ...s-class-method-await-in-formals-default.js | 2 ++ ...ly-errors-class-method-await-in-formals.js | 2 ++ ...s-class-method-body-contains-super-call.js | 2 ++ ...rrors-class-method-duplicate-parameters.js | 2 ++ ...-class-method-eval-in-formal-parameters.js | 2 ++ ...ors-class-method-formals-body-duplicate.js | 2 ++ ...lass-method-formals-contains-super-call.js | 2 ++ ...-function-expression-binding-identifier.js | 2 ++ ...-yield-as-identifier-in-nested-function.js | 2 ++ ...hods-gen-yield-as-logical-or-expression.js | 2 ++ .../methods-gen-yield-as-parameter.js | 2 ++ .../methods-gen-yield-star-after-newline.js | 2 ++ .../methods-gen-yield-weak-binding.js | 2 ++ .../class/gen-method-param-dflt-yield.js | 2 ++ .../statements/class/getter-param-dflt.js | 2 ++ .../statements/class/method-param-yield.js | 2 ++ .../static-gen-method-param-dflt-yield.js | 2 ++ .../class/static-method-param-yield.js | 2 ++ .../statements/class/strict-mode/with.js | 2 ++ ...lass-body-contains-multiple-constructor.js | 2 ++ ...has-direct-super-missing-class-heritage.js | 2 ++ ...class-body-method-contains-direct-super.js | 2 ++ ...-method-generator-contains-direct-super.js | 2 ++ ...l-method-generator-propname-constructor.js | 2 ++ ...pecial-method-get-contains-direct-super.js | 2 ++ ...special-method-get-propname-constructor.js | 2 ++ ...pecial-method-set-contains-direct-super.js | 2 ++ ...special-method-set-propname-constructor.js | 2 ++ ...ody-static-method-contains-direct-super.js | 2 ++ ...static-method-get-contains-direct-super.js | 2 ++ ...dy-static-method-get-propname-prototype.js | 2 ++ ...s-body-static-method-propname-prototype.js | 2 ++ ...static-method-set-contains-direct-super.js | 2 ++ ...dy-static-method-set-propname-prototype.js | 2 ++ ...tion-evaluation-block-duplicate-binding.js | 2 ++ ...evaluation-scriptbody-duplicate-binding.js | 2 ++ .../statements/class/syntax/escaped-static.js | 2 ++ ...-from-within-strict-mode-function-const.js | 2 ++ ...arations-mixed-with-without-initialiser.js | 2 ++ ...arations-mixed-without-with-initialiser.js | 2 ++ ...-const-declarations-without-initialiser.js | 2 ++ ...st-declaring-let-split-across-two-lines.js | 2 ++ ...itializer-do-statement-while-expression.js | 2 ++ .../syntax/with-initializer-for-statement.js | 2 ++ ...-if-expression-statement-else-statement.js | 2 ++ ...ith-initializer-if-expression-statement.js | 2 ++ .../with-initializer-label-statement.js | 2 ++ ...-initializer-while-expression-statement.js | 2 ++ ...tializer-case-expression-statement-list.js | 2 ++ ...hout-initializer-default-statement-list.js | 2 ++ ...itializer-do-statement-while-expression.js | 2 ++ .../without-initializer-for-statement.js | 2 ++ ...-if-expression-statement-else-statement.js | 2 ++ ...out-initializer-if-expression-statement.js | 2 ++ .../without-initializer-label-statement.js | 2 ++ ...-initializer-while-expression-statement.js | 2 ++ .../statements/continue/S12.7_A1_T1.js | 2 ++ .../statements/continue/S12.7_A1_T2.js | 2 ++ .../statements/continue/S12.7_A1_T3.js | 2 ++ .../statements/continue/S12.7_A1_T4.js | 2 ++ .../statements/continue/S12.7_A5_T1.js | 2 ++ .../statements/continue/S12.7_A5_T2.js | 2 ++ .../statements/continue/S12.7_A5_T3.js | 2 ++ test/language/statements/continue/S12.7_A6.js | 2 ++ .../statements/continue/S12.7_A8_T1.js | 2 ++ .../statements/continue/S12.7_A8_T2.js | 2 ++ .../statements/debugger/expression.js | 2 ++ .../statements/do-while/S12.6.1_A12.js | 2 ++ .../statements/do-while/S12.6.1_A15.js | 2 ++ .../statements/do-while/S12.6.1_A6_T1.js | 2 ++ .../statements/do-while/S12.6.1_A6_T2.js | 2 ++ .../statements/do-while/S12.6.1_A6_T3.js | 2 ++ .../statements/do-while/S12.6.1_A6_T4.js | 2 ++ .../statements/do-while/S12.6.1_A6_T5.js | 2 ++ .../statements/do-while/S12.6.1_A6_T6.js | 2 ++ .../statements/do-while/decl-async-fun.js | 2 ++ .../statements/do-while/decl-async-gen.js | 2 ++ test/language/statements/do-while/decl-cls.js | 2 ++ .../statements/do-while/decl-const.js | 2 ++ test/language/statements/do-while/decl-fun.js | 2 ++ test/language/statements/do-while/decl-gen.js | 2 ++ test/language/statements/do-while/decl-let.js | 2 ++ .../statements/do-while/labelled-fn-stmt.js | 2 ++ .../do-while/let-array-with-newline.js | 2 ++ .../statements/expression/S12.4_A1.js | 2 ++ .../statements/for-await-of/escaped-of.js | 2 ++ .../for-await-of/let-array-with-newline.js | 2 ++ .../language/statements/for-in/S12.6.4_A15.js | 2 ++ .../statements/for-in/decl-async-fun.js | 2 ++ .../statements/for-in/decl-async-gen.js | 2 ++ test/language/statements/for-in/decl-cls.js | 2 ++ test/language/statements/for-in/decl-const.js | 2 ++ test/language/statements/for-in/decl-fun.js | 2 ++ test/language/statements/for-in/decl-gen.js | 2 ++ test/language/statements/for-in/decl-let.js | 2 ++ .../for-in/head-const-bound-names-dup.js | 2 ++ .../for-in/head-const-bound-names-in-stmt.js | 2 ++ .../for-in/head-const-bound-names-let.js | 2 ++ .../for-in/head-let-bound-names-dup.js | 2 ++ .../for-in/head-let-bound-names-in-stmt.js | 2 ++ .../for-in/head-let-bound-names-let.js | 2 ++ .../for-in/head-lhs-cover-non-asnmt-trgt.js | 2 ++ .../for-in/head-lhs-invalid-asnmt-ptrn-ary.js | 2 ++ .../for-in/head-lhs-invalid-asnmt-ptrn-obj.js | 2 ++ .../for-in/head-lhs-non-asnmt-trgt.js | 2 ++ .../for-in/labelled-fn-stmt-const.js | 2 ++ .../statements/for-in/labelled-fn-stmt-let.js | 2 ++ .../statements/for-in/labelled-fn-stmt-lhs.js | 2 ++ .../statements/for-in/labelled-fn-stmt-var.js | 2 ++ .../for-in/let-array-with-newline.js | 2 ++ .../statements/for-of/decl-async-fun.js | 2 ++ .../statements/for-of/decl-async-gen.js | 2 ++ test/language/statements/for-of/decl-cls.js | 2 ++ test/language/statements/for-of/decl-const.js | 2 ++ test/language/statements/for-of/decl-fun.js | 2 ++ test/language/statements/for-of/decl-gen.js | 2 ++ test/language/statements/for-of/decl-let.js | 2 ++ test/language/statements/for-of/escaped-of.js | 2 ++ .../for-of/head-const-bound-names-dup.js | 2 ++ .../for-of/head-const-bound-names-in-stmt.js | 2 ++ .../for-of/head-const-bound-names-let.js | 2 ++ .../statements/for-of/head-decl-no-expr.js | 2 ++ .../statements/for-of/head-expr-no-expr.js | 2 ++ .../for-of/head-let-bound-names-dup.js | 2 ++ .../for-of/head-let-bound-names-in-stmt.js | 2 ++ .../for-of/head-let-bound-names-let.js | 2 ++ .../for-of/head-lhs-cover-non-asnmt-trgt.js | 2 ++ .../for-of/head-lhs-invalid-asnmt-ptrn-ary.js | 2 ++ .../for-of/head-lhs-invalid-asnmt-ptrn-obj.js | 2 ++ .../statements/for-of/head-lhs-let.js | 2 ++ .../for-of/head-lhs-non-asnmt-trgt.js | 2 ++ .../statements/for-of/head-var-no-expr.js | 2 ++ .../for-of/labelled-fn-stmt-const.js | 2 ++ .../statements/for-of/labelled-fn-stmt-let.js | 2 ++ .../statements/for-of/labelled-fn-stmt-lhs.js | 2 ++ .../statements/for-of/labelled-fn-stmt-var.js | 2 ++ .../for-of/let-array-with-newline.js | 2 ++ .../statements/for/S12.6.3_A11.1_T3.js | 2 ++ .../language/statements/for/S12.6.3_A11_T3.js | 2 ++ .../statements/for/S12.6.3_A12.1_T3.js | 2 ++ .../language/statements/for/S12.6.3_A12_T3.js | 2 ++ test/language/statements/for/S12.6.3_A4.1.js | 2 ++ test/language/statements/for/S12.6.3_A4_T1.js | 2 ++ test/language/statements/for/S12.6.3_A4_T2.js | 2 ++ .../statements/for/S12.6.3_A7.1_T1.js | 2 ++ .../statements/for/S12.6.3_A7.1_T2.js | 2 ++ test/language/statements/for/S12.6.3_A7_T1.js | 2 ++ test/language/statements/for/S12.6.3_A7_T2.js | 2 ++ .../statements/for/S12.6.3_A8.1_T1.js | 2 ++ .../statements/for/S12.6.3_A8.1_T2.js | 2 ++ .../statements/for/S12.6.3_A8.1_T3.js | 2 ++ test/language/statements/for/S12.6.3_A8_T1.js | 2 ++ test/language/statements/for/S12.6.3_A8_T2.js | 2 ++ test/language/statements/for/S12.6.3_A8_T3.js | 2 ++ .../language/statements/for/decl-async-fun.js | 2 ++ .../language/statements/for/decl-async-gen.js | 2 ++ test/language/statements/for/decl-cls.js | 2 ++ test/language/statements/for/decl-const.js | 2 ++ test/language/statements/for/decl-fun.js | 2 ++ test/language/statements/for/decl-gen.js | 2 ++ test/language/statements/for/decl-let.js | 2 ++ .../for/head-const-bound-names-in-stmt.js | 2 ++ .../for/head-let-bound-names-in-stmt.js | 2 ++ .../statements/for/labelled-fn-stmt-const.js | 2 ++ .../statements/for/labelled-fn-stmt-expr.js | 2 ++ .../statements/for/labelled-fn-stmt-let.js | 2 ++ .../statements/for/labelled-fn-stmt-var.js | 2 ++ .../statements/for/let-array-with-newline.js | 2 ++ .../statements/function/13.0_4-5gs.js | 2 ++ .../language/statements/function/13.1-13gs.js | 2 ++ test/language/statements/function/13.1-1gs.js | 2 ++ test/language/statements/function/13.1-4gs.js | 2 ++ test/language/statements/function/13.1-5gs.js | 2 ++ test/language/statements/function/13.1-8gs.js | 2 ++ .../language/statements/function/S13_A7_T3.js | 2 ++ .../function/early-body-super-call.js | 2 ++ .../function/early-body-super-prop.js | 2 ++ .../function/early-params-super-call.js | 2 ++ .../function/early-params-super-prop.js | 2 ++ .../function/param-dflt-yield-strict.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ .../statements/generators/param-dflt-yield.js | 2 ++ .../use-strict-with-non-simple-param.js | 2 ++ .../yield-as-logical-or-expression.js | 2 ++ .../generators/yield-as-parameter.js | 2 ++ .../generators/yield-star-after-newline.js | 2 ++ .../generators/yield-weak-binding.js | 2 ++ test/language/statements/if/S12.5_A11.js | 2 ++ test/language/statements/if/S12.5_A6_T1.js | 2 ++ test/language/statements/if/S12.5_A6_T2.js | 2 ++ test/language/statements/if/S12.5_A8.js | 2 ++ .../if/if-async-fun-else-async-fun.js | 2 ++ .../statements/if/if-async-fun-else-stmt.js | 2 ++ .../statements/if/if-async-fun-no-else.js | 2 ++ .../if/if-async-gen-else-async-gen.js | 2 ++ .../statements/if/if-async-gen-else-stmt.js | 2 ++ .../statements/if/if-async-gen-no-else.js | 2 ++ .../language/statements/if/if-cls-else-cls.js | 2 ++ .../statements/if/if-cls-else-stmt.js | 2 ++ test/language/statements/if/if-cls-no-else.js | 2 ++ .../statements/if/if-const-else-const.js | 2 ++ .../statements/if/if-const-else-stmt.js | 2 ++ .../statements/if/if-const-no-else.js | 2 ++ .../statements/if/if-decl-else-decl-strict.js | 2 ++ .../statements/if/if-decl-else-stmt-strict.js | 2 ++ .../statements/if/if-decl-no-else-strict.js | 2 ++ .../statements/if/if-fun-else-fun-strict.js | 2 ++ .../statements/if/if-fun-else-stmt-strict.js | 2 ++ .../statements/if/if-fun-no-else-strict.js | 2 ++ .../language/statements/if/if-gen-else-gen.js | 2 ++ .../statements/if/if-gen-else-stmt.js | 2 ++ test/language/statements/if/if-gen-no-else.js | 2 ++ .../language/statements/if/if-let-else-let.js | 2 ++ .../statements/if/if-let-else-stmt.js | 2 ++ test/language/statements/if/if-let-no-else.js | 2 ++ .../statements/if/if-stmt-else-async-fun.js | 2 ++ .../statements/if/if-stmt-else-async-gen.js | 2 ++ .../statements/if/if-stmt-else-cls.js | 2 ++ .../statements/if/if-stmt-else-const.js | 2 ++ .../statements/if/if-stmt-else-decl-strict.js | 2 ++ .../statements/if/if-stmt-else-fun-strict.js | 2 ++ .../statements/if/if-stmt-else-gen.js | 2 ++ .../statements/if/if-stmt-else-let.js | 2 ++ .../statements/if/labelled-fn-stmt-first.js | 2 ++ .../statements/if/labelled-fn-stmt-lone.js | 2 ++ .../statements/if/labelled-fn-stmt-second.js | 2 ++ .../statements/if/let-array-with-newline.js | 2 ++ test/language/statements/labeled/continue.js | 2 ++ .../statements/labeled/decl-async-function.js | 2 ++ .../labeled/decl-async-generator.js | 2 ++ test/language/statements/labeled/decl-cls.js | 2 ++ .../language/statements/labeled/decl-const.js | 2 ++ .../statements/labeled/decl-fun-strict.js | 2 ++ test/language/statements/labeled/decl-gen.js | 2 ++ test/language/statements/labeled/decl-let.js | 2 ++ .../labeled/let-array-with-newline.js | 2 ++ .../labeled/value-await-module-escaped.js | 2 ++ .../statements/labeled/value-await-module.js | 2 ++ .../labeled/value-yield-strict-escaped.js | 2 ++ .../statements/labeled/value-yield-strict.js | 2 ++ ...-error-from-within-strict-mode-function.js | 2 ++ ...e-let-binding-with-function-declaration.js | 2 ++ ...tempt-to-redeclare-let-binding-with-var.js | 2 ++ ...lowed-as-lefthandside-expression-strict.js | 2 ++ .../identifier-let-disallowed-as-boundname.js | 2 ++ ...-let-declaration-split-across-two-lines.js | 2 ++ ...with-initializer-split-across-two-lines.js | 2 ++ .../let-newline-await-in-normal-function.js | 2 ++ ...let-newline-yield-in-generator-function.js | 2 ++ .../let-newline-yield-in-normal-function.js | 2 ++ ...positions-do-statement-while-expression.js | 2 ++ ...rs-in-statement-positions-for-statement.js | 2 ++ ...-if-expression-statement-else-statement.js | 2 ++ ...ement-positions-if-expression-statement.js | 2 ++ ...-in-statement-positions-label-statement.js | 2 ++ ...nt-positions-while-expression-statement.js | 2 ++ ...positions-do-statement-while-expression.js | 2 ++ ...rs-in-statement-positions-for-statement.js | 2 ++ ...-if-expression-statement-else-statement.js | 2 ++ ...ement-positions-if-expression-statement.js | 2 ++ ...-in-statement-positions-label-statement.js | 2 ++ ...nt-positions-while-expression-statement.js | 2 ++ .../language/statements/return/S12.9_A1_T1.js | 2 ++ .../statements/return/S12.9_A1_T10.js | 2 ++ .../language/statements/return/S12.9_A1_T2.js | 2 ++ .../language/statements/return/S12.9_A1_T3.js | 2 ++ .../language/statements/return/S12.9_A1_T4.js | 2 ++ .../language/statements/return/S12.9_A1_T5.js | 2 ++ .../language/statements/return/S12.9_A1_T6.js | 2 ++ .../language/statements/return/S12.9_A1_T7.js | 2 ++ .../language/statements/return/S12.9_A1_T8.js | 2 ++ .../language/statements/return/S12.9_A1_T9.js | 2 ++ .../statements/switch/S12.11_A2_T1.js | 2 ++ .../statements/switch/S12.11_A3_T1.js | 2 ++ .../statements/switch/S12.11_A3_T2.js | 2 ++ .../statements/switch/S12.11_A3_T3.js | 2 ++ .../statements/switch/S12.11_A3_T4.js | 2 ++ .../statements/switch/S12.11_A3_T5.js | 2 ++ test/language/statements/try/12.14.1-1gs.js | 2 ++ test/language/statements/try/S12.14_A16_T1.js | 2 ++ .../language/statements/try/S12.14_A16_T10.js | 2 ++ .../language/statements/try/S12.14_A16_T11.js | 2 ++ .../language/statements/try/S12.14_A16_T12.js | 2 ++ .../language/statements/try/S12.14_A16_T13.js | 2 ++ .../language/statements/try/S12.14_A16_T14.js | 2 ++ .../language/statements/try/S12.14_A16_T15.js | 2 ++ test/language/statements/try/S12.14_A16_T2.js | 2 ++ test/language/statements/try/S12.14_A16_T3.js | 2 ++ test/language/statements/try/S12.14_A16_T4.js | 2 ++ test/language/statements/try/S12.14_A16_T5.js | 2 ++ test/language/statements/try/S12.14_A16_T6.js | 2 ++ test/language/statements/try/S12.14_A16_T7.js | 2 ++ test/language/statements/try/S12.14_A16_T8.js | 2 ++ test/language/statements/try/S12.14_A16_T9.js | 2 ++ .../statements/try/early-catch-duplicates.js | 2 ++ .../statements/try/early-catch-lex.js | 2 ++ .../statements/try/early-catch-var.js | 2 ++ .../statements/variable/12.2.1-1gs.js | 2 ++ .../statements/variable/12.2.1-4gs.js | 2 ++ .../statements/variable/S12.2_A8_T1.js | 2 ++ .../statements/variable/S12.2_A8_T2.js | 2 ++ .../statements/variable/S12.2_A8_T3.js | 2 ++ .../statements/variable/S12.2_A8_T4.js | 2 ++ .../statements/variable/S12.2_A8_T5.js | 2 ++ .../statements/variable/S12.2_A8_T6.js | 2 ++ .../statements/variable/S12.2_A8_T7.js | 2 ++ .../statements/variable/S12.2_A8_T8.js | 2 ++ test/language/statements/while/S12.6.2_A15.js | 2 ++ .../statements/while/S12.6.2_A6_T1.js | 2 ++ .../statements/while/S12.6.2_A6_T2.js | 2 ++ .../statements/while/S12.6.2_A6_T3.js | 2 ++ .../statements/while/S12.6.2_A6_T4.js | 2 ++ .../statements/while/S12.6.2_A6_T5.js | 2 ++ .../statements/while/S12.6.2_A6_T6.js | 2 ++ .../statements/while/decl-async-fun.js | 2 ++ .../statements/while/decl-async-gen.js | 2 ++ test/language/statements/while/decl-cls.js | 2 ++ test/language/statements/while/decl-const.js | 2 ++ test/language/statements/while/decl-fun.js | 2 ++ test/language/statements/while/decl-gen.js | 2 ++ test/language/statements/while/decl-let.js | 2 ++ .../statements/while/labelled-fn-stmt.js | 2 ++ .../while/let-array-with-newline.js | 2 ++ test/language/statements/with/12.10.1-11gs.js | 2 ++ .../statements/with/decl-async-fun.js | 2 ++ .../statements/with/decl-async-gen.js | 2 ++ test/language/statements/with/decl-cls.js | 2 ++ test/language/statements/with/decl-const.js | 2 ++ test/language/statements/with/decl-fun.js | 2 ++ test/language/statements/with/decl-gen.js | 2 ++ test/language/statements/with/decl-let.js | 2 ++ .../statements/with/labelled-fn-stmt.js | 2 ++ .../statements/with/let-array-with-newline.js | 2 ++ test/language/types/boolean/S8.3_A2.1.js | 2 ++ test/language/types/boolean/S8.3_A2.2.js | 2 ++ test/language/types/null/S8.2_A2.js | 2 ++ test/language/types/reference/S8.7.2_A1_T1.js | 2 ++ test/language/types/reference/S8.7.2_A1_T2.js | 2 ++ test/language/types/string/S8.4_A13_T1.js | 2 ++ test/language/types/string/S8.4_A13_T2.js | 2 ++ test/language/types/string/S8.4_A13_T3.js | 2 ++ test/language/types/string/S8.4_A14_T1.js | 2 ++ test/language/types/string/S8.4_A14_T2.js | 2 ++ test/language/types/string/S8.4_A14_T3.js | 2 ++ test/language/white-space/S7.2_A5_T1.js | 2 ++ test/language/white-space/S7.2_A5_T2.js | 2 ++ test/language/white-space/S7.2_A5_T3.js | 2 ++ test/language/white-space/S7.2_A5_T4.js | 2 ++ test/language/white-space/S7.2_A5_T5.js | 2 ++ .../white-space/mongolian-vowel-separator.js | 2 ++ 1181 files changed, 2367 insertions(+), 9 deletions(-) diff --git a/src/async-functions/await-as-binding-identifier-escaped.case b/src/async-functions/await-as-binding-identifier-escaped.case index a17c984567..b5bf6b9d63 100644 --- a/src/async-functions/await-as-binding-identifier-escaped.case +++ b/src/async-functions/await-as-binding-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var \u0061wait; diff --git a/src/async-functions/await-as-binding-identifier.case b/src/async-functions/await-as-binding-identifier.case index 94105c794a..00217b7f83 100644 --- a/src/async-functions/await-as-binding-identifier.case +++ b/src/async-functions/await-as-binding-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var await; diff --git a/src/async-functions/await-as-identifier-reference-escaped.case b/src/async-functions/await-as-identifier-reference-escaped.case index 06a3799eae..bcb931f206 100644 --- a/src/async-functions/await-as-identifier-reference-escaped.case +++ b/src/async-functions/await-as-identifier-reference-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void \u0061wait; diff --git a/src/async-functions/await-as-identifier-reference.case b/src/async-functions/await-as-identifier-reference.case index 158303b71d..fd9e1a71b0 100644 --- a/src/async-functions/await-as-identifier-reference.case +++ b/src/async-functions/await-as-identifier-reference.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void await; diff --git a/src/async-functions/await-as-label-identifier-escaped.case b/src/async-functions/await-as-label-identifier-escaped.case index efcb5c3945..0f2a6bea31 100644 --- a/src/async-functions/await-as-label-identifier-escaped.case +++ b/src/async-functions/await-as-label-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body \u0061wait: ; diff --git a/src/async-functions/await-as-label-identifier.case b/src/async-functions/await-as-label-identifier.case index ba7ba2a7c7..b7ef8214ad 100644 --- a/src/async-functions/await-as-label-identifier.case +++ b/src/async-functions/await-as-label-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body await: ; diff --git a/src/async-generators/await-as-binding-identifier-escaped.case b/src/async-generators/await-as-binding-identifier-escaped.case index a17c984567..b5bf6b9d63 100644 --- a/src/async-generators/await-as-binding-identifier-escaped.case +++ b/src/async-generators/await-as-binding-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var \u0061wait; diff --git a/src/async-generators/await-as-binding-identifier.case b/src/async-generators/await-as-binding-identifier.case index 94105c794a..00217b7f83 100644 --- a/src/async-generators/await-as-binding-identifier.case +++ b/src/async-generators/await-as-binding-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var await; diff --git a/src/async-generators/await-as-identifier-reference-escaped.case b/src/async-generators/await-as-identifier-reference-escaped.case index 06a3799eae..bcb931f206 100644 --- a/src/async-generators/await-as-identifier-reference-escaped.case +++ b/src/async-generators/await-as-identifier-reference-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void \u0061wait; diff --git a/src/async-generators/await-as-identifier-reference.case b/src/async-generators/await-as-identifier-reference.case index 158303b71d..fd9e1a71b0 100644 --- a/src/async-generators/await-as-identifier-reference.case +++ b/src/async-generators/await-as-identifier-reference.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void await; diff --git a/src/async-generators/await-as-label-identifier-escaped.case b/src/async-generators/await-as-label-identifier-escaped.case index efcb5c3945..0f2a6bea31 100644 --- a/src/async-generators/await-as-label-identifier-escaped.case +++ b/src/async-generators/await-as-label-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body \u0061wait: ; diff --git a/src/async-generators/await-as-label-identifier.case b/src/async-generators/await-as-label-identifier.case index ba7ba2a7c7..b7ef8214ad 100644 --- a/src/async-generators/await-as-label-identifier.case +++ b/src/async-generators/await-as-label-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body await: ; diff --git a/src/async-generators/yield-as-binding-identifier-escaped.case b/src/async-generators/yield-as-binding-identifier-escaped.case index 824622585b..147ca4c7c9 100644 --- a/src/async-generators/yield-as-binding-identifier-escaped.case +++ b/src/async-generators/yield-as-binding-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var yi\u0065ld; diff --git a/src/async-generators/yield-as-binding-identifier.case b/src/async-generators/yield-as-binding-identifier.case index e66e47a80f..d8cc3e40b4 100644 --- a/src/async-generators/yield-as-binding-identifier.case +++ b/src/async-generators/yield-as-binding-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var yield; diff --git a/src/async-generators/yield-as-identifier-reference-escaped.case b/src/async-generators/yield-as-identifier-reference-escaped.case index 13bbc6c1c7..f7dcf3aa5d 100644 --- a/src/async-generators/yield-as-identifier-reference-escaped.case +++ b/src/async-generators/yield-as-identifier-reference-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void yi\u0065ld; diff --git a/src/async-generators/yield-as-identifier-reference.case b/src/async-generators/yield-as-identifier-reference.case index 35f6cfa41f..c3653ed95e 100644 --- a/src/async-generators/yield-as-identifier-reference.case +++ b/src/async-generators/yield-as-identifier-reference.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void yield; diff --git a/src/async-generators/yield-as-label-identifier-escaped.case b/src/async-generators/yield-as-label-identifier-escaped.case index 0da82aaff4..a2fcf41464 100644 --- a/src/async-generators/yield-as-label-identifier-escaped.case +++ b/src/async-generators/yield-as-label-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body yi\u0065ld: ; diff --git a/src/async-generators/yield-as-label-identifier.case b/src/async-generators/yield-as-label-identifier.case index 49665658aa..ef33cc9cc1 100644 --- a/src/async-generators/yield-as-label-identifier.case +++ b/src/async-generators/yield-as-label-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body yield: ; diff --git a/src/async-generators/yield-identifier-spread-strict.case b/src/async-generators/yield-identifier-spread-strict.case index 7c84ac4dae..75042b63f6 100644 --- a/src/async-generators/yield-identifier-spread-strict.case +++ b/src/async-generators/yield-identifier-spread-strict.case @@ -19,6 +19,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body return { ...(function() { diff --git a/src/async-generators/yield-identifier-strict.case b/src/async-generators/yield-identifier-strict.case index 6c9e49f828..685af49841 100644 --- a/src/async-generators/yield-identifier-strict.case +++ b/src/async-generators/yield-identifier-strict.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body (function() { var yield; diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template index 2a5c0f3e3f..a0e90feb31 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-generator-declaration.template index 17ae293b6e..c8a64a2d77 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-class-declaration.template index 0fd13ee658..140806a66a 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { class f {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-const-declaration.template index 0c9d092a8e..5fff047ee0 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { const f = 0; /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-function-declaration.template index bf954a75e7..32d3b9d74d 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-function-declaration.template @@ -16,4 +16,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + { function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-generator-declaration.template index f991d228a8..bee74b6fb6 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-let-declaration.template index 592556b0f9..5398a7c120 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { let f; /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-var-declaration.template b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-var-declaration.template index 50f548934e..ea7e46c377 100644 --- a/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-var-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-var-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { var f; /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-function-declaration.template index 40a2bf41ed..f8a67ab1f0 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-generator-declaration.template index 326f03d478..fd49f18ba3 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-class-declaration.template index 0e8888e4b8..ad666954af 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: class f {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-const-declaration.template index 9829abbf68..d167fab3c0 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: const f = 0; default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-function-declaration.template index 7ad3eede2a..9c2dce3e4d 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-function-declaration.template @@ -16,4 +16,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-generator-declaration.template index 5fb499613f..2cac174f72 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-let-declaration.template index f11a6dc158..291054eba4 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: let f; default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-var-declaration.template b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-var-declaration.template index dd83e6bcd2..3fbf919f2d 100644 --- a/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-var-declaration.template +++ b/src/declarations/redeclare-allow-sloppy-function/switch-attempt-to-redeclare-var-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: var f; default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-function-declaration.template index 28c7f582f8..6629461c8d 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-generator-declaration.template index d07e3e68a8..9e1b9b02be 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-class-declaration.template index 4cadafbd71..1993a5be7c 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { class f {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-const-declaration.template index 711fdf4225..c8447c0ec4 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { const f = 0; /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-function-declaration.template index 9e8ee15f50..e95e9c0500 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-function-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template index f4a49b40c1..91ab5086f6 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-let-declaration.template index 57f5bebe99..bdfbcdbe15 100644 --- a/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare-allow-var/block-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { let f; /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-function-declaration.template index 37f893c81f..3247769537 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-generator-declaration.template index 7c049c54de..b67ff4f6b6 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-class-declaration.template index 2462d78ede..cbc24ee613 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: class f {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-const-declaration.template index 8361a53a78..f8a297809e 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: const f = 0; default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-function-declaration.template index 12da4af5c2..358c216ae6 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-function-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template index 029076ae5b..039476cbda 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-let-declaration.template index 18fb61d17e..971f916cf9 100644 --- a/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare-allow-var/switch-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: let f; default: /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template index 2a5c0f3e3f..a0e90feb31 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template index 17ae293b6e..c8a64a2d77 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + { async function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template index 0fd13ee658..140806a66a 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { class f {} /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template index 0c9d092a8e..5fff047ee0 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { const f = 0; /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template index f163125379..b7266f98f5 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template index f991d228a8..bee74b6fb6 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { function* f() {} /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template index 592556b0f9..5398a7c120 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { let f; /*{ body }*/ } diff --git a/src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template b/src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template index 50f548934e..ea7e46c377 100644 --- a/src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template +++ b/src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + { var f; /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template index 40a2bf41ed..f8a67ab1f0 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-async-function-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-async-generator-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-async-generator-declaration.template index 326f03d478..fd49f18ba3 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-async-generator-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-async-generator-declaration.template @@ -16,4 +16,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: async function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-class-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-class-declaration.template index 0e8888e4b8..ad666954af 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-class-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-class-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: class f {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-const-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-const-declaration.template index 9829abbf68..d167fab3c0 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-const-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-const-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: const f = 0; default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-function-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-function-declaration.template index 25e21f00b0..6e4c169ab9 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-function-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-function-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-generator-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-generator-declaration.template index 5fb499613f..2cac174f72 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-generator-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-generator-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: function* f() {} default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-let-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-let-declaration.template index f11a6dc158..291054eba4 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-let-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-let-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: let f; default: /*{ body }*/ } diff --git a/src/declarations/redeclare/switch-attempt-to-redeclare-var-declaration.template b/src/declarations/redeclare/switch-attempt-to-redeclare-var-declaration.template index dd83e6bcd2..3fbf919f2d 100644 --- a/src/declarations/redeclare/switch-attempt-to-redeclare-var-declaration.template +++ b/src/declarations/redeclare/switch-attempt-to-redeclare-var-declaration.template @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch (0) { case 1: var f; default: /*{ body }*/ } diff --git a/src/dstr-assignment-for-await/array-elem-init-yield-ident-invalid.case b/src/dstr-assignment-for-await/array-elem-init-yield-ident-invalid.case index 559a52fc22..d3fdb10f15 100644 --- a/src/dstr-assignment-for-await/array-elem-init-yield-ident-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-init-yield-ident-invalid.case @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [ x = yield ] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-nested-array-invalid.case b/src/dstr-assignment-for-await/array-elem-nested-array-invalid.case index c61cdc9a82..9b556c2f32 100644 --- a/src/dstr-assignment-for-await/array-elem-nested-array-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-nested-array-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [[(x, y)]] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-nested-array-yield-ident-invalid.case b/src/dstr-assignment-for-await/array-elem-nested-array-yield-ident-invalid.case index bf7e26e6c3..28c48f83d3 100644 --- a/src/dstr-assignment-for-await/array-elem-nested-array-yield-ident-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-nested-array-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [[x[yield]]] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-nested-obj-invalid.case b/src/dstr-assignment-for-await/array-elem-nested-obj-invalid.case index c4b38e413d..bb008d7e31 100644 --- a/src/dstr-assignment-for-await/array-elem-nested-obj-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-nested-obj-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [{ get x() {} }] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-nested-obj-yield-ident-invalid.case b/src/dstr-assignment-for-await/array-elem-nested-obj-yield-ident-invalid.case index 6edca7faf6..a9a80684f6 100644 --- a/src/dstr-assignment-for-await/array-elem-nested-obj-yield-ident-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-nested-obj-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [{ x = yield }] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-target-simple-strict.case b/src/dstr-assignment-for-await/array-elem-target-simple-strict.case index a68cc95cb2..d65263e6a6 100644 --- a/src/dstr-assignment-for-await/array-elem-target-simple-strict.case +++ b/src/dstr-assignment-for-await/array-elem-target-simple-strict.case @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [arguments] //- vals diff --git a/src/dstr-assignment-for-await/array-elem-target-yield-invalid.case b/src/dstr-assignment-for-await/array-elem-target-yield-invalid.case index d22bab44e1..52730c3a16 100644 --- a/src/dstr-assignment-for-await/array-elem-target-yield-invalid.case +++ b/src/dstr-assignment-for-await/array-elem-target-yield-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [ x[yield] ] //- vals diff --git a/src/dstr-assignment/array-elem-init-yield-ident-invalid.case b/src/dstr-assignment/array-elem-init-yield-ident-invalid.case index a92e5fc498..5071329572 100644 --- a/src/dstr-assignment/array-elem-init-yield-ident-invalid.case +++ b/src/dstr-assignment/array-elem-init-yield-ident-invalid.case @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [ x = yield ] //- vals diff --git a/src/dstr-assignment/array-elem-nested-array-invalid.case b/src/dstr-assignment/array-elem-nested-array-invalid.case index c3d212df05..65a09d90f1 100644 --- a/src/dstr-assignment/array-elem-nested-array-invalid.case +++ b/src/dstr-assignment/array-elem-nested-array-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [[(x, y)]] //- vals diff --git a/src/dstr-assignment/array-elem-nested-array-yield-ident-invalid.case b/src/dstr-assignment/array-elem-nested-array-yield-ident-invalid.case index 67bfe43404..302ab495f8 100644 --- a/src/dstr-assignment/array-elem-nested-array-yield-ident-invalid.case +++ b/src/dstr-assignment/array-elem-nested-array-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [[x[yield]]] //- vals diff --git a/src/dstr-assignment/array-elem-nested-obj-invalid.case b/src/dstr-assignment/array-elem-nested-obj-invalid.case index 5b486bc48e..45c1526bfe 100644 --- a/src/dstr-assignment/array-elem-nested-obj-invalid.case +++ b/src/dstr-assignment/array-elem-nested-obj-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [{ get x() {} }] //- vals diff --git a/src/dstr-assignment/array-elem-nested-obj-yield-ident-invalid.case b/src/dstr-assignment/array-elem-nested-obj-yield-ident-invalid.case index d6a792c8bf..549af19c42 100644 --- a/src/dstr-assignment/array-elem-nested-obj-yield-ident-invalid.case +++ b/src/dstr-assignment/array-elem-nested-obj-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [{ x = yield }] //- vals diff --git a/src/dstr-assignment/array-elem-target-simple-strict.case b/src/dstr-assignment/array-elem-target-simple-strict.case index a06ccd75d0..c76bb36f8c 100644 --- a/src/dstr-assignment/array-elem-target-simple-strict.case +++ b/src/dstr-assignment/array-elem-target-simple-strict.case @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [arguments] //- vals diff --git a/src/dstr-assignment/array-elem-target-yield-invalid.case b/src/dstr-assignment/array-elem-target-yield-invalid.case index 71270d5f45..7962148dbe 100644 --- a/src/dstr-assignment/array-elem-target-yield-invalid.case +++ b/src/dstr-assignment/array-elem-target-yield-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [ x[yield] ] //- vals diff --git a/src/dstr-assignment/array-rest-before-element.case b/src/dstr-assignment/array-rest-before-element.case index cbf87ec138..80959d2b2d 100644 --- a/src/dstr-assignment/array-rest-before-element.case +++ b/src/dstr-assignment/array-rest-before-element.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x, y] //- vals diff --git a/src/dstr-assignment/array-rest-before-elision.case b/src/dstr-assignment/array-rest-before-elision.case index d97663df9f..a7508bd197 100644 --- a/src/dstr-assignment/array-rest-before-elision.case +++ b/src/dstr-assignment/array-rest-before-elision.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x,] //- vals diff --git a/src/dstr-assignment/array-rest-before-rest.case b/src/dstr-assignment/array-rest-before-rest.case index 304e0ab487..1f2da38590 100644 --- a/src/dstr-assignment/array-rest-before-rest.case +++ b/src/dstr-assignment/array-rest-before-rest.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x, ...y] //- vals diff --git a/src/dstr-assignment/array-rest-elision-invalid.case b/src/dstr-assignment/array-rest-elision-invalid.case index 019fa58dd5..8cc5b534e4 100644 --- a/src/dstr-assignment/array-rest-elision-invalid.case +++ b/src/dstr-assignment/array-rest-elision-invalid.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x,] //- vals diff --git a/src/dstr-assignment/array-rest-init.case b/src/dstr-assignment/array-rest-init.case index aaf654fa47..ef4a9c99a7 100644 --- a/src/dstr-assignment/array-rest-init.case +++ b/src/dstr-assignment/array-rest-init.case @@ -12,6 +12,7 @@ negative: ---*/ //- setup +throw "Test262: This statement should not be evaluated."; var x; //- elems [...x = 1] diff --git a/src/dstr-assignment/array-rest-nested-array-invalid.case b/src/dstr-assignment/array-rest-nested-array-invalid.case index 0163c4e004..68ef352a7a 100644 --- a/src/dstr-assignment/array-rest-nested-array-invalid.case +++ b/src/dstr-assignment/array-rest-nested-array-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[(x, y)]] //- vals diff --git a/src/dstr-assignment/array-rest-nested-array-yield-ident-invalid.case b/src/dstr-assignment/array-rest-nested-array-yield-ident-invalid.case index 42c334b406..9a05d7695c 100644 --- a/src/dstr-assignment/array-rest-nested-array-yield-ident-invalid.case +++ b/src/dstr-assignment/array-rest-nested-array-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[x[yield]]] //- vals diff --git a/src/dstr-assignment/array-rest-nested-obj-invalid.case b/src/dstr-assignment/array-rest-nested-obj-invalid.case index b393f1677d..f306e4e0f2 100644 --- a/src/dstr-assignment/array-rest-nested-obj-invalid.case +++ b/src/dstr-assignment/array-rest-nested-obj-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ get x() {} }] //- vals diff --git a/src/dstr-assignment/array-rest-nested-obj-yield-ident-invalid.case b/src/dstr-assignment/array-rest-nested-obj-yield-ident-invalid.case index 7b88162a66..8351f99f77 100644 --- a/src/dstr-assignment/array-rest-nested-obj-yield-ident-invalid.case +++ b/src/dstr-assignment/array-rest-nested-obj-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ x = yield }] //- vals diff --git a/src/dstr-assignment/array-rest-yield-ident-invalid.case b/src/dstr-assignment/array-rest-yield-ident-invalid.case index 3dec86f328..e47a8ab22f 100644 --- a/src/dstr-assignment/array-rest-yield-ident-invalid.case +++ b/src/dstr-assignment/array-rest-yield-ident-invalid.case @@ -15,6 +15,7 @@ negative: ---*/ //- setup +throw "Test262: This statement should not be evaluated."; var x = {}; //- elems [...x[yield]] diff --git a/src/dstr-assignment/obj-id-identifier-yield-expr.case b/src/dstr-assignment/obj-id-identifier-yield-expr.case index d188630eed..c070ab49f5 100644 --- a/src/dstr-assignment/obj-id-identifier-yield-expr.case +++ b/src/dstr-assignment/obj-id-identifier-yield-expr.case @@ -15,6 +15,7 @@ negative: ---*/ //- setup +throw "Test262: This statement should not be evaluated."; (function*() { //- elems { yield } diff --git a/src/dstr-assignment/obj-id-identifier-yield-ident-invalid.case b/src/dstr-assignment/obj-id-identifier-yield-ident-invalid.case index e668456de7..c0c05007be 100644 --- a/src/dstr-assignment/obj-id-identifier-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-id-identifier-yield-ident-invalid.case @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { yield } //- vals diff --git a/src/dstr-assignment/obj-id-init-simple-strict.case b/src/dstr-assignment/obj-id-init-simple-strict.case index c2eebf5204..29759d1487 100644 --- a/src/dstr-assignment/obj-id-init-simple-strict.case +++ b/src/dstr-assignment/obj-id-init-simple-strict.case @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { eval = 0 } //- vals diff --git a/src/dstr-assignment/obj-id-init-yield-ident-invalid.case b/src/dstr-assignment/obj-id-init-yield-ident-invalid.case index 31ed69b955..ad4e779c3c 100644 --- a/src/dstr-assignment/obj-id-init-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-id-init-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x = yield } //- vals diff --git a/src/dstr-assignment/obj-id-simple-strict.case b/src/dstr-assignment/obj-id-simple-strict.case index 07ee74ad97..11d516fec5 100644 --- a/src/dstr-assignment/obj-id-simple-strict.case +++ b/src/dstr-assignment/obj-id-simple-strict.case @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { eval } //- vals diff --git a/src/dstr-assignment/obj-prop-elem-init-yield-ident-invalid.case b/src/dstr-assignment/obj-prop-elem-init-yield-ident-invalid.case index 3209b2ae68..8f5194be74 100644 --- a/src/dstr-assignment/obj-prop-elem-init-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-prop-elem-init-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: x = yield } //- vals diff --git a/src/dstr-assignment/obj-prop-elem-target-yield-ident-invalid.case b/src/dstr-assignment/obj-prop-elem-target-yield-ident-invalid.case index 5499eff41c..4a2b522308 100644 --- a/src/dstr-assignment/obj-prop-elem-target-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-prop-elem-target-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: x[yield] } //- vals diff --git a/src/dstr-assignment/obj-prop-nested-array-invalid.case b/src/dstr-assignment/obj-prop-nested-array-invalid.case index e211a97156..0357aee518 100644 --- a/src/dstr-assignment/obj-prop-nested-array-invalid.case +++ b/src/dstr-assignment/obj-prop-nested-array-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: [(x, y)] } //- vals diff --git a/src/dstr-assignment/obj-prop-nested-array-yield-ident-invalid.case b/src/dstr-assignment/obj-prop-nested-array-yield-ident-invalid.case index da89304718..b70af5351d 100644 --- a/src/dstr-assignment/obj-prop-nested-array-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-prop-nested-array-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: [x = yield] } //- vals diff --git a/src/dstr-assignment/obj-prop-nested-obj-invalid.case b/src/dstr-assignment/obj-prop-nested-obj-invalid.case index b207859342..aa48b84e76 100644 --- a/src/dstr-assignment/obj-prop-nested-obj-invalid.case +++ b/src/dstr-assignment/obj-prop-nested-obj-invalid.case @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: { get x() {} } } //- vals diff --git a/src/dstr-assignment/obj-prop-nested-obj-yield-ident-invalid.case b/src/dstr-assignment/obj-prop-nested-obj-yield-ident-invalid.case index a6a02878eb..13b411c3f4 100644 --- a/src/dstr-assignment/obj-prop-nested-obj-yield-ident-invalid.case +++ b/src/dstr-assignment/obj-prop-nested-obj-yield-ident-invalid.case @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems { x: { x = yield } } //- vals diff --git a/src/dstr-assignment/obj-rest-not-last-element-invalid.case b/src/dstr-assignment/obj-rest-not-last-element-invalid.case index 4f371dee54..83ec1dfd89 100644 --- a/src/dstr-assignment/obj-rest-not-last-element-invalid.case +++ b/src/dstr-assignment/obj-rest-not-last-element-invalid.case @@ -14,6 +14,7 @@ features: [object-rest] ---*/ //- setup +throw "Test262: This statement should not be evaluated."; var rest, b; //- elems {...rest, b} diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-init-ary.case b/src/dstr-binding-for-await/ary-ptrn-rest-init-ary.case index 8d302fa4c9..f4d19eca78 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-init-ary.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-init-ary.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[ x ] = []] //- vals diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-init-id.case b/src/dstr-binding-for-await/ary-ptrn-rest-init-id.case index 157935b1a6..518a5b320c 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-init-id.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-init-id.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x = []] //- vals diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-init-obj.case b/src/dstr-binding-for-await/ary-ptrn-rest-init-obj.case index e55c245fde..0dbe74cd25 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-init-obj.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-init-obj.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ x } = []] //- vals diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case index 4a7b66f869..8b3f55115d 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[x], y] //- vals diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-id.case b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-id.case index b569bb020d..026e7a4a8a 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-id.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-id.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x, y] //- vals diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case index 3540f3dd1c..630e67a078 100644 --- a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case +++ b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ x }, y] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-init-ary.case b/src/dstr-binding/ary-ptrn-rest-init-ary.case index ab359ad3f3..f2d11f41b0 100644 --- a/src/dstr-binding/ary-ptrn-rest-init-ary.case +++ b/src/dstr-binding/ary-ptrn-rest-init-ary.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[ x ] = []] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-init-id.case b/src/dstr-binding/ary-ptrn-rest-init-id.case index e5ab514c08..d3e5e3fa79 100644 --- a/src/dstr-binding/ary-ptrn-rest-init-id.case +++ b/src/dstr-binding/ary-ptrn-rest-init-id.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x = []] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-init-obj.case b/src/dstr-binding/ary-ptrn-rest-init-obj.case index dc3cf7437a..9a05a4bddc 100644 --- a/src/dstr-binding/ary-ptrn-rest-init-obj.case +++ b/src/dstr-binding/ary-ptrn-rest-init-obj.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ x } = []] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-not-final-ary.case b/src/dstr-binding/ary-ptrn-rest-not-final-ary.case index c76c83d0a4..ad081d2b60 100644 --- a/src/dstr-binding/ary-ptrn-rest-not-final-ary.case +++ b/src/dstr-binding/ary-ptrn-rest-not-final-ary.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...[x], y] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-not-final-id.case b/src/dstr-binding/ary-ptrn-rest-not-final-id.case index 962733013a..6a8b4fd86c 100644 --- a/src/dstr-binding/ary-ptrn-rest-not-final-id.case +++ b/src/dstr-binding/ary-ptrn-rest-not-final-id.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...x, y] //- vals diff --git a/src/dstr-binding/ary-ptrn-rest-not-final-obj.case b/src/dstr-binding/ary-ptrn-rest-not-final-obj.case index 00c70507ea..89650fa496 100644 --- a/src/dstr-binding/ary-ptrn-rest-not-final-obj.case +++ b/src/dstr-binding/ary-ptrn-rest-not-final-obj.case @@ -15,6 +15,8 @@ info: > [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- elems [...{ x }, y] //- vals diff --git a/src/function-forms/dflt-params-duplicates.case b/src/function-forms/dflt-params-duplicates.case index 544c444a8c..35a49a20af 100644 --- a/src/function-forms/dflt-params-duplicates.case +++ b/src/function-forms/dflt-params-duplicates.case @@ -24,5 +24,7 @@ info: | features: [default-parameters] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- params x = 0, x diff --git a/src/function-forms/dflt-params-rest.case b/src/function-forms/dflt-params-rest.case index 2b96d624a1..6b591bc1fa 100644 --- a/src/function-forms/dflt-params-rest.case +++ b/src/function-forms/dflt-params-rest.case @@ -26,5 +26,7 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- params ...x = [] diff --git a/src/function-forms/rest-params-trailing-comma-early-error.case b/src/function-forms/rest-params-trailing-comma-early-error.case index 42bdf3f861..ab2ad22c34 100644 --- a/src/function-forms/rest-params-trailing-comma-early-error.case +++ b/src/function-forms/rest-params-trailing-comma-early-error.case @@ -20,5 +20,7 @@ info: | FormalParameterList[?Yield, ?Await] , FunctionRestParameter[?Yield, ?Await] ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- params ...a, diff --git a/src/generators/yield-as-binding-identifier-escaped.case b/src/generators/yield-as-binding-identifier-escaped.case index 824622585b..147ca4c7c9 100644 --- a/src/generators/yield-as-binding-identifier-escaped.case +++ b/src/generators/yield-as-binding-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var yi\u0065ld; diff --git a/src/generators/yield-as-binding-identifier.case b/src/generators/yield-as-binding-identifier.case index e66e47a80f..d8cc3e40b4 100644 --- a/src/generators/yield-as-binding-identifier.case +++ b/src/generators/yield-as-binding-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body var yield; diff --git a/src/generators/yield-as-identifier-reference-escaped.case b/src/generators/yield-as-identifier-reference-escaped.case index 13bbc6c1c7..f7dcf3aa5d 100644 --- a/src/generators/yield-as-identifier-reference-escaped.case +++ b/src/generators/yield-as-identifier-reference-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void yi\u0065ld; diff --git a/src/generators/yield-as-identifier-reference.case b/src/generators/yield-as-identifier-reference.case index 35f6cfa41f..c3653ed95e 100644 --- a/src/generators/yield-as-identifier-reference.case +++ b/src/generators/yield-as-identifier-reference.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body void yield; diff --git a/src/generators/yield-as-label-identifier-escaped.case b/src/generators/yield-as-label-identifier-escaped.case index 0da82aaff4..a2fcf41464 100644 --- a/src/generators/yield-as-label-identifier-escaped.case +++ b/src/generators/yield-as-label-identifier-escaped.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body yi\u0065ld: ; diff --git a/src/generators/yield-as-label-identifier.case b/src/generators/yield-as-label-identifier.case index 49665658aa..ef33cc9cc1 100644 --- a/src/generators/yield-as-label-identifier.case +++ b/src/generators/yield-as-label-identifier.case @@ -17,5 +17,7 @@ negative: template: syntax ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body yield: ; diff --git a/src/generators/yield-identifier-spread-strict.case b/src/generators/yield-identifier-spread-strict.case index 7c84ac4dae..75042b63f6 100644 --- a/src/generators/yield-identifier-spread-strict.case +++ b/src/generators/yield-identifier-spread-strict.case @@ -19,6 +19,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body return { ...(function() { diff --git a/src/generators/yield-identifier-strict.case b/src/generators/yield-identifier-strict.case index 6c9e49f828..685af49841 100644 --- a/src/generators/yield-identifier-strict.case +++ b/src/generators/yield-identifier-strict.case @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +//- setup +throw "Test262: This statement should not be evaluated."; //- body (function() { var yield; diff --git a/test/annexB/language/expressions/object/__proto__-duplicate.js b/test/annexB/language/expressions/object/__proto__-duplicate.js index da984718c1..a0c5a38b3f 100644 --- a/test/annexB/language/expressions/object/__proto__-duplicate.js +++ b/test/annexB/language/expressions/object/__proto__-duplicate.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ __proto__: null, other: null, diff --git a/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js b/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js index 8367f5b63f..4217c01623 100644 --- a/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js +++ b/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js @@ -13,4 +13,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + `${'\07'}`; diff --git a/test/annexB/language/statements/for-in/bare-initializer.js b/test/annexB/language/statements/for-in/bare-initializer.js index 08f106feac..dbbfd23341 100644 --- a/test/annexB/language/statements/for-in/bare-initializer.js +++ b/test/annexB/language/statements/for-in/bare-initializer.js @@ -8,6 +8,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var a; throw NotEarlyError; for (a = 0 in {}); diff --git a/test/annexB/language/statements/for-in/const-initializer.js b/test/annexB/language/statements/for-in/const-initializer.js index e58d03f3d5..6c72c99a7b 100644 --- a/test/annexB/language/statements/for-in/const-initializer.js +++ b/test/annexB/language/statements/for-in/const-initializer.js @@ -8,6 +8,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; throw NotEarlyError; for (const a = 0 in {}); diff --git a/test/annexB/language/statements/for-in/let-initializer.js b/test/annexB/language/statements/for-in/let-initializer.js index 05d145fa84..5825d886a6 100644 --- a/test/annexB/language/statements/for-in/let-initializer.js +++ b/test/annexB/language/statements/for-in/let-initializer.js @@ -8,6 +8,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; throw NotEarlyError; for (let a = 0 in {}); diff --git a/test/annexB/language/statements/for-in/strict-initializer.js b/test/annexB/language/statements/for-in/strict-initializer.js index 5ebeaffccb..61f5dc810c 100644 --- a/test/annexB/language/statements/for-in/strict-initializer.js +++ b/test/annexB/language/statements/for-in/strict-initializer.js @@ -9,6 +9,8 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; throw NotEarlyError; for (var a = 0 in {}); diff --git a/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js b/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js index 4002d79019..d112c40bef 100644 --- a/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js +++ b/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js @@ -8,6 +8,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; throw NotEarlyError; for (var [a] = 0 in {}); diff --git a/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js b/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js index 0269e034d7..f7ca4b0121 100644 --- a/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js +++ b/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js @@ -8,6 +8,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; throw NotEarlyError; for (var {a} = 0 in {}); diff --git a/test/language/arguments-object/10.5-1gs.js b/test/language/arguments-object/10.5-1gs.js index 0c148e5550..d65adca92d 100644 --- a/test/language/arguments-object/10.5-1gs.js +++ b/test/language/arguments-object/10.5-1gs.js @@ -10,6 +10,8 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + function f_10_5_1_gs(){ arguments = 7; diff --git a/test/language/asi/S7.9.2_A1_T1.js b/test/language/asi/S7.9.2_A1_T1.js index ab0a52e985..d3e283b32d 100644 --- a/test/language/asi/S7.9.2_A1_T1.js +++ b/test/language/asi/S7.9.2_A1_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 { 1 2 } 3 diff --git a/test/language/asi/S7.9.2_A1_T3.js b/test/language/asi/S7.9.2_A1_T3.js index fcbdfadddc..4b376bf964 100644 --- a/test/language/asi/S7.9.2_A1_T3.js +++ b/test/language/asi/S7.9.2_A1_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( a ; b ) diff --git a/test/language/asi/S7.9.2_A1_T6.js b/test/language/asi/S7.9.2_A1_T6.js index 84dfd59a7a..91863dbef2 100644 --- a/test/language/asi/S7.9.2_A1_T6.js +++ b/test/language/asi/S7.9.2_A1_T6.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 var a=1,b=2,c=3,d; if(a>b) diff --git a/test/language/asi/S7.9_A10_T2.js b/test/language/asi/S7.9_A10_T2.js index 29d262a7fe..021240a1fa 100644 --- a/test/language/asi/S7.9_A10_T2.js +++ b/test/language/asi/S7.9_A10_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 {} * 1 diff --git a/test/language/asi/S7.9_A10_T4.js b/test/language/asi/S7.9_A10_T4.js index b617f178eb..0ac9be5249 100644 --- a/test/language/asi/S7.9_A10_T4.js +++ b/test/language/asi/S7.9_A10_T4.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 ({};) * 1 diff --git a/test/language/asi/S7.9_A10_T6.js b/test/language/asi/S7.9_A10_T6.js index a4c5c73b0d..24b6bf5eda 100644 --- a/test/language/asi/S7.9_A10_T6.js +++ b/test/language/asi/S7.9_A10_T6.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 {} * 1 diff --git a/test/language/asi/S7.9_A10_T8.js b/test/language/asi/S7.9_A10_T8.js index 9486998a30..8a7c393a12 100644 --- a/test/language/asi/S7.9_A10_T8.js +++ b/test/language/asi/S7.9_A10_T8.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 {1 2} 3 diff --git a/test/language/asi/S7.9_A11_T4.js b/test/language/asi/S7.9_A11_T4.js index a86ca4c14e..a757cf4307 100644 --- a/test/language/asi/S7.9_A11_T4.js +++ b/test/language/asi/S7.9_A11_T4.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 var x = 0; if (false) x = 1 else x = -1 diff --git a/test/language/asi/S7.9_A11_T8.js b/test/language/asi/S7.9_A11_T8.js index 79924c754c..4b38dcf032 100644 --- a/test/language/asi/S7.9_A11_T8.js +++ b/test/language/asi/S7.9_A11_T8.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 var x = 0; if (false) {x = 1}; diff --git a/test/language/asi/S7.9_A4.js b/test/language/asi/S7.9_A4.js index 6f27db7274..463fdd445b 100644 --- a/test/language/asi/S7.9_A4.js +++ b/test/language/asi/S7.9_A4.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 try { throw diff --git a/test/language/asi/S7.9_A5.1_T1.js b/test/language/asi/S7.9_A5.1_T1.js index 94049e80e3..9c3da245dc 100644 --- a/test/language/asi/S7.9_A5.1_T1.js +++ b/test/language/asi/S7.9_A5.1_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 var x = 0; x diff --git a/test/language/asi/S7.9_A5.3_T1.js b/test/language/asi/S7.9_A5.3_T1.js index 0fd181f3a5..9e919e9f22 100644 --- a/test/language/asi/S7.9_A5.3_T1.js +++ b/test/language/asi/S7.9_A5.3_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 var x = 1; x diff --git a/test/language/asi/S7.9_A5.7_T1.js b/test/language/asi/S7.9_A5.7_T1.js index c7cf734863..c65554ccdc 100644 --- a/test/language/asi/S7.9_A5.7_T1.js +++ b/test/language/asi/S7.9_A5.7_T1.js @@ -16,6 +16,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + var x=0, y=0; var z= x diff --git a/test/language/asi/S7.9_A6.2_T1.js b/test/language/asi/S7.9_A6.2_T1.js index 85dfe9e1e7..f7e0165017 100644 --- a/test/language/asi/S7.9_A6.2_T1.js +++ b/test/language/asi/S7.9_A6.2_T1.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(; ) { diff --git a/test/language/asi/S7.9_A6.2_T10.js b/test/language/asi/S7.9_A6.2_T10.js index e5da87931d..7e28484105 100644 --- a/test/language/asi/S7.9_A6.2_T10.js +++ b/test/language/asi/S7.9_A6.2_T10.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( false diff --git a/test/language/asi/S7.9_A6.2_T2.js b/test/language/asi/S7.9_A6.2_T2.js index f7b3bad3be..9ac0eecbbf 100644 --- a/test/language/asi/S7.9_A6.2_T2.js +++ b/test/language/asi/S7.9_A6.2_T2.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( ; diff --git a/test/language/asi/S7.9_A6.2_T3.js b/test/language/asi/S7.9_A6.2_T3.js index c4c09c6124..a7086af331 100644 --- a/test/language/asi/S7.9_A6.2_T3.js +++ b/test/language/asi/S7.9_A6.2_T3.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( ;) { diff --git a/test/language/asi/S7.9_A6.2_T4.js b/test/language/asi/S7.9_A6.2_T4.js index 8b56116a7b..14c5bfd016 100644 --- a/test/language/asi/S7.9_A6.2_T4.js +++ b/test/language/asi/S7.9_A6.2_T4.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( diff --git a/test/language/asi/S7.9_A6.2_T5.js b/test/language/asi/S7.9_A6.2_T5.js index c14db6d882..00bc756c67 100644 --- a/test/language/asi/S7.9_A6.2_T5.js +++ b/test/language/asi/S7.9_A6.2_T5.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false;false ) { diff --git a/test/language/asi/S7.9_A6.2_T6.js b/test/language/asi/S7.9_A6.2_T6.js index 49a7ec981d..f89246d1b1 100644 --- a/test/language/asi/S7.9_A6.2_T6.js +++ b/test/language/asi/S7.9_A6.2_T6.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false; false diff --git a/test/language/asi/S7.9_A6.2_T7.js b/test/language/asi/S7.9_A6.2_T7.js index ecd15214e9..f9edb6b0e8 100644 --- a/test/language/asi/S7.9_A6.2_T7.js +++ b/test/language/asi/S7.9_A6.2_T7.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false ; diff --git a/test/language/asi/S7.9_A6.2_T8.js b/test/language/asi/S7.9_A6.2_T8.js index 816d79bb9f..83992f1ac4 100644 --- a/test/language/asi/S7.9_A6.2_T8.js +++ b/test/language/asi/S7.9_A6.2_T8.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false ;false diff --git a/test/language/asi/S7.9_A6.2_T9.js b/test/language/asi/S7.9_A6.2_T9.js index 91aead6ec4..4452f1342e 100644 --- a/test/language/asi/S7.9_A6.2_T9.js +++ b/test/language/asi/S7.9_A6.2_T9.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( ;false) { diff --git a/test/language/asi/S7.9_A6.3_T1.js b/test/language/asi/S7.9_A6.3_T1.js index 6986f5fa4b..197542a94c 100644 --- a/test/language/asi/S7.9_A6.3_T1.js +++ b/test/language/asi/S7.9_A6.3_T1.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( ) { diff --git a/test/language/asi/S7.9_A6.3_T2.js b/test/language/asi/S7.9_A6.3_T2.js index 432d3ba53d..c49e85f3e8 100644 --- a/test/language/asi/S7.9_A6.3_T2.js +++ b/test/language/asi/S7.9_A6.3_T2.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( diff --git a/test/language/asi/S7.9_A6.3_T3.js b/test/language/asi/S7.9_A6.3_T3.js index a6e70cf0a6..999af8e879 100644 --- a/test/language/asi/S7.9_A6.3_T3.js +++ b/test/language/asi/S7.9_A6.3_T3.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( diff --git a/test/language/asi/S7.9_A6.3_T4.js b/test/language/asi/S7.9_A6.3_T4.js index d9c61bcf25..7b50eadb3f 100644 --- a/test/language/asi/S7.9_A6.3_T4.js +++ b/test/language/asi/S7.9_A6.3_T4.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( false diff --git a/test/language/asi/S7.9_A6.3_T5.js b/test/language/asi/S7.9_A6.3_T5.js index ff6f333324..51173f37d1 100644 --- a/test/language/asi/S7.9_A6.3_T5.js +++ b/test/language/asi/S7.9_A6.3_T5.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false false diff --git a/test/language/asi/S7.9_A6.3_T6.js b/test/language/asi/S7.9_A6.3_T6.js index 661e5adb5f..96c8c184ce 100644 --- a/test/language/asi/S7.9_A6.3_T6.js +++ b/test/language/asi/S7.9_A6.3_T6.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( false diff --git a/test/language/asi/S7.9_A6.3_T7.js b/test/language/asi/S7.9_A6.3_T7.js index bd3f910dc1..a2dcb72016 100644 --- a/test/language/asi/S7.9_A6.3_T7.js +++ b/test/language/asi/S7.9_A6.3_T7.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for( false diff --git a/test/language/asi/S7.9_A6.4_T1.js b/test/language/asi/S7.9_A6.4_T1.js index 77edb266a7..7fb502609b 100644 --- a/test/language/asi/S7.9_A6.4_T1.js +++ b/test/language/asi/S7.9_A6.4_T1.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false;false;false;) { break; diff --git a/test/language/asi/S7.9_A6.4_T2.js b/test/language/asi/S7.9_A6.4_T2.js index 18bf2db74e..c52cbe7781 100644 --- a/test/language/asi/S7.9_A6.4_T2.js +++ b/test/language/asi/S7.9_A6.4_T2.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 for(false;false;;false) { break; diff --git a/test/language/asi/S7.9_A9_T6.js b/test/language/asi/S7.9_A9_T6.js index cfe642e4ed..cdb991527d 100644 --- a/test/language/asi/S7.9_A9_T6.js +++ b/test/language/asi/S7.9_A9_T6.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 do while (false) diff --git a/test/language/asi/S7.9_A9_T7.js b/test/language/asi/S7.9_A9_T7.js index d8c6e6591e..621c413ab9 100644 --- a/test/language/asi/S7.9_A9_T7.js +++ b/test/language/asi/S7.9_A9_T7.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 do diff --git a/test/language/asi/S7.9_A9_T8.js b/test/language/asi/S7.9_A9_T8.js index 9abe51e53f..81e4b81159 100644 --- a/test/language/asi/S7.9_A9_T8.js +++ b/test/language/asi/S7.9_A9_T8.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 do {}; while (false) diff --git a/test/language/block-scope/syntax/for-in/disallow-initialization-assignment.js b/test/language/block-scope/syntax/for-in/disallow-initialization-assignment.js index 15ba525158..44c9648a12 100644 --- a/test/language/block-scope/syntax/for-in/disallow-initialization-assignment.js +++ b/test/language/block-scope/syntax/for-in/disallow-initialization-assignment.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; for (let x = 3 in {}) { } diff --git a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-and-without-initializer.js b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-and-without-initializer.js index 3d9870e38d..652712ec7c 100644 --- a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-and-without-initializer.js +++ b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-and-without-initializer.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; for (let x = 3, y in {}) { } diff --git a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-initializer.js b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-initializer.js index 8531acc45b..09943904eb 100644 --- a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-initializer.js +++ b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-with-initializer.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; for (let x = 3, y = 4 in {}) { } diff --git a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-without-and-with-initializer.js b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-without-and-with-initializer.js index 08a8fc854f..aace3cb077 100644 --- a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-without-and-with-initializer.js +++ b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings-without-and-with-initializer.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; for (let x, y = 4 in {}) { } diff --git a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings.js b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings.js index 16093ffbd5..80d4f9c118 100644 --- a/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings.js +++ b/test/language/block-scope/syntax/for-in/disallow-multiple-lexical-bindings.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; for (let x, y in {}) { } diff --git a/test/language/block-scope/syntax/function-declarations/in-statement-position-do-statement-while-expression.js b/test/language/block-scope/syntax/function-declarations/in-statement-position-do-statement-while-expression.js index 8b1a71b40a..03b33d10c7 100644 --- a/test/language/block-scope/syntax/function-declarations/in-statement-position-do-statement-while-expression.js +++ b/test/language/block-scope/syntax/function-declarations/in-statement-position-do-statement-while-expression.js @@ -10,5 +10,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; do function g() {} while (false) diff --git a/test/language/block-scope/syntax/function-declarations/in-statement-position-for-statement.js b/test/language/block-scope/syntax/function-declarations/in-statement-position-for-statement.js index b7fbcca67d..3805b9cc89 100644 --- a/test/language/block-scope/syntax/function-declarations/in-statement-position-for-statement.js +++ b/test/language/block-scope/syntax/function-declarations/in-statement-position-for-statement.js @@ -10,5 +10,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; for (;false;) function g() {} diff --git a/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement-else-statement.js b/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement-else-statement.js index a55f7e2d4d..de2e42fbe1 100644 --- a/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement-else-statement.js +++ b/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement-else-statement.js @@ -10,5 +10,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; if (true) {} else function g() {} diff --git a/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement.js b/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement.js index 3786ff7643..2020f0b84e 100644 --- a/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement.js +++ b/test/language/block-scope/syntax/function-declarations/in-statement-position-if-expression-statement.js @@ -10,5 +10,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; if (true) function g() {} diff --git a/test/language/block-scope/syntax/function-declarations/in-statement-position-while-expression-statement.js b/test/language/block-scope/syntax/function-declarations/in-statement-position-while-expression-statement.js index 77d07425b5..54a76ae1b7 100644 --- a/test/language/block-scope/syntax/function-declarations/in-statement-position-while-expression-statement.js +++ b/test/language/block-scope/syntax/function-declarations/in-statement-position-while-expression-statement.js @@ -10,5 +10,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; while (false) function g() {} diff --git a/test/language/comments/S7.4_A2_T2.js b/test/language/comments/S7.4_A2_T2.js index 8ea433480c..e1e8bddb3e 100644 --- a/test/language/comments/S7.4_A2_T2.js +++ b/test/language/comments/S7.4_A2_T2.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /*CHECK#1/ diff --git a/test/language/comments/S7.4_A3.js b/test/language/comments/S7.4_A3.js index 63a275d421..ba0d3fb48b 100644 --- a/test/language/comments/S7.4_A3.js +++ b/test/language/comments/S7.4_A3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /*CHECK#1*/ /* diff --git a/test/language/comments/S7.4_A4_T1.js b/test/language/comments/S7.4_A4_T1.js index 0a003a039f..6d7a716f73 100644 --- a/test/language/comments/S7.4_A4_T1.js +++ b/test/language/comments/S7.4_A4_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /*CHECK#1*/ /* var*/ diff --git a/test/language/comments/S7.4_A4_T4.js b/test/language/comments/S7.4_A4_T4.js index 7c1baab729..078b0a3058 100644 --- a/test/language/comments/S7.4_A4_T4.js +++ b/test/language/comments/S7.4_A4_T4.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /*CHECK#1*/ // var /* diff --git a/test/language/comments/multi-line-html-close-extra.js b/test/language/comments/multi-line-html-close-extra.js index 23b6dc6807..f21ef9784e 100644 --- a/test/language/comments/multi-line-html-close-extra.js +++ b/test/language/comments/multi-line-html-close-extra.js @@ -20,5 +20,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /* */ the comment should not include these characters, regardless of AnnexB extensions --> diff --git a/test/language/comments/single-line-html-close-without-lt.js b/test/language/comments/single-line-html-close-without-lt.js index 400689ce9d..bb930132a1 100644 --- a/test/language/comments/single-line-html-close-without-lt.js +++ b/test/language/comments/single-line-html-close-without-lt.js @@ -19,4 +19,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ;--> diff --git a/test/language/directive-prologue/10.1.1-2gs.js b/test/language/directive-prologue/10.1.1-2gs.js index c503c48619..b6a6ef26c3 100644 --- a/test/language/directive-prologue/10.1.1-2gs.js +++ b/test/language/directive-prologue/10.1.1-2gs.js @@ -12,6 +12,8 @@ negative: flags: [raw] ---*/ +throw "Test262: This statement should not be evaluated."; + "use strict" throw new Error("This code should not execute"); var public = 1; diff --git a/test/language/directive-prologue/10.1.1-5gs.js b/test/language/directive-prologue/10.1.1-5gs.js index d77ac7706c..05e2ad87a8 100644 --- a/test/language/directive-prologue/10.1.1-5gs.js +++ b/test/language/directive-prologue/10.1.1-5gs.js @@ -12,6 +12,8 @@ negative: flags: [raw] ---*/ +throw "Test262: This statement should not be evaluated."; + "use strict"; throw new Error("This code should not execute"); var public = 1; diff --git a/test/language/directive-prologue/10.1.1-8gs.js b/test/language/directive-prologue/10.1.1-8gs.js index 9a298adf02..ac8581c372 100644 --- a/test/language/directive-prologue/10.1.1-8gs.js +++ b/test/language/directive-prologue/10.1.1-8gs.js @@ -12,6 +12,8 @@ negative: flags: [raw] ---*/ +throw "Test262: This statement should not be evaluated."; + "use strict"; "use strict"; var public = 1; diff --git a/test/language/directive-prologue/14.1-4gs.js b/test/language/directive-prologue/14.1-4gs.js index d0069a3df2..9bc94f70c6 100644 --- a/test/language/directive-prologue/14.1-4gs.js +++ b/test/language/directive-prologue/14.1-4gs.js @@ -12,6 +12,8 @@ negative: flags: [raw] ---*/ +throw "Test262: This statement should not be evaluated."; + "use strict"; throw new Error("This code should not execute"); eval = 42; diff --git a/test/language/directive-prologue/14.1-5gs.js b/test/language/directive-prologue/14.1-5gs.js index 9a8308e975..6f2844eafd 100644 --- a/test/language/directive-prologue/14.1-5gs.js +++ b/test/language/directive-prologue/14.1-5gs.js @@ -12,6 +12,8 @@ negative: flags: [raw] ---*/ +throw "Test262: This statement should not be evaluated."; + "a"; "use strict"; "c"; diff --git a/test/language/export/escaped-as-export-specifier.js b/test/language/export/escaped-as-export-specifier.js index c7841c8b29..d8adcd1d64 100644 --- a/test/language/export/escaped-as-export-specifier.js +++ b/test/language/export/escaped-as-export-specifier.js @@ -19,5 +19,7 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + export var a = 0; export {a \u0061s b} from "./escaped-as-export-specifier.js"; diff --git a/test/language/export/escaped-default.js b/test/language/export/escaped-default.js index 3e637df5a9..2d5b3c831f 100644 --- a/test/language/export/escaped-default.js +++ b/test/language/export/escaped-default.js @@ -19,4 +19,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + export d\u0065fault 0; diff --git a/test/language/export/escaped-from.js b/test/language/export/escaped-from.js index af3158a85e..0f6676d9d1 100644 --- a/test/language/export/escaped-from.js +++ b/test/language/export/escaped-from.js @@ -19,4 +19,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + export {} \u0066rom "./escaped-from.js"; diff --git a/test/language/expressions/arrow-function/param-dflt-yield-expr.js b/test/language/expressions/arrow-function/param-dflt-yield-expr.js index b7a1af1675..8e82e69322 100644 --- a/test/language/expressions/arrow-function/param-dflt-yield-expr.js +++ b/test/language/expressions/arrow-function/param-dflt-yield-expr.js @@ -21,6 +21,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function *g() { (x = yield) => {}; } diff --git a/test/language/expressions/arrow-function/param-dflt-yield-id-non-strict.js b/test/language/expressions/arrow-function/param-dflt-yield-id-non-strict.js index ee32a55492..b8acdf82c7 100644 --- a/test/language/expressions/arrow-function/param-dflt-yield-id-non-strict.js +++ b/test/language/expressions/arrow-function/param-dflt-yield-id-non-strict.js @@ -17,6 +17,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var yield = 23; var f, paramValue; diff --git a/test/language/expressions/arrow-function/param-dflt-yield-id-strict.js b/test/language/expressions/arrow-function/param-dflt-yield-id-strict.js index 99a4a4c5ed..839aefb7f8 100644 --- a/test/language/expressions/arrow-function/param-dflt-yield-id-strict.js +++ b/test/language/expressions/arrow-function/param-dflt-yield-id-strict.js @@ -16,4 +16,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (x = yield) => {}; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-futurereservedword.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-futurereservedword.js index 341fc6682d..d0f1856371 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-futurereservedword.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-futurereservedword.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = enum => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-strict-futurereservedword.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-strict-futurereservedword.js index 626ecc65dc..0e9bf8bbb7 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-strict-futurereservedword.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier-strict-futurereservedword.js @@ -22,4 +22,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = package => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier.js index 6361fc7cf4..92596df4a8 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-identifier.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = switch => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-arguments.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-arguments.js index 64df5df6ec..0f78e3cc0e 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-arguments.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-arguments.js @@ -14,4 +14,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = arguments => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-eval.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-eval.js index 157a409b1d..23b2934a3b 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-eval.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-eval.js @@ -15,4 +15,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = eval => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-yield.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-yield.js index fbaa2dfe1f..ab28318355 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-yield.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-no-yield.js @@ -15,4 +15,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = yield => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-rest.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-rest.js index 403ec4cccf..f4fe1382c6 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-rest.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-bindingidentifier-rest.js @@ -11,4 +11,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ...x => x; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-arguments.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-arguments.js index ace6c9a7de..c4d8483b2b 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-arguments.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-arguments.js @@ -19,4 +19,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (arguments) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-1.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-1.js index 2cdb597dd3..e3546eabac 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-1.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-1.js @@ -20,4 +20,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (x, [x]) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-2.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-2.js index 8c3258539b..ce44fee480 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-2.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-2.js @@ -20,4 +20,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ([x, x]) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-3.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-3.js index a3b0b7160c..c220c70449 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-3.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-array-3.js @@ -22,4 +22,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ([x], ...x) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-1.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-1.js index 540fd0488e..6e337ca553 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-1.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-1.js @@ -20,4 +20,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (x, {x}) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-2.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-2.js index 3c0e298343..09ab6e1893 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-2.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-2.js @@ -22,4 +22,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (x, {y: x}) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-3.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-3.js index eb058efe22..f6e5feb230 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-3.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-3.js @@ -22,4 +22,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ({x}, {y: x}) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-4.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-4.js index 3b3151c607..333e3a02e4 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-4.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-4.js @@ -24,4 +24,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ({x}, ...x) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-5.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-5.js index eb45aee893..af4f1405d6 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-5.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-5.js @@ -24,4 +24,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ({y: x}, ...x) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-6.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-6.js index e39c273a09..a8e28a5997 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-6.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-binding-object-6.js @@ -22,4 +22,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = ({y: x, x}) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-rest.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-rest.js index 5d36abb1f8..bdd680e1c7 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-rest.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-rest.js @@ -18,4 +18,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (x, ...x) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates.js index e4e7a82c89..decc2e7632 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates.js @@ -18,4 +18,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (x, x) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-eval.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-eval.js index 70bb0782e2..adf7f9d944 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-eval.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-eval.js @@ -19,4 +19,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (eval) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-yield.js b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-yield.js index 1511a903b2..a8363810e1 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-yield.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-yield.js @@ -14,4 +14,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; var af = (yield) => 1; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters-expression-body.js b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters-expression-body.js index 6a836f6027..daaac05d2d 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters-expression-body.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters-expression-body.js @@ -10,5 +10,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = x => x; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters.js b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters.js index 299198226d..08cfa3f1f8 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid-parenless-parameters.js @@ -12,5 +12,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = x => {}; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid.js b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid.js index d448e0ff6e..d346e4d1cc 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/asi-restriction-invalid.js @@ -9,5 +9,7 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; var af = () => {}; diff --git a/test/language/expressions/arrow-function/syntax/early-errors/use-strict-with-non-simple-param.js b/test/language/expressions/arrow-function/syntax/early-errors/use-strict-with-non-simple-param.js index 496bdbef0d..67c56df77f 100644 --- a/test/language/expressions/arrow-function/syntax/early-errors/use-strict-with-non-simple-param.js +++ b/test/language/expressions/arrow-function/syntax/early-errors/use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var f = (a = 0) => { "use strict"; }; diff --git a/test/language/expressions/assignment/non-simple-target.js b/test/language/expressions/assignment/non-simple-target.js index 1d4d587815..3906db7a25 100644 --- a/test/language/expressions/assignment/non-simple-target.js +++ b/test/language/expressions/assignment/non-simple-target.js @@ -13,4 +13,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 = 1; diff --git a/test/language/expressions/assignment/target-boolean.js b/test/language/expressions/assignment/target-boolean.js index 2022f02120..8007e6dd9d 100644 --- a/test/language/expressions/assignment/target-boolean.js +++ b/test/language/expressions/assignment/target-boolean.js @@ -18,4 +18,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + true = 42; diff --git a/test/language/expressions/assignment/target-cover-newtarget.js b/test/language/expressions/assignment/target-cover-newtarget.js index 901ec3c40d..86dd65d966 100644 --- a/test/language/expressions/assignment/target-cover-newtarget.js +++ b/test/language/expressions/assignment/target-cover-newtarget.js @@ -23,6 +23,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { (new.target) = 1; } diff --git a/test/language/expressions/assignment/target-cover-yieldexpr.js b/test/language/expressions/assignment/target-cover-yieldexpr.js index c0fe2e29b6..81bc60d411 100644 --- a/test/language/expressions/assignment/target-cover-yieldexpr.js +++ b/test/language/expressions/assignment/target-cover-yieldexpr.js @@ -26,6 +26,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { (yield) = 1; } diff --git a/test/language/expressions/assignment/target-newtarget.js b/test/language/expressions/assignment/target-newtarget.js index d0eeeda060..ef7e601c9f 100644 --- a/test/language/expressions/assignment/target-newtarget.js +++ b/test/language/expressions/assignment/target-newtarget.js @@ -23,6 +23,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { new.target = 1; } diff --git a/test/language/expressions/assignment/target-null.js b/test/language/expressions/assignment/target-null.js index 2b51226a37..52d9ec4f7f 100644 --- a/test/language/expressions/assignment/target-null.js +++ b/test/language/expressions/assignment/target-null.js @@ -18,4 +18,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + null = 42; diff --git a/test/language/expressions/assignment/target-number.js b/test/language/expressions/assignment/target-number.js index 7301d805ae..46513132e7 100644 --- a/test/language/expressions/assignment/target-number.js +++ b/test/language/expressions/assignment/target-number.js @@ -18,4 +18,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 42 = 42; diff --git a/test/language/expressions/assignment/target-string.js b/test/language/expressions/assignment/target-string.js index ef0c984e88..ae4d12f913 100644 --- a/test/language/expressions/assignment/target-string.js +++ b/test/language/expressions/assignment/target-string.js @@ -18,4 +18,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 'x' = 42; diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js b/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js index 4b57ba77d4..61eb4eb043 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async (x = 1) => {"use strict"} diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js b/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js index 321c8b87ad..fa3f89c3f2 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js @@ -11,5 +11,7 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + async(arguments) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js b/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js index 6b6212b393..743ab863f9 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js @@ -9,4 +9,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; async(x = await) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js b/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js index 00b2f8dc22..b4d1ee97cb 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js @@ -9,4 +9,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; async(await) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js b/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js index 2d1ad483fa..57bcffc7ed 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async(foo) => { super() }; diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js b/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js index b6240d01c6..8c74127f74 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async(foo) => { super.prop }; diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js b/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js index 075f705907..120cd45c8c 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + async(a, a) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js b/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js index 1176445645..a40887a3a4 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js @@ -11,4 +11,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + async(eval) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js index bfebf8e197..610194a528 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async(bar) => { let bar; } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js index 6c22da809d..fc030e6a00 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async(foo = super()) => {} diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js index f58498259f..d961fd50b7 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async (foo = super.foo) => { } diff --git a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-lineterminator.js b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-lineterminator.js index 8794324b1e..5539875107 100644 --- a/test/language/expressions/async-arrow-function/early-errors-arrow-formals-lineterminator.js +++ b/test/language/expressions/async-arrow-function/early-errors-arrow-formals-lineterminator.js @@ -27,5 +27,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async (foo) => { } diff --git a/test/language/expressions/async-arrow-function/escaped-async.js b/test/language/expressions/async-arrow-function/escaped-async.js index cb804860ba..d6e561ebe8 100644 --- a/test/language/expressions/async-arrow-function/escaped-async.js +++ b/test/language/expressions/async-arrow-function/escaped-async.js @@ -19,4 +19,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + \u0061sync () => {} diff --git a/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js b/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js index b852875b24..a321776de6 100644 --- a/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js +++ b/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function (x = 1) {"use strict"}) diff --git a/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js b/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js index 96b813f3ad..b21feb59fb 100644 --- a/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js +++ b/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js @@ -11,5 +11,7 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; (async function arguments () { }) diff --git a/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js b/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js index cf6a0a18b6..fd4a412bc3 100644 --- a/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js +++ b/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js @@ -11,4 +11,6 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; (async function eval () { }) diff --git a/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js b/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js index 37d6f6ad86..e7d4223dba 100644 --- a/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js +++ b/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (foo) { super() }) diff --git a/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js b/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js index 703fe37e75..4a64bfe7ac 100644 --- a/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js +++ b/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (foo) { super.prop }); diff --git a/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js b/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js index 08c537aa2e..3389adb51d 100644 --- a/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js +++ b/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js @@ -11,4 +11,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (eval) { }) diff --git a/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js b/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js index 7b05290946..5e8cbd46f0 100644 --- a/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js +++ b/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (bar) { let bar; }); diff --git a/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js b/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js index 411154538d..424867872c 100644 --- a/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js +++ b/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (foo = super()) { var bar; }); diff --git a/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js b/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js index 8db0175b60..f4cf5f671c 100644 --- a/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js +++ b/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo (foo = super.foo) { var bar; }); diff --git a/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js b/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js index d27968f291..58b17be3f4 100644 --- a/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js +++ b/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js @@ -11,4 +11,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + (async function foo() { } = 1) diff --git a/test/language/expressions/async-function/escaped-async.js b/test/language/expressions/async-function/escaped-async.js index 9fed934456..4062f87d10 100644 --- a/test/language/expressions/async-function/escaped-async.js +++ b/test/language/expressions/async-function/escaped-async.js @@ -19,4 +19,6 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + void \u0061sync function f(){} diff --git a/test/language/expressions/async-generator/early-errors-expression-NSPL-with-USD.js b/test/language/expressions/async-generator/early-errors-expression-NSPL-with-USD.js index 53f7aa4436..2f9e14fe80 100644 --- a/test/language/expressions/async-generator/early-errors-expression-NSPL-with-USD.js +++ b/test/language/expressions/async-generator/early-errors-expression-NSPL-with-USD.js @@ -13,4 +13,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(x = 1) {"use strict"}); diff --git a/test/language/expressions/async-generator/early-errors-expression-arguments-in-formal-parameters.js b/test/language/expressions/async-generator/early-errors-expression-arguments-in-formal-parameters.js index 8d842f71a7..ebb238523a 100644 --- a/test/language/expressions/async-generator/early-errors-expression-arguments-in-formal-parameters.js +++ b/test/language/expressions/async-generator/early-errors-expression-arguments-in-formal-parameters.js @@ -13,4 +13,6 @@ flags: [onlyStrict] features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(arguments) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-await-as-function-binding-identifier.js b/test/language/expressions/async-generator/early-errors-expression-await-as-function-binding-identifier.js index 03a4bd9356..103d97a61b 100644 --- a/test/language/expressions/async-generator/early-errors-expression-await-as-function-binding-identifier.js +++ b/test/language/expressions/async-generator/early-errors-expression-await-as-function-binding-identifier.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function* await() { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js b/test/language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js index e342094a8a..1ded252bdc 100644 --- a/test/language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js +++ b/test/language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js @@ -14,4 +14,6 @@ flags: [onlyStrict] features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function* arguments() { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-binding-identifier-eval.js b/test/language/expressions/async-generator/early-errors-expression-binding-identifier-eval.js index 4a355b21cf..27403ff67f 100644 --- a/test/language/expressions/async-generator/early-errors-expression-binding-identifier-eval.js +++ b/test/language/expressions/async-generator/early-errors-expression-binding-identifier-eval.js @@ -14,4 +14,6 @@ flags: [onlyStrict] features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function* eval() { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-body-contains-super-call.js b/test/language/expressions/async-generator/early-errors-expression-body-contains-super-call.js index 900e948256..4e50011f3e 100644 --- a/test/language/expressions/async-generator/early-errors-expression-body-contains-super-call.js +++ b/test/language/expressions/async-generator/early-errors-expression-body-contains-super-call.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { super(); }); diff --git a/test/language/expressions/async-generator/early-errors-expression-body-contains-super-property.js b/test/language/expressions/async-generator/early-errors-expression-body-contains-super-property.js index e63bdcac82..83f6b5885a 100644 --- a/test/language/expressions/async-generator/early-errors-expression-body-contains-super-property.js +++ b/test/language/expressions/async-generator/early-errors-expression-body-contains-super-property.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { super.prop; }); diff --git a/test/language/expressions/async-generator/early-errors-expression-eval-in-formal-parameters.js b/test/language/expressions/async-generator/early-errors-expression-eval-in-formal-parameters.js index 4cde7611d9..c021a37039 100644 --- a/test/language/expressions/async-generator/early-errors-expression-eval-in-formal-parameters.js +++ b/test/language/expressions/async-generator/early-errors-expression-eval-in-formal-parameters.js @@ -13,4 +13,6 @@ flags: [onlyStrict] features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(eval) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-const.js b/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-const.js index 3f022631c2..db6b05529b 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-const.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-const.js @@ -13,4 +13,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(a) { const a = 0; }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-let.js b/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-let.js index 87fd20b1f0..3388ef7147 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-let.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-body-duplicate-let.js @@ -13,4 +13,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(a) { let a; }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await-expr.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await-expr.js index 545158ec16..03a6eaff83 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await-expr.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await-expr.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(x = await 1) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js index e0212b1d09..0d3c5ace5c 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-await.js @@ -13,4 +13,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(await) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js index fd8ff8d113..bc4f072165 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-call.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(a = super()) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js index 950ec76750..7163c66bff 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-super-property.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(a = super.prop) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield-expr.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield-expr.js index 6951b533b6..59acd32a2c 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield-expr.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield-expr.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(x = yield) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js index 79b90129a7..b130113cef 100644 --- a/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js +++ b/test/language/expressions/async-generator/early-errors-expression-formals-contains-yield.js @@ -13,4 +13,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*(yield) { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-label-name-await.js b/test/language/expressions/async-generator/early-errors-expression-label-name-await.js index 6e968bc2b6..d81897b2aa 100644 --- a/test/language/expressions/async-generator/early-errors-expression-label-name-await.js +++ b/test/language/expressions/async-generator/early-errors-expression-label-name-await.js @@ -13,6 +13,8 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { await: 1; }); diff --git a/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js b/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js index c6e2e80bd9..c244b195d5 100644 --- a/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js +++ b/test/language/expressions/async-generator/early-errors-expression-label-name-yield.js @@ -13,6 +13,8 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { yield: 1; }); diff --git a/test/language/expressions/async-generator/early-errors-expression-not-simple-assignment-target.js b/test/language/expressions/async-generator/early-errors-expression-not-simple-assignment-target.js index f70e9183d8..749ce25aa0 100644 --- a/test/language/expressions/async-generator/early-errors-expression-not-simple-assignment-target.js +++ b/test/language/expressions/async-generator/early-errors-expression-not-simple-assignment-target.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { } = 1); diff --git a/test/language/expressions/async-generator/early-errors-expression-yield-as-function-binding-identifier.js b/test/language/expressions/async-generator/early-errors-expression-yield-as-function-binding-identifier.js index 731ffe7c3e..ac76a991d5 100644 --- a/test/language/expressions/async-generator/early-errors-expression-yield-as-function-binding-identifier.js +++ b/test/language/expressions/async-generator/early-errors-expression-yield-as-function-binding-identifier.js @@ -12,4 +12,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function* yield() { }); diff --git a/test/language/expressions/async-generator/early-errors-expression-yield-star-after-newline.js b/test/language/expressions/async-generator/early-errors-expression-yield-star-after-newline.js index 11d454220a..6dfdafc38a 100644 --- a/test/language/expressions/async-generator/early-errors-expression-yield-star-after-newline.js +++ b/test/language/expressions/async-generator/early-errors-expression-yield-star-after-newline.js @@ -12,6 +12,8 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + (async function*() { yield * 1; diff --git a/test/language/expressions/async-generator/escaped-async.js b/test/language/expressions/async-generator/escaped-async.js index 36c8f62528..c1031b154a 100644 --- a/test/language/expressions/async-generator/escaped-async.js +++ b/test/language/expressions/async-generator/escaped-async.js @@ -19,4 +19,6 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + void \u0061sync function* f(){}; diff --git a/test/language/expressions/await/await-BindingIdentifier-nested.js b/test/language/expressions/await/await-BindingIdentifier-nested.js index 39f239d2ba..d4a847ac56 100644 --- a/test/language/expressions/await/await-BindingIdentifier-nested.js +++ b/test/language/expressions/await/await-BindingIdentifier-nested.js @@ -11,6 +11,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async function foo() { function await() { } diff --git a/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js b/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js index 8999e40f28..7eea67de1b 100644 --- a/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js +++ b/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js @@ -11,6 +11,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + async function foo() { (await 1) = 1; } diff --git a/test/language/expressions/await/no-operand.js b/test/language/expressions/await/no-operand.js index 8b44ebcf33..5529aaabac 100644 --- a/test/language/expressions/await/no-operand.js +++ b/test/language/expressions/await/no-operand.js @@ -11,6 +11,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + async function foo() { await; } diff --git a/test/language/expressions/call/S11.2.4_A1.3_T1.js b/test/language/expressions/call/S11.2.4_A1.3_T1.js index ef953e3625..b1335551ee 100644 --- a/test/language/expressions/call/S11.2.4_A1.3_T1.js +++ b/test/language/expressions/call/S11.2.4_A1.3_T1.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function f_arg() { } diff --git a/test/language/expressions/class/gen-method-param-dflt-yield.js b/test/language/expressions/class/gen-method-param-dflt-yield.js index 405665e7fd..a70353218b 100644 --- a/test/language/expressions/class/gen-method-param-dflt-yield.js +++ b/test/language/expressions/class/gen-method-param-dflt-yield.js @@ -20,6 +20,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, class { *g(x = yield) {} }; diff --git a/test/language/expressions/class/getter-param-dflt.js b/test/language/expressions/class/getter-param-dflt.js index 32066aa010..33f9162310 100644 --- a/test/language/expressions/class/getter-param-dflt.js +++ b/test/language/expressions/class/getter-param-dflt.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, class { get a(param = null) {} }; diff --git a/test/language/expressions/class/method-param-dflt-yield.js b/test/language/expressions/class/method-param-dflt-yield.js index 5f30e4f3c7..534873a8a1 100644 --- a/test/language/expressions/class/method-param-dflt-yield.js +++ b/test/language/expressions/class/method-param-dflt-yield.js @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, class { m(x = yield) {} }; diff --git a/test/language/expressions/class/static-gen-method-param-dflt-yield.js b/test/language/expressions/class/static-gen-method-param-dflt-yield.js index 8158dcdeee..1f003aac15 100644 --- a/test/language/expressions/class/static-gen-method-param-dflt-yield.js +++ b/test/language/expressions/class/static-gen-method-param-dflt-yield.js @@ -20,6 +20,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, class { static *g(x = yield) {} }; diff --git a/test/language/expressions/class/static-method-param-dflt-yield.js b/test/language/expressions/class/static-method-param-dflt-yield.js index f8153fd21e..afa776da86 100644 --- a/test/language/expressions/class/static-method-param-dflt-yield.js +++ b/test/language/expressions/class/static-method-param-dflt-yield.js @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, class { static m(x = yield) {} }; diff --git a/test/language/expressions/compound-assignment/11.13.2-6-1gs.js b/test/language/expressions/compound-assignment/11.13.2-6-1gs.js index bc039a556e..5051fc20f4 100644 --- a/test/language/expressions/compound-assignment/11.13.2-6-1gs.js +++ b/test/language/expressions/compound-assignment/11.13.2-6-1gs.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + eval *= 20; diff --git a/test/language/expressions/compound-assignment/add-non-simple.js b/test/language/expressions/compound-assignment/add-non-simple.js index 74449b83a4..c60cdba58a 100644 --- a/test/language/expressions/compound-assignment/add-non-simple.js +++ b/test/language/expressions/compound-assignment/add-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 += 1; diff --git a/test/language/expressions/compound-assignment/btws-and-non-simple.js b/test/language/expressions/compound-assignment/btws-and-non-simple.js index 2b8a26c780..59284046ea 100644 --- a/test/language/expressions/compound-assignment/btws-and-non-simple.js +++ b/test/language/expressions/compound-assignment/btws-and-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 &= 1; diff --git a/test/language/expressions/compound-assignment/btws-or-non-simple.js b/test/language/expressions/compound-assignment/btws-or-non-simple.js index ed0ec79100..9b74484761 100644 --- a/test/language/expressions/compound-assignment/btws-or-non-simple.js +++ b/test/language/expressions/compound-assignment/btws-or-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 |= 1; diff --git a/test/language/expressions/compound-assignment/btws-xor-non-simple.js b/test/language/expressions/compound-assignment/btws-xor-non-simple.js index 0a5e66d309..8f057cde5a 100644 --- a/test/language/expressions/compound-assignment/btws-xor-non-simple.js +++ b/test/language/expressions/compound-assignment/btws-xor-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 ^= 1; diff --git a/test/language/expressions/compound-assignment/div-non-simple.js b/test/language/expressions/compound-assignment/div-non-simple.js index ab79ac49dd..59114df824 100644 --- a/test/language/expressions/compound-assignment/div-non-simple.js +++ b/test/language/expressions/compound-assignment/div-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 /= 1; diff --git a/test/language/expressions/compound-assignment/left-shift-non-simple.js b/test/language/expressions/compound-assignment/left-shift-non-simple.js index bee24c468a..3a6f78f083 100644 --- a/test/language/expressions/compound-assignment/left-shift-non-simple.js +++ b/test/language/expressions/compound-assignment/left-shift-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 <<= 1; diff --git a/test/language/expressions/compound-assignment/mod-div-non-simple.js b/test/language/expressions/compound-assignment/mod-div-non-simple.js index 18e87b1176..37cf73a767 100644 --- a/test/language/expressions/compound-assignment/mod-div-non-simple.js +++ b/test/language/expressions/compound-assignment/mod-div-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 %= 1; diff --git a/test/language/expressions/compound-assignment/mult-non-simple.js b/test/language/expressions/compound-assignment/mult-non-simple.js index 6d4d3d2bf6..4175cafe7e 100644 --- a/test/language/expressions/compound-assignment/mult-non-simple.js +++ b/test/language/expressions/compound-assignment/mult-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 *= 1; diff --git a/test/language/expressions/compound-assignment/right-shift-non-simple.js b/test/language/expressions/compound-assignment/right-shift-non-simple.js index 66497a6d71..575c684dbb 100644 --- a/test/language/expressions/compound-assignment/right-shift-non-simple.js +++ b/test/language/expressions/compound-assignment/right-shift-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 >>= 1; diff --git a/test/language/expressions/compound-assignment/subtract-non-simple.js b/test/language/expressions/compound-assignment/subtract-non-simple.js index 8b5ef1d988..1e5cbab74f 100644 --- a/test/language/expressions/compound-assignment/subtract-non-simple.js +++ b/test/language/expressions/compound-assignment/subtract-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 -= 1; diff --git a/test/language/expressions/compound-assignment/u-right-shift-non-simple.js b/test/language/expressions/compound-assignment/u-right-shift-non-simple.js index 7f0bf51565..a65d2b9452 100644 --- a/test/language/expressions/compound-assignment/u-right-shift-non-simple.js +++ b/test/language/expressions/compound-assignment/u-right-shift-non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1 >>>= 1; diff --git a/test/language/expressions/conditional/in-branch-2.js b/test/language/expressions/conditional/in-branch-2.js index f5524ffd89..9b68ef3745 100644 --- a/test/language/expressions/conditional/in-branch-2.js +++ b/test/language/expressions/conditional/in-branch-2.js @@ -17,4 +17,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + for (true ? 0 : 0 in {}; false; ) ; diff --git a/test/language/expressions/conditional/in-condition.js b/test/language/expressions/conditional/in-condition.js index 43fb78e3c2..4f242d74c9 100644 --- a/test/language/expressions/conditional/in-condition.js +++ b/test/language/expressions/conditional/in-condition.js @@ -17,4 +17,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + for ('' in {} ? 0 : 0; false; ) ; diff --git a/test/language/expressions/delete/11.4.1-5-a-5gs.js b/test/language/expressions/delete/11.4.1-5-a-5gs.js index 47c379e480..733ccca0d7 100644 --- a/test/language/expressions/delete/11.4.1-5-a-5gs.js +++ b/test/language/expressions/delete/11.4.1-5-a-5gs.js @@ -12,5 +12,7 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var _11_4_1_5 = 7; delete _11_4_1_5; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-bitnot-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-bitnot-unary-expression-base.js index 868beda477..2b72b6f958 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-bitnot-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-bitnot-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ~3 ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-delete-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-delete-unary-expression-base.js index 2bced284fb..2c2ad3da46 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-delete-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-delete-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; delete o.p ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-logical-not-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-logical-not-unary-expression-base.js index 8a1ee43c3b..d25edfe32a 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-logical-not-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-logical-not-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; !1 ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-negate-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-negate-unary-expression-base.js index c735ec9013..0bf4202f3f 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-negate-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-negate-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; -3 ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-plus-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-plus-unary-expression-base.js index beeace9558..a15d45b391 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-plus-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-plus-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; +1 ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-typeof-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-typeof-unary-expression-base.js index bad4c9bb23..e2ed5e909c 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-typeof-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-typeof-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; typeof 1 ** 2; diff --git a/test/language/expressions/exponentiation/exp-operator-syntax-error-void-unary-expression-base.js b/test/language/expressions/exponentiation/exp-operator-syntax-error-void-unary-expression-base.js index e0ec9cea19..5d0cca06fd 100644 --- a/test/language/expressions/exponentiation/exp-operator-syntax-error-void-unary-expression-base.js +++ b/test/language/expressions/exponentiation/exp-operator-syntax-error-void-unary-expression-base.js @@ -19,4 +19,6 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; void 1 ** 2; diff --git a/test/language/expressions/function/early-body-super-call.js b/test/language/expressions/function/early-body-super-call.js index 21495d0f03..27c8b040f7 100644 --- a/test/language/expressions/function/early-body-super-call.js +++ b/test/language/expressions/function/early-body-super-call.js @@ -11,6 +11,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, function() { super(); }; diff --git a/test/language/expressions/function/early-body-super-prop.js b/test/language/expressions/function/early-body-super-prop.js index 3e6f58af54..8c134e87d0 100644 --- a/test/language/expressions/function/early-body-super-prop.js +++ b/test/language/expressions/function/early-body-super-prop.js @@ -11,6 +11,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, function() { super.x; }; diff --git a/test/language/expressions/function/early-params-super-call.js b/test/language/expressions/function/early-params-super-call.js index 0b58ae50a4..e97717cd86 100644 --- a/test/language/expressions/function/early-params-super-call.js +++ b/test/language/expressions/function/early-params-super-call.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, function(x = super()) {}; diff --git a/test/language/expressions/function/early-params-super-prop.js b/test/language/expressions/function/early-params-super-prop.js index cd91cc412e..cd1eea274b 100644 --- a/test/language/expressions/function/early-params-super-prop.js +++ b/test/language/expressions/function/early-params-super-prop.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, function(x = super.x) {}; diff --git a/test/language/expressions/function/param-dflt-yield-strict.js b/test/language/expressions/function/param-dflt-yield-strict.js index 7403292368..4163117e19 100644 --- a/test/language/expressions/function/param-dflt-yield-strict.js +++ b/test/language/expressions/function/param-dflt-yield-strict.js @@ -16,6 +16,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function *g() { 0, function(x = yield) { paramValue = x; diff --git a/test/language/expressions/function/use-strict-with-non-simple-param.js b/test/language/expressions/function/use-strict-with-non-simple-param.js index 2a9614b398..5c7364e971 100644 --- a/test/language/expressions/function/use-strict-with-non-simple-param.js +++ b/test/language/expressions/function/use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var f = function(a = 0) { "use strict"; } diff --git a/test/language/expressions/generators/param-dflt-yield.js b/test/language/expressions/generators/param-dflt-yield.js index 7b197f737d..de11a15bd1 100644 --- a/test/language/expressions/generators/param-dflt-yield.js +++ b/test/language/expressions/generators/param-dflt-yield.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, function*(x = yield) {}; diff --git a/test/language/expressions/generators/use-strict-with-non-simple-param.js b/test/language/expressions/generators/use-strict-with-non-simple-param.js index 7d5d29a8ca..209f0eee4c 100644 --- a/test/language/expressions/generators/use-strict-with-non-simple-param.js +++ b/test/language/expressions/generators/use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var f = function*(a = 0) { "use strict"; } diff --git a/test/language/expressions/generators/yield-as-generator-expression-binding-identifier.js b/test/language/expressions/generators/yield-as-generator-expression-binding-identifier.js index dd7a81201d..6e9a1cc3a7 100644 --- a/test/language/expressions/generators/yield-as-generator-expression-binding-identifier.js +++ b/test/language/expressions/generators/yield-as-generator-expression-binding-identifier.js @@ -11,4 +11,6 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var g = function* yield() {}; diff --git a/test/language/expressions/generators/yield-as-logical-or-expression.js b/test/language/expressions/generators/yield-as-logical-or-expression.js index 88b70f7ba3..f1329a595a 100644 --- a/test/language/expressions/generators/yield-as-logical-or-expression.js +++ b/test/language/expressions/generators/yield-as-logical-or-expression.js @@ -10,6 +10,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var g = function*() { yield ? yield : yield; diff --git a/test/language/expressions/generators/yield-as-parameter.js b/test/language/expressions/generators/yield-as-parameter.js index d3cc877a86..b3217a9a3f 100644 --- a/test/language/expressions/generators/yield-as-parameter.js +++ b/test/language/expressions/generators/yield-as-parameter.js @@ -11,4 +11,6 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var g = function*(yield) {}; diff --git a/test/language/expressions/generators/yield-star-after-newline.js b/test/language/expressions/generators/yield-star-after-newline.js index a54561a228..46a7764d87 100644 --- a/test/language/expressions/generators/yield-star-after-newline.js +++ b/test/language/expressions/generators/yield-star-after-newline.js @@ -10,6 +10,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var g = function*() { yield * 1 diff --git a/test/language/expressions/generators/yield-weak-binding.js b/test/language/expressions/generators/yield-weak-binding.js index edc3e8a6bb..7d4674417e 100644 --- a/test/language/expressions/generators/yield-weak-binding.js +++ b/test/language/expressions/generators/yield-weak-binding.js @@ -10,4 +10,6 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var g = function*() { yield 3 + yield 4; }; diff --git a/test/language/expressions/new.target/escaped-new.js b/test/language/expressions/new.target/escaped-new.js index 72e34e19d5..e978b8bdd0 100644 --- a/test/language/expressions/new.target/escaped-new.js +++ b/test/language/expressions/new.target/escaped-new.js @@ -18,6 +18,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { n\u0065w.target; } diff --git a/test/language/expressions/new.target/escaped-target.js b/test/language/expressions/new.target/escaped-target.js index 6407524173..0c8887d9d9 100644 --- a/test/language/expressions/new.target/escaped-target.js +++ b/test/language/expressions/new.target/escaped-target.js @@ -18,6 +18,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { new.t\u0061rget; } diff --git a/test/language/expressions/object/11.1.5-1gs.js b/test/language/expressions/object/11.1.5-1gs.js index 3ce097d926..ad029e4bec 100644 --- a/test/language/expressions/object/11.1.5-1gs.js +++ b/test/language/expressions/object/11.1.5-1gs.js @@ -13,4 +13,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { set _11_1_5_1_fun(eval) {}}; diff --git a/test/language/expressions/object/cover-initialized-name.js b/test/language/expressions/object/cover-initialized-name.js index 9510a9918f..628e491b2a 100644 --- a/test/language/expressions/object/cover-initialized-name.js +++ b/test/language/expressions/object/cover-initialized-name.js @@ -27,4 +27,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ a = 1 }); diff --git a/test/language/expressions/object/getter-param-dflt.js b/test/language/expressions/object/getter-param-dflt.js index 0b2ad2bf1c..943c77561e 100644 --- a/test/language/expressions/object/getter-param-dflt.js +++ b/test/language/expressions/object/getter-param-dflt.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0, { get a(param = null) {} }; diff --git a/test/language/expressions/object/method-definition/async-gen-meth-escaped-async.js b/test/language/expressions/object/method-definition/async-gen-meth-escaped-async.js index 7632347181..64434f361b 100644 --- a/test/language/expressions/object/method-definition/async-gen-meth-escaped-async.js +++ b/test/language/expressions/object/method-definition/async-gen-meth-escaped-async.js @@ -19,6 +19,8 @@ negative: features: [async-iteration] ---*/ +throw "Test262: This statement should not be evaluated."; + ({ \u0061sync* m(){} }); diff --git a/test/language/expressions/object/method-definition/async-meth-escaped-async.js b/test/language/expressions/object/method-definition/async-meth-escaped-async.js index 1a5a575ea7..3fe4aaf5dc 100644 --- a/test/language/expressions/object/method-definition/async-meth-escaped-async.js +++ b/test/language/expressions/object/method-definition/async-meth-escaped-async.js @@ -19,6 +19,8 @@ negative: features: [async-functions] ---*/ +throw "Test262: This statement should not be evaluated."; + ({ \u0061sync m(){} }); diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js b/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js index 998971ed00..50db837924 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js @@ -10,6 +10,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ foo(x = 1) {"use strict"} }); diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js b/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js index a7266b66b4..a99ac108c8 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js @@ -10,6 +10,8 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo (arguments) { } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-async-lineterminator.js b/test/language/expressions/object/method-definition/early-errors-object-method-async-lineterminator.js index 35d23cf6fc..e5f8d0de26 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-async-lineterminator.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-async-lineterminator.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ async foo() { } diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js b/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js index 256aeb536b..4b001637ba 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js @@ -9,6 +9,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo (x = await) { } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js b/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js index 566c98f698..65ab9e8884 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js @@ -9,6 +9,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo (await) { } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js b/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js index 9a226b5669..178b1537da 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js @@ -9,6 +9,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo () { super() } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js b/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js index 0f135f6294..ff935f0df9 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js @@ -10,6 +10,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo(a, a) { } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js b/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js index b1a0da9fa5..2cd7bfeff2 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js @@ -10,6 +10,8 @@ negative: type: SyntaxError flags: [onlyStrict] ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo(eval) { } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js b/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js index a356280bde..015e57a4e7 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ async function foo(bar) { let bar; } }) diff --git a/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js b/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js index afc07f5347..c1db81ec46 100644 --- a/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js +++ b/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js @@ -9,6 +9,8 @@ negative: phase: early type: SyntaxError ---*/ + +throw "Test262: This statement should not be evaluated."; ({ async foo(foo = super()) { } }) diff --git a/test/language/expressions/object/method-definition/escaped-get.js b/test/language/expressions/object/method-definition/escaped-get.js index fc38ae0c32..9cf55190a1 100644 --- a/test/language/expressions/object/method-definition/escaped-get.js +++ b/test/language/expressions/object/method-definition/escaped-get.js @@ -18,6 +18,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ g\u0065t m() {} }); diff --git a/test/language/expressions/object/method-definition/escaped-set.js b/test/language/expressions/object/method-definition/escaped-set.js index e4edb4fbf2..bc4ecaf420 100644 --- a/test/language/expressions/object/method-definition/escaped-set.js +++ b/test/language/expressions/object/method-definition/escaped-set.js @@ -18,6 +18,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ s\u0065t m(v) {} }); diff --git a/test/language/expressions/object/method-definition/generator-param-id-yield.js b/test/language/expressions/object/method-definition/generator-param-id-yield.js index 0940b3b2d6..da8d2a4d64 100644 --- a/test/language/expressions/object/method-definition/generator-param-id-yield.js +++ b/test/language/expressions/object/method-definition/generator-param-id-yield.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ *method(yield) {} }); diff --git a/test/language/expressions/object/method-definition/generator-param-init-yield.js b/test/language/expressions/object/method-definition/generator-param-init-yield.js index 6be6158496..4cfaf6026b 100644 --- a/test/language/expressions/object/method-definition/generator-param-init-yield.js +++ b/test/language/expressions/object/method-definition/generator-param-init-yield.js @@ -13,6 +13,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + (function*() { ({ *method(x = yield) {} diff --git a/test/language/expressions/object/method-definition/generator-param-redecl-const.js b/test/language/expressions/object/method-definition/generator-param-redecl-const.js index 3e35fe08ee..fd0245ab5b 100644 --- a/test/language/expressions/object/method-definition/generator-param-redecl-const.js +++ b/test/language/expressions/object/method-definition/generator-param-redecl-const.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *foo(a) { const a = 3; diff --git a/test/language/expressions/object/method-definition/generator-param-redecl-let.js b/test/language/expressions/object/method-definition/generator-param-redecl-let.js index ccce54ca69..3847feffc2 100644 --- a/test/language/expressions/object/method-definition/generator-param-redecl-let.js +++ b/test/language/expressions/object/method-definition/generator-param-redecl-let.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *foo(a) { let a = 3; diff --git a/test/language/expressions/object/method-definition/generator-super-call-body.js b/test/language/expressions/object/method-definition/generator-super-call-body.js index d53ce77077..e606102c52 100644 --- a/test/language/expressions/object/method-definition/generator-super-call-body.js +++ b/test/language/expressions/object/method-definition/generator-super-call-body.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *foo(a) { super(); diff --git a/test/language/expressions/object/method-definition/generator-super-call-param.js b/test/language/expressions/object/method-definition/generator-super-call-param.js index 3d3faa0dee..6155731ad3 100644 --- a/test/language/expressions/object/method-definition/generator-super-call-param.js +++ b/test/language/expressions/object/method-definition/generator-super-call-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *foo(a = super()) { } diff --git a/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js b/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js index 84ee674544..40890c001d 100644 --- a/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js +++ b/test/language/expressions/object/method-definition/generator-use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var o = { *m(a = 0) { "use strict"; diff --git a/test/language/expressions/object/method-definition/name-param-redecl.js b/test/language/expressions/object/method-definition/name-param-redecl.js index ec21679128..012088dff0 100644 --- a/test/language/expressions/object/method-definition/name-param-redecl.js +++ b/test/language/expressions/object/method-definition/name-param-redecl.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { method(param) { let param; diff --git a/test/language/expressions/object/method-definition/name-super-call-body.js b/test/language/expressions/object/method-definition/name-super-call-body.js index 395a8c12ac..f723ea4283 100644 --- a/test/language/expressions/object/method-definition/name-super-call-body.js +++ b/test/language/expressions/object/method-definition/name-super-call-body.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ method() { super; diff --git a/test/language/expressions/object/method-definition/name-super-call-param.js b/test/language/expressions/object/method-definition/name-super-call-param.js index 5648a35bf7..5a1020cbfc 100644 --- a/test/language/expressions/object/method-definition/name-super-call-param.js +++ b/test/language/expressions/object/method-definition/name-super-call-param.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({ method(param = super) {} }); diff --git a/test/language/expressions/object/method-definition/setter-use-strict-with-non-simple-param.js b/test/language/expressions/object/method-definition/setter-use-strict-with-non-simple-param.js index dda7de9147..500b5e703c 100644 --- a/test/language/expressions/object/method-definition/setter-use-strict-with-non-simple-param.js +++ b/test/language/expressions/object/method-definition/setter-use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var o = { set m(a = 0) { "use strict"; diff --git a/test/language/expressions/object/method-definition/use-strict-with-non-simple-param.js b/test/language/expressions/object/method-definition/use-strict-with-non-simple-param.js index 953ed8c42a..da1c49b368 100644 --- a/test/language/expressions/object/method-definition/use-strict-with-non-simple-param.js +++ b/test/language/expressions/object/method-definition/use-strict-with-non-simple-param.js @@ -14,6 +14,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var o = { m(a = 0) { "use strict"; diff --git a/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js b/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js index 017cc5e922..aa5c55103f 100644 --- a/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js +++ b/test/language/expressions/object/method-definition/yield-as-logical-or-expression.js @@ -11,6 +11,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *g() { yield ? yield : yield; diff --git a/test/language/expressions/object/method-definition/yield-as-parameter.js b/test/language/expressions/object/method-definition/yield-as-parameter.js index 1e297a5bef..f342baac36 100644 --- a/test/language/expressions/object/method-definition/yield-as-parameter.js +++ b/test/language/expressions/object/method-definition/yield-as-parameter.js @@ -12,6 +12,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *g(yield) {} }; diff --git a/test/language/expressions/object/method-definition/yield-star-after-newline.js b/test/language/expressions/object/method-definition/yield-star-after-newline.js index 92a79b2093..a471f06aa6 100644 --- a/test/language/expressions/object/method-definition/yield-star-after-newline.js +++ b/test/language/expressions/object/method-definition/yield-star-after-newline.js @@ -11,6 +11,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *g() { yield diff --git a/test/language/expressions/object/method-definition/yield-weak-binding.js b/test/language/expressions/object/method-definition/yield-weak-binding.js index 24f5aaa35d..48c0fb3f5b 100644 --- a/test/language/expressions/object/method-definition/yield-weak-binding.js +++ b/test/language/expressions/object/method-definition/yield-weak-binding.js @@ -11,6 +11,8 @@ type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var obj = { *g() { yield 3 + yield 4; } }; diff --git a/test/language/expressions/object/prop-def-invalid-async-prefix.js b/test/language/expressions/object/prop-def-invalid-async-prefix.js index 2667e69c30..7ed42cef9d 100644 --- a/test/language/expressions/object/prop-def-invalid-async-prefix.js +++ b/test/language/expressions/object/prop-def-invalid-async-prefix.js @@ -30,4 +30,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + ({async async}); diff --git a/test/language/expressions/postfix-decrement/non-simple.js b/test/language/expressions/postfix-decrement/non-simple.js index 0b0a4c0026..6634b4684e 100644 --- a/test/language/expressions/postfix-decrement/non-simple.js +++ b/test/language/expressions/postfix-decrement/non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1--; diff --git a/test/language/expressions/postfix-decrement/target-cover-newtarget.js b/test/language/expressions/postfix-decrement/target-cover-newtarget.js index addf740241..0aa3f8ec06 100644 --- a/test/language/expressions/postfix-decrement/target-cover-newtarget.js +++ b/test/language/expressions/postfix-decrement/target-cover-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { (new.target)--; } diff --git a/test/language/expressions/postfix-decrement/target-cover-yieldexpr.js b/test/language/expressions/postfix-decrement/target-cover-yieldexpr.js index ac7fc20206..bbd63003b0 100644 --- a/test/language/expressions/postfix-decrement/target-cover-yieldexpr.js +++ b/test/language/expressions/postfix-decrement/target-cover-yieldexpr.js @@ -27,6 +27,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { (yield)--; } diff --git a/test/language/expressions/postfix-decrement/target-newtarget.js b/test/language/expressions/postfix-decrement/target-newtarget.js index d2a43e5192..566c48f09e 100644 --- a/test/language/expressions/postfix-decrement/target-newtarget.js +++ b/test/language/expressions/postfix-decrement/target-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { new.target--; } diff --git a/test/language/expressions/postfix-increment/11.3.1-2-1gs.js b/test/language/expressions/postfix-increment/11.3.1-2-1gs.js index bbe5b5523b..aea77821f6 100644 --- a/test/language/expressions/postfix-increment/11.3.1-2-1gs.js +++ b/test/language/expressions/postfix-increment/11.3.1-2-1gs.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + arguments++; diff --git a/test/language/expressions/postfix-increment/non-simple.js b/test/language/expressions/postfix-increment/non-simple.js index b16792df6d..3a0e04e865 100644 --- a/test/language/expressions/postfix-increment/non-simple.js +++ b/test/language/expressions/postfix-increment/non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + 1++; diff --git a/test/language/expressions/postfix-increment/target-cover-newtarget.js b/test/language/expressions/postfix-increment/target-cover-newtarget.js index a2260b3823..5314136634 100644 --- a/test/language/expressions/postfix-increment/target-cover-newtarget.js +++ b/test/language/expressions/postfix-increment/target-cover-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { (new.target)++; } diff --git a/test/language/expressions/postfix-increment/target-cover-yieldexpr.js b/test/language/expressions/postfix-increment/target-cover-yieldexpr.js index 86c2497a18..7f1e4f1583 100644 --- a/test/language/expressions/postfix-increment/target-cover-yieldexpr.js +++ b/test/language/expressions/postfix-increment/target-cover-yieldexpr.js @@ -27,6 +27,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { (yield)++; } diff --git a/test/language/expressions/postfix-increment/target-newtarget.js b/test/language/expressions/postfix-increment/target-newtarget.js index 86d2b5c0c2..d88d41eb0f 100644 --- a/test/language/expressions/postfix-increment/target-newtarget.js +++ b/test/language/expressions/postfix-increment/target-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { new.target++; } diff --git a/test/language/expressions/prefix-decrement/11.4.5-2-2gs.js b/test/language/expressions/prefix-decrement/11.4.5-2-2gs.js index a1e105b55c..c90b1b21d9 100644 --- a/test/language/expressions/prefix-decrement/11.4.5-2-2gs.js +++ b/test/language/expressions/prefix-decrement/11.4.5-2-2gs.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + --arguments; diff --git a/test/language/expressions/prefix-decrement/non-simple.js b/test/language/expressions/prefix-decrement/non-simple.js index 2315bdb399..d622c680d0 100644 --- a/test/language/expressions/prefix-decrement/non-simple.js +++ b/test/language/expressions/prefix-decrement/non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + --1; diff --git a/test/language/expressions/prefix-decrement/target-cover-newtarget.js b/test/language/expressions/prefix-decrement/target-cover-newtarget.js index 15fc4ef1c6..79821db18d 100644 --- a/test/language/expressions/prefix-decrement/target-cover-newtarget.js +++ b/test/language/expressions/prefix-decrement/target-cover-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { --(new.target); } diff --git a/test/language/expressions/prefix-decrement/target-cover-yieldexpr.js b/test/language/expressions/prefix-decrement/target-cover-yieldexpr.js index a3ad214d55..43481ca4b2 100644 --- a/test/language/expressions/prefix-decrement/target-cover-yieldexpr.js +++ b/test/language/expressions/prefix-decrement/target-cover-yieldexpr.js @@ -27,6 +27,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { --(yield); } diff --git a/test/language/expressions/prefix-decrement/target-newtarget.js b/test/language/expressions/prefix-decrement/target-newtarget.js index e25ff8d757..1f5d236ea9 100644 --- a/test/language/expressions/prefix-decrement/target-newtarget.js +++ b/test/language/expressions/prefix-decrement/target-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { --new.target; } diff --git a/test/language/expressions/prefix-increment/non-simple.js b/test/language/expressions/prefix-increment/non-simple.js index 59755b5218..57b1c2cc54 100644 --- a/test/language/expressions/prefix-increment/non-simple.js +++ b/test/language/expressions/prefix-increment/non-simple.js @@ -12,4 +12,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + ++1; diff --git a/test/language/expressions/prefix-increment/target-cover-newtarget.js b/test/language/expressions/prefix-increment/target-cover-newtarget.js index 8706d68c5a..e3b85c888e 100644 --- a/test/language/expressions/prefix-increment/target-cover-newtarget.js +++ b/test/language/expressions/prefix-increment/target-cover-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { ++(new.target); } diff --git a/test/language/expressions/prefix-increment/target-cover-yieldexpr.js b/test/language/expressions/prefix-increment/target-cover-yieldexpr.js index adc39d90bd..b27cf128a1 100644 --- a/test/language/expressions/prefix-increment/target-cover-yieldexpr.js +++ b/test/language/expressions/prefix-increment/target-cover-yieldexpr.js @@ -27,6 +27,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { ++(yield); } diff --git a/test/language/expressions/prefix-increment/target-newtarget.js b/test/language/expressions/prefix-increment/target-newtarget.js index a8bc7ed3b5..ba964704be 100644 --- a/test/language/expressions/prefix-increment/target-newtarget.js +++ b/test/language/expressions/prefix-increment/target-newtarget.js @@ -24,6 +24,8 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + function f() { ++new.target; } diff --git a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-1.js b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-1.js index 6733e62341..8b5e023e62 100644 --- a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-1.js +++ b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-1.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\x0`; diff --git a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-2.js b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-2.js index a3636f2880..6d08349c24 100644 --- a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-2.js +++ b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-2.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\x0G`; diff --git a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-3.js b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-3.js index f93f16b7d7..de5422f02b 100644 --- a/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-3.js +++ b/test/language/expressions/template-literal/invalid-hexidecimal-character-escape-sequence-truncated-3.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\xG`; diff --git a/test/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js b/test/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js index fff2144f30..f47a8cff97 100644 --- a/test/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js +++ b/test/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\00`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-1.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-1.js index efef736355..050b45a684 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-1.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-1.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u0`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-2.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-2.js index 762811de37..326ac54776 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-2.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-2.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u0g`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-3.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-3.js index 17fd6db0fa..25cd7bdeba 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-3.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-3.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u00g`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-4.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-4.js index 0f3075a646..2d1174af57 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-4.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-4.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u000g`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-5.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-5.js index 2f8c933070..a6c27ec849 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-5.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-5.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u{g`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-6.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-6.js index 86749a222b..8ba63b7953 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-6.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-6.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u{0`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-7.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-7.js index e7269d8eef..1158df0915 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-7.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-7.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u{10FFFFF}`; diff --git a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-8.js b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-8.js index 056a659991..8f0a6bebc4 100644 --- a/test/language/expressions/template-literal/invalid-unicode-escape-sequence-8.js +++ b/test/language/expressions/template-literal/invalid-unicode-escape-sequence-8.js @@ -8,4 +8,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + `\u{10FFFFF}${'inner'}right`; diff --git a/test/language/expressions/this/S11.1.1_A1.js b/test/language/expressions/this/S11.1.1_A1.js index a72c45ba2e..b0e4f4e73c 100644 --- a/test/language/expressions/this/S11.1.1_A1.js +++ b/test/language/expressions/this/S11.1.1_A1.js @@ -10,4 +10,6 @@ negative: type: ReferenceError ---*/ +throw "Test262: This statement should not be evaluated."; + this = 1; diff --git a/test/language/expressions/yield/in-iteration-stmt.js b/test/language/expressions/yield/in-iteration-stmt.js index 3522a232c0..e0d0220ba3 100644 --- a/test/language/expressions/yield/in-iteration-stmt.js +++ b/test/language/expressions/yield/in-iteration-stmt.js @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { for (yield '' in {}; ; ) ; } diff --git a/test/language/expressions/yield/invalid-left-hand-side.js b/test/language/expressions/yield/invalid-left-hand-side.js index c4b7d5bd11..9c9f04f284 100644 --- a/test/language/expressions/yield/invalid-left-hand-side.js +++ b/test/language/expressions/yield/invalid-left-hand-side.js @@ -21,6 +21,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { yield = 1; } diff --git a/test/language/expressions/yield/star-in-iteration-stmt.js b/test/language/expressions/yield/star-in-iteration-stmt.js index 7727c151d9..c3fa84d7b5 100644 --- a/test/language/expressions/yield/star-in-iteration-stmt.js +++ b/test/language/expressions/yield/star-in-iteration-stmt.js @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function* g() { for (yield * '' in {}; ; ) ; } diff --git a/test/language/future-reserved-words/class.js b/test/language/future-reserved-words/class.js index bb1eba40d0..63d02b730f 100644 --- a/test/language/future-reserved-words/class.js +++ b/test/language/future-reserved-words/class.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var class = 1; diff --git a/test/language/future-reserved-words/const.js b/test/language/future-reserved-words/const.js index ea96279dc7..bb3e93f5c6 100644 --- a/test/language/future-reserved-words/const.js +++ b/test/language/future-reserved-words/const.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var const = 1; diff --git a/test/language/future-reserved-words/debugger.js b/test/language/future-reserved-words/debugger.js index b948ac4daf..ee9b309573 100644 --- a/test/language/future-reserved-words/debugger.js +++ b/test/language/future-reserved-words/debugger.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var debugger = 1; diff --git a/test/language/future-reserved-words/enum.js b/test/language/future-reserved-words/enum.js index b106c296cd..f3632b2b41 100644 --- a/test/language/future-reserved-words/enum.js +++ b/test/language/future-reserved-words/enum.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var enum = 1; diff --git a/test/language/future-reserved-words/export.js b/test/language/future-reserved-words/export.js index 763caeed57..7e3dfee460 100644 --- a/test/language/future-reserved-words/export.js +++ b/test/language/future-reserved-words/export.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var export = 1; diff --git a/test/language/future-reserved-words/extends.js b/test/language/future-reserved-words/extends.js index 8c1f595579..d2bede5a4f 100644 --- a/test/language/future-reserved-words/extends.js +++ b/test/language/future-reserved-words/extends.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var extends = 1; diff --git a/test/language/future-reserved-words/implements-strict-escaped.js b/test/language/future-reserved-words/implements-strict-escaped.js index ca6fd22e75..772082cc01 100644 --- a/test/language/future-reserved-words/implements-strict-escaped.js +++ b/test/language/future-reserved-words/implements-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0069mplements = 123; diff --git a/test/language/future-reserved-words/implements-strict.js b/test/language/future-reserved-words/implements-strict.js index 3c5f67a9d7..a86c511214 100644 --- a/test/language/future-reserved-words/implements-strict.js +++ b/test/language/future-reserved-words/implements-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var implements = 1; diff --git a/test/language/future-reserved-words/import.js b/test/language/future-reserved-words/import.js index bddea8f7e7..08d5bbe890 100644 --- a/test/language/future-reserved-words/import.js +++ b/test/language/future-reserved-words/import.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var import = 1; diff --git a/test/language/future-reserved-words/interface-strict-escaped.js b/test/language/future-reserved-words/interface-strict-escaped.js index bec054c0fc..3d0f97927e 100644 --- a/test/language/future-reserved-words/interface-strict-escaped.js +++ b/test/language/future-reserved-words/interface-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var inte\u0072face = 123; diff --git a/test/language/future-reserved-words/interface-strict.js b/test/language/future-reserved-words/interface-strict.js index 83c3dfe334..5f4913fbc5 100644 --- a/test/language/future-reserved-words/interface-strict.js +++ b/test/language/future-reserved-words/interface-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var interface = 1; diff --git a/test/language/future-reserved-words/let-strict-escaped.js b/test/language/future-reserved-words/let-strict-escaped.js index c1c7946190..96dc77a133 100644 --- a/test/language/future-reserved-words/let-strict-escaped.js +++ b/test/language/future-reserved-words/let-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var l\u0065t = 123; diff --git a/test/language/future-reserved-words/let-strict.js b/test/language/future-reserved-words/let-strict.js index fe3e049e4e..ba3ddafb2e 100644 --- a/test/language/future-reserved-words/let-strict.js +++ b/test/language/future-reserved-words/let-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var let = 1; diff --git a/test/language/future-reserved-words/package-strict-escaped.js b/test/language/future-reserved-words/package-strict-escaped.js index e7c691006a..43356c8255 100644 --- a/test/language/future-reserved-words/package-strict-escaped.js +++ b/test/language/future-reserved-words/package-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var packag\u0065 = 123; diff --git a/test/language/future-reserved-words/package-strict.js b/test/language/future-reserved-words/package-strict.js index 5e8c5bb4eb..55d0a49920 100644 --- a/test/language/future-reserved-words/package-strict.js +++ b/test/language/future-reserved-words/package-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var package = 1; diff --git a/test/language/future-reserved-words/private-strict-escaped.js b/test/language/future-reserved-words/private-strict-escaped.js index 28c6cab95e..5587b9f576 100644 --- a/test/language/future-reserved-words/private-strict-escaped.js +++ b/test/language/future-reserved-words/private-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var privat\u0065 = 123; diff --git a/test/language/future-reserved-words/private-strict.js b/test/language/future-reserved-words/private-strict.js index 25a952b928..8781598c65 100644 --- a/test/language/future-reserved-words/private-strict.js +++ b/test/language/future-reserved-words/private-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var private = 1; diff --git a/test/language/future-reserved-words/protected-strict-escaped.js b/test/language/future-reserved-words/protected-strict-escaped.js index 9286ada557..f372641672 100644 --- a/test/language/future-reserved-words/protected-strict-escaped.js +++ b/test/language/future-reserved-words/protected-strict-escaped.js @@ -20,4 +20,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0070\u0072\u006f\u0074\u0065\u0063\u0074\u0065\u0064 = 123; diff --git a/test/language/future-reserved-words/protected-strict.js b/test/language/future-reserved-words/protected-strict.js index 1a4ed8e253..458d78ca0e 100644 --- a/test/language/future-reserved-words/protected-strict.js +++ b/test/language/future-reserved-words/protected-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var protected = 1; diff --git a/test/language/future-reserved-words/public-strict-escaped.js b/test/language/future-reserved-words/public-strict-escaped.js index 8e8f8683a4..7eab09dbc3 100644 --- a/test/language/future-reserved-words/public-strict-escaped.js +++ b/test/language/future-reserved-words/public-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0070\u0075\u0062\u006c\u0069\u0063 = 123; diff --git a/test/language/future-reserved-words/public-strict.js b/test/language/future-reserved-words/public-strict.js index dd5111f40e..0f69cb69a4 100644 --- a/test/language/future-reserved-words/public-strict.js +++ b/test/language/future-reserved-words/public-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var public = 1; diff --git a/test/language/future-reserved-words/static-strict-escaped.js b/test/language/future-reserved-words/static-strict-escaped.js index 413c2fd4d6..3b224c2362 100644 --- a/test/language/future-reserved-words/static-strict-escaped.js +++ b/test/language/future-reserved-words/static-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0073\u0074\u0061\u0074\u0069\u0063 = 123; diff --git a/test/language/future-reserved-words/static-strict.js b/test/language/future-reserved-words/static-strict.js index b3bca09f2a..5a955c7bf0 100644 --- a/test/language/future-reserved-words/static-strict.js +++ b/test/language/future-reserved-words/static-strict.js @@ -18,4 +18,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var static = 1; diff --git a/test/language/future-reserved-words/super.js b/test/language/future-reserved-words/super.js index ba6fbec800..132425bb9f 100644 --- a/test/language/future-reserved-words/super.js +++ b/test/language/future-reserved-words/super.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var super = 1; diff --git a/test/language/future-reserved-words/yield-strict-escaped.js b/test/language/future-reserved-words/yield-strict-escaped.js index 9745458248..383ac62e90 100644 --- a/test/language/future-reserved-words/yield-strict-escaped.js +++ b/test/language/future-reserved-words/yield-strict-escaped.js @@ -19,4 +19,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0079ield = 123; diff --git a/test/language/future-reserved-words/yield-strict.js b/test/language/future-reserved-words/yield-strict.js index b81660f1bb..49f303b06a 100644 --- a/test/language/future-reserved-words/yield-strict.js +++ b/test/language/future-reserved-words/yield-strict.js @@ -17,4 +17,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var yield = 1; diff --git a/test/language/global-code/export.js b/test/language/global-code/export.js index 918d846e2d..eb23725784 100644 --- a/test/language/global-code/export.js +++ b/test/language/global-code/export.js @@ -16,4 +16,6 @@ info: | StatementList ---*/ +throw "Test262: This statement should not be evaluated."; + export default null; diff --git a/test/language/global-code/import.js b/test/language/global-code/import.js index 3080f988c7..56f4653944 100644 --- a/test/language/global-code/import.js +++ b/test/language/global-code/import.js @@ -16,4 +16,6 @@ info: | StatementList ---*/ +throw "Test262: This statement should not be evaluated."; + import v from './import.js'; diff --git a/test/language/global-code/new.target-arrow.js b/test/language/global-code/new.target-arrow.js index 53cce9b339..9930e7afa7 100644 --- a/test/language/global-code/new.target-arrow.js +++ b/test/language/global-code/new.target-arrow.js @@ -30,6 +30,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + () => { new.target; }; diff --git a/test/language/global-code/new.target.js b/test/language/global-code/new.target.js index b305223323..e3de280725 100644 --- a/test/language/global-code/new.target.js +++ b/test/language/global-code/new.target.js @@ -14,4 +14,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + new.target; diff --git a/test/language/global-code/return.js b/test/language/global-code/return.js index 72877c9613..fed2203099 100644 --- a/test/language/global-code/return.js +++ b/test/language/global-code/return.js @@ -17,4 +17,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + return; diff --git a/test/language/global-code/super-call-arrow.js b/test/language/global-code/super-call-arrow.js index 1cf735f4c7..e848b7c32a 100644 --- a/test/language/global-code/super-call-arrow.js +++ b/test/language/global-code/super-call-arrow.js @@ -30,6 +30,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + () => { super(); }; diff --git a/test/language/global-code/super-call.js b/test/language/global-code/super-call.js index 5aeee34a10..e71c0d7563 100644 --- a/test/language/global-code/super-call.js +++ b/test/language/global-code/super-call.js @@ -15,4 +15,6 @@ negative: features: [super] ---*/ +throw "Test262: This statement should not be evaluated."; + super(); diff --git a/test/language/global-code/super-prop-arrow.js b/test/language/global-code/super-prop-arrow.js index 80ac0ce347..42d7f77c05 100644 --- a/test/language/global-code/super-prop-arrow.js +++ b/test/language/global-code/super-prop-arrow.js @@ -30,6 +30,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + () => { super.property; }; diff --git a/test/language/global-code/super-prop.js b/test/language/global-code/super-prop.js index f0f9860f6a..ec9a593a73 100644 --- a/test/language/global-code/super-prop.js +++ b/test/language/global-code/super-prop.js @@ -15,4 +15,6 @@ negative: features: [super] ---*/ +throw "Test262: This statement should not be evaluated."; + super.property; diff --git a/test/language/global-code/yield-strict.js b/test/language/global-code/yield-strict.js index 96eb619c92..661adc485a 100644 --- a/test/language/global-code/yield-strict.js +++ b/test/language/global-code/yield-strict.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + yield; diff --git a/test/language/identifiers/val-break-via-escape-hex.js b/test/language/identifiers/val-break-via-escape-hex.js index fb1b737804..41fa449fd1 100644 --- a/test/language/identifiers/val-break-via-escape-hex.js +++ b/test/language/identifiers/val-break-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{62}\u{72}\u{65}\u{61}\u{6b} = 123;; diff --git a/test/language/identifiers/val-break-via-escape-hex4.js b/test/language/identifiers/val-break-via-escape-hex4.js index 6299858de1..547795f99a 100644 --- a/test/language/identifiers/val-break-via-escape-hex4.js +++ b/test/language/identifiers/val-break-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0062\u0072\u0065\u0061\u006b = 123;; diff --git a/test/language/identifiers/val-break.js b/test/language/identifiers/val-break.js index 6a202e1d7e..a67a67be4f 100644 --- a/test/language/identifiers/val-break.js +++ b/test/language/identifiers/val-break.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var break = 123;; diff --git a/test/language/identifiers/val-case-via-escape-hex.js b/test/language/identifiers/val-case-via-escape-hex.js index eacb03c328..cfaa8f0058 100644 --- a/test/language/identifiers/val-case-via-escape-hex.js +++ b/test/language/identifiers/val-case-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{63}ase = 123; diff --git a/test/language/identifiers/val-case-via-escape-hex4.js b/test/language/identifiers/val-case-via-escape-hex4.js index f64ab18a42..fb11b636f4 100644 --- a/test/language/identifiers/val-case-via-escape-hex4.js +++ b/test/language/identifiers/val-case-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0063ase = 123; diff --git a/test/language/identifiers/val-case.js b/test/language/identifiers/val-case.js index f16897c4d2..8d9ad81ff7 100644 --- a/test/language/identifiers/val-case.js +++ b/test/language/identifiers/val-case.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var case = 123; diff --git a/test/language/identifiers/val-catch-via-escape-hex.js b/test/language/identifiers/val-catch-via-escape-hex.js index 3f41c513ed..9deea39e37 100644 --- a/test/language/identifiers/val-catch-via-escape-hex.js +++ b/test/language/identifiers/val-catch-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{63}atch = 123; diff --git a/test/language/identifiers/val-catch-via-escape-hex4.js b/test/language/identifiers/val-catch-via-escape-hex4.js index a4e6f69b04..3af8664fbd 100644 --- a/test/language/identifiers/val-catch-via-escape-hex4.js +++ b/test/language/identifiers/val-catch-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0063atch = 123; diff --git a/test/language/identifiers/val-catch.js b/test/language/identifiers/val-catch.js index 86265920ab..08d612dcf6 100644 --- a/test/language/identifiers/val-catch.js +++ b/test/language/identifiers/val-catch.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var catch = 123; diff --git a/test/language/identifiers/val-class-via-escape-hex.js b/test/language/identifiers/val-class-via-escape-hex.js index 633c256ca8..59219c6c0d 100644 --- a/test/language/identifiers/val-class-via-escape-hex.js +++ b/test/language/identifiers/val-class-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var cla\u{73}s = 123; diff --git a/test/language/identifiers/val-class-via-escape-hex4.js b/test/language/identifiers/val-class-via-escape-hex4.js index 85659fccc0..683a10dfb7 100644 --- a/test/language/identifiers/val-class-via-escape-hex4.js +++ b/test/language/identifiers/val-class-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var cla\u0073s = 123; diff --git a/test/language/identifiers/val-class.js b/test/language/identifiers/val-class.js index f80e898386..349f884d5e 100644 --- a/test/language/identifiers/val-class.js +++ b/test/language/identifiers/val-class.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var class = 123; diff --git a/test/language/identifiers/val-const-via-escape-hex.js b/test/language/identifiers/val-const-via-escape-hex.js index 0fc0169887..fc18cd2951 100644 --- a/test/language/identifiers/val-const-via-escape-hex.js +++ b/test/language/identifiers/val-const-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var co\u{6e}st = 123; diff --git a/test/language/identifiers/val-const-via-escape-hex4.js b/test/language/identifiers/val-const-via-escape-hex4.js index 273caf9052..7aa4177776 100644 --- a/test/language/identifiers/val-const-via-escape-hex4.js +++ b/test/language/identifiers/val-const-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var co\u006est = 123; diff --git a/test/language/identifiers/val-const.js b/test/language/identifiers/val-const.js index 3d1bd5a29a..be97d2e7cf 100644 --- a/test/language/identifiers/val-const.js +++ b/test/language/identifiers/val-const.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var const = 123; diff --git a/test/language/identifiers/val-continue-via-escape-hex.js b/test/language/identifiers/val-continue-via-escape-hex.js index 2768f75ca4..9677b604ae 100644 --- a/test/language/identifiers/val-continue-via-escape-hex.js +++ b/test/language/identifiers/val-continue-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{63}ontinue = 123; diff --git a/test/language/identifiers/val-continue-via-escape-hex4.js b/test/language/identifiers/val-continue-via-escape-hex4.js index e2a71c32df..e26f02da41 100644 --- a/test/language/identifiers/val-continue-via-escape-hex4.js +++ b/test/language/identifiers/val-continue-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0063ontinue = 123; diff --git a/test/language/identifiers/val-continue.js b/test/language/identifiers/val-continue.js index 7275001e6e..cc8d29a144 100644 --- a/test/language/identifiers/val-continue.js +++ b/test/language/identifiers/val-continue.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var continue = 123; diff --git a/test/language/identifiers/val-debugger-via-escape-hex.js b/test/language/identifiers/val-debugger-via-escape-hex.js index 08a3457014..b8a0a465ef 100644 --- a/test/language/identifiers/val-debugger-via-escape-hex.js +++ b/test/language/identifiers/val-debugger-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{64}ebugger = 123; diff --git a/test/language/identifiers/val-debugger-via-escape-hex4.js b/test/language/identifiers/val-debugger-via-escape-hex4.js index edb7bef5a5..bfeec2e24e 100644 --- a/test/language/identifiers/val-debugger-via-escape-hex4.js +++ b/test/language/identifiers/val-debugger-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0064ebugger = 123; diff --git a/test/language/identifiers/val-debugger.js b/test/language/identifiers/val-debugger.js index d613940518..30ef8cd66c 100644 --- a/test/language/identifiers/val-debugger.js +++ b/test/language/identifiers/val-debugger.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var debugger = 123; diff --git a/test/language/identifiers/val-default-via-escape-hex.js b/test/language/identifiers/val-default-via-escape-hex.js index 2d5045f3cd..df825f3a5d 100644 --- a/test/language/identifiers/val-default-via-escape-hex.js +++ b/test/language/identifiers/val-default-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var def\u{61}ult = 123; diff --git a/test/language/identifiers/val-default-via-escape-hex4.js b/test/language/identifiers/val-default-via-escape-hex4.js index 0d7fb4f43b..ad86f0ce7a 100644 --- a/test/language/identifiers/val-default-via-escape-hex4.js +++ b/test/language/identifiers/val-default-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var def\u0061ult = 123; diff --git a/test/language/identifiers/val-default.js b/test/language/identifiers/val-default.js index 9768c089f1..2d0835906b 100644 --- a/test/language/identifiers/val-default.js +++ b/test/language/identifiers/val-default.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var default = 123; diff --git a/test/language/identifiers/val-delete-via-escape-hex.js b/test/language/identifiers/val-delete-via-escape-hex.js index 47a6e608e1..2cca2a29a7 100644 --- a/test/language/identifiers/val-delete-via-escape-hex.js +++ b/test/language/identifiers/val-delete-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{64}elete = 123; diff --git a/test/language/identifiers/val-delete-via-escape-hex4.js b/test/language/identifiers/val-delete-via-escape-hex4.js index 9d5f41814f..20a70b21d2 100644 --- a/test/language/identifiers/val-delete-via-escape-hex4.js +++ b/test/language/identifiers/val-delete-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0064elete = 123; diff --git a/test/language/identifiers/val-delete.js b/test/language/identifiers/val-delete.js index 8ec3b62608..4c7a82fb3e 100644 --- a/test/language/identifiers/val-delete.js +++ b/test/language/identifiers/val-delete.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var delete = 123; diff --git a/test/language/identifiers/val-do-via-escape-hex.js b/test/language/identifiers/val-do-via-escape-hex.js index 86b2e87521..4b7ef8d02a 100644 --- a/test/language/identifiers/val-do-via-escape-hex.js +++ b/test/language/identifiers/val-do-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{64}\u{6f} = 123; diff --git a/test/language/identifiers/val-do-via-escape-hex4.js b/test/language/identifiers/val-do-via-escape-hex4.js index 76c8b50373..67678783e0 100644 --- a/test/language/identifiers/val-do-via-escape-hex4.js +++ b/test/language/identifiers/val-do-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0064\u006f = 123; diff --git a/test/language/identifiers/val-do.js b/test/language/identifiers/val-do.js index 5b58a4ebe8..b30ae351a3 100644 --- a/test/language/identifiers/val-do.js +++ b/test/language/identifiers/val-do.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var do = 123; diff --git a/test/language/identifiers/val-else-via-escape-hex.js b/test/language/identifiers/val-else-via-escape-hex.js index 41132c6676..ff8279e487 100644 --- a/test/language/identifiers/val-else-via-escape-hex.js +++ b/test/language/identifiers/val-else-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{65}lse = 123; diff --git a/test/language/identifiers/val-else-via-escape-hex4.js b/test/language/identifiers/val-else-via-escape-hex4.js index bf5d1250cb..7e0cb29f89 100644 --- a/test/language/identifiers/val-else-via-escape-hex4.js +++ b/test/language/identifiers/val-else-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0065lse = 123; diff --git a/test/language/identifiers/val-else.js b/test/language/identifiers/val-else.js index 7cc8695991..2f51bcdb14 100644 --- a/test/language/identifiers/val-else.js +++ b/test/language/identifiers/val-else.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var else = 123; diff --git a/test/language/identifiers/val-enum-via-escape-hex.js b/test/language/identifiers/val-enum-via-escape-hex.js index 1ba210c39e..0c1a07b73f 100644 --- a/test/language/identifiers/val-enum-via-escape-hex.js +++ b/test/language/identifiers/val-enum-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{65}\u{6e}\u{75}\u{6d} = 123; diff --git a/test/language/identifiers/val-enum-via-escape-hex4.js b/test/language/identifiers/val-enum-via-escape-hex4.js index f27d0029ec..4e65e2e2ed 100644 --- a/test/language/identifiers/val-enum-via-escape-hex4.js +++ b/test/language/identifiers/val-enum-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0065\u006e\u0075\u006d = 123; diff --git a/test/language/identifiers/val-enum.js b/test/language/identifiers/val-enum.js index 3907af51fe..026768c281 100644 --- a/test/language/identifiers/val-enum.js +++ b/test/language/identifiers/val-enum.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var enum = 123; diff --git a/test/language/identifiers/val-export-via-escape-hex.js b/test/language/identifiers/val-export-via-escape-hex.js index 622840b6dd..aeb8e18215 100644 --- a/test/language/identifiers/val-export-via-escape-hex.js +++ b/test/language/identifiers/val-export-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var expor\u{74} = 123; diff --git a/test/language/identifiers/val-export-via-escape-hex4.js b/test/language/identifiers/val-export-via-escape-hex4.js index 253e3c77cf..a54aa84063 100644 --- a/test/language/identifiers/val-export-via-escape-hex4.js +++ b/test/language/identifiers/val-export-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var expor\u0074 = 123; diff --git a/test/language/identifiers/val-export.js b/test/language/identifiers/val-export.js index 5dce85307f..9dc34e1b3d 100644 --- a/test/language/identifiers/val-export.js +++ b/test/language/identifiers/val-export.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var export = 123; diff --git a/test/language/identifiers/val-extends-via-escape-hex.js b/test/language/identifiers/val-extends-via-escape-hex.js index fd67329f83..79d211b54d 100644 --- a/test/language/identifiers/val-extends-via-escape-hex.js +++ b/test/language/identifiers/val-extends-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var extend\u{73} = 123; diff --git a/test/language/identifiers/val-extends-via-escape-hex4.js b/test/language/identifiers/val-extends-via-escape-hex4.js index f6479a6ceb..fc028f0479 100644 --- a/test/language/identifiers/val-extends-via-escape-hex4.js +++ b/test/language/identifiers/val-extends-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var extend\u0073 = 123; diff --git a/test/language/identifiers/val-extends.js b/test/language/identifiers/val-extends.js index 24695e5e01..5c0b5cab63 100644 --- a/test/language/identifiers/val-extends.js +++ b/test/language/identifiers/val-extends.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var extends = 123; diff --git a/test/language/identifiers/val-false-via-escape-hex.js b/test/language/identifiers/val-false-via-escape-hex.js index 138c087955..656f1d1afe 100644 --- a/test/language/identifiers/val-false-via-escape-hex.js +++ b/test/language/identifiers/val-false-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var fals\u{65} = 123; diff --git a/test/language/identifiers/val-false-via-escape-hex4.js b/test/language/identifiers/val-false-via-escape-hex4.js index ddb2dacb5a..83a36d0a3a 100644 --- a/test/language/identifiers/val-false-via-escape-hex4.js +++ b/test/language/identifiers/val-false-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var fals\u0065 = 123; diff --git a/test/language/identifiers/val-false.js b/test/language/identifiers/val-false.js index d2aaa3eafa..90f9c417d7 100644 --- a/test/language/identifiers/val-false.js +++ b/test/language/identifiers/val-false.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var false = 123; diff --git a/test/language/identifiers/val-finally-via-escape-hex.js b/test/language/identifiers/val-finally-via-escape-hex.js index c8bcf9b167..48180a0b5a 100644 --- a/test/language/identifiers/val-finally-via-escape-hex.js +++ b/test/language/identifiers/val-finally-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var fina\u{6c}ly = 123; diff --git a/test/language/identifiers/val-finally-via-escape-hex4.js b/test/language/identifiers/val-finally-via-escape-hex4.js index 9bc9814872..e7c411d0c7 100644 --- a/test/language/identifiers/val-finally-via-escape-hex4.js +++ b/test/language/identifiers/val-finally-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var fina\u006cly = 123; diff --git a/test/language/identifiers/val-finally.js b/test/language/identifiers/val-finally.js index caadaa11a9..7e5fa3174e 100644 --- a/test/language/identifiers/val-finally.js +++ b/test/language/identifiers/val-finally.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var finally = 123; diff --git a/test/language/identifiers/val-for-via-escape-hex.js b/test/language/identifiers/val-for-via-escape-hex.js index 1ef1bf99d6..116e8e859a 100644 --- a/test/language/identifiers/val-for-via-escape-hex.js +++ b/test/language/identifiers/val-for-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var f\u{6f}r = 123; diff --git a/test/language/identifiers/val-for-via-escape-hex4.js b/test/language/identifiers/val-for-via-escape-hex4.js index cf79ac8fa4..5f13e48bab 100644 --- a/test/language/identifiers/val-for-via-escape-hex4.js +++ b/test/language/identifiers/val-for-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var f\u006fr = 123; diff --git a/test/language/identifiers/val-for.js b/test/language/identifiers/val-for.js index 0455e667b6..3c49673d05 100644 --- a/test/language/identifiers/val-for.js +++ b/test/language/identifiers/val-for.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var for = 123; diff --git a/test/language/identifiers/val-function-via-escape-hex.js b/test/language/identifiers/val-function-via-escape-hex.js index a3a8d2ab32..e1cea5d56f 100644 --- a/test/language/identifiers/val-function-via-escape-hex.js +++ b/test/language/identifiers/val-function-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var func\u{74}ion = 123; diff --git a/test/language/identifiers/val-function-via-escape-hex4.js b/test/language/identifiers/val-function-via-escape-hex4.js index 44d9028969..2f050ee9bb 100644 --- a/test/language/identifiers/val-function-via-escape-hex4.js +++ b/test/language/identifiers/val-function-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var func\u0074ion = 123; diff --git a/test/language/identifiers/val-function.js b/test/language/identifiers/val-function.js index 563b2d0ba7..9063872f13 100644 --- a/test/language/identifiers/val-function.js +++ b/test/language/identifiers/val-function.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var function = 123; diff --git a/test/language/identifiers/val-if-via-escape-hex.js b/test/language/identifiers/val-if-via-escape-hex.js index 65c6658fd9..5d95a915f5 100644 --- a/test/language/identifiers/val-if-via-escape-hex.js +++ b/test/language/identifiers/val-if-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{69}\u{66} = 123; diff --git a/test/language/identifiers/val-if-via-escape-hex4.js b/test/language/identifiers/val-if-via-escape-hex4.js index 951e1bb2a2..b6296f6de9 100644 --- a/test/language/identifiers/val-if-via-escape-hex4.js +++ b/test/language/identifiers/val-if-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0069\u0066 = 123; diff --git a/test/language/identifiers/val-if.js b/test/language/identifiers/val-if.js index f63f72bcaf..d2c90e195a 100644 --- a/test/language/identifiers/val-if.js +++ b/test/language/identifiers/val-if.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var if = 123; diff --git a/test/language/identifiers/val-import-via-escape-hex.js b/test/language/identifiers/val-import-via-escape-hex.js index d977362f9f..e52e0859a3 100644 --- a/test/language/identifiers/val-import-via-escape-hex.js +++ b/test/language/identifiers/val-import-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{69}\u{6d}\u{70}\u{6f}\u{72}\u{74} = 123; diff --git a/test/language/identifiers/val-import-via-escape-hex4.js b/test/language/identifiers/val-import-via-escape-hex4.js index eaefad74cf..da2250e48c 100644 --- a/test/language/identifiers/val-import-via-escape-hex4.js +++ b/test/language/identifiers/val-import-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0069\u006d\u0070\u006f\u0072\u0074 = 123; diff --git a/test/language/identifiers/val-import.js b/test/language/identifiers/val-import.js index 8ca17b49d3..e29c23048a 100644 --- a/test/language/identifiers/val-import.js +++ b/test/language/identifiers/val-import.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var import = 123; diff --git a/test/language/identifiers/val-in-via-escape-hex.js b/test/language/identifiers/val-in-via-escape-hex.js index 61dac19e33..ce977260ae 100644 --- a/test/language/identifiers/val-in-via-escape-hex.js +++ b/test/language/identifiers/val-in-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{69}\u{6e} = 123; diff --git a/test/language/identifiers/val-in-via-escape-hex4.js b/test/language/identifiers/val-in-via-escape-hex4.js index 79dca2ffde..fdd06b0f4a 100644 --- a/test/language/identifiers/val-in-via-escape-hex4.js +++ b/test/language/identifiers/val-in-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0069\u006e = 123; diff --git a/test/language/identifiers/val-in.js b/test/language/identifiers/val-in.js index 0e23f346f2..2557e4f9b8 100644 --- a/test/language/identifiers/val-in.js +++ b/test/language/identifiers/val-in.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var in = 123; diff --git a/test/language/identifiers/val-instanceof-via-escape-hex.js b/test/language/identifiers/val-instanceof-via-escape-hex.js index f707b91f9e..1ec2d63b27 100644 --- a/test/language/identifiers/val-instanceof-via-escape-hex.js +++ b/test/language/identifiers/val-instanceof-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var insta\u{6e}ceof = 123; diff --git a/test/language/identifiers/val-instanceof-via-escape-hex4.js b/test/language/identifiers/val-instanceof-via-escape-hex4.js index 4a16a7d165..23f6d4b68f 100644 --- a/test/language/identifiers/val-instanceof-via-escape-hex4.js +++ b/test/language/identifiers/val-instanceof-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var insta\u006eceof = 123; diff --git a/test/language/identifiers/val-instanceof.js b/test/language/identifiers/val-instanceof.js index 767d7ca1f5..999be1568b 100644 --- a/test/language/identifiers/val-instanceof.js +++ b/test/language/identifiers/val-instanceof.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var instanceof = 123; diff --git a/test/language/identifiers/val-new-via-escape-hex.js b/test/language/identifiers/val-new-via-escape-hex.js index ceb21b63ac..364446f1f6 100644 --- a/test/language/identifiers/val-new-via-escape-hex.js +++ b/test/language/identifiers/val-new-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var n\u{65}w = 123; diff --git a/test/language/identifiers/val-new-via-escape-hex4.js b/test/language/identifiers/val-new-via-escape-hex4.js index 6a64b8e2e2..41317cc224 100644 --- a/test/language/identifiers/val-new-via-escape-hex4.js +++ b/test/language/identifiers/val-new-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var n\u0065w = 123; diff --git a/test/language/identifiers/val-new.js b/test/language/identifiers/val-new.js index 471d897fb4..7157bec3eb 100644 --- a/test/language/identifiers/val-new.js +++ b/test/language/identifiers/val-new.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var new = 123; diff --git a/test/language/identifiers/val-null-via-escape-hex.js b/test/language/identifiers/val-null-via-escape-hex.js index 1df09bee57..f9e5e83aa0 100644 --- a/test/language/identifiers/val-null-via-escape-hex.js +++ b/test/language/identifiers/val-null-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{6e}ull = 123; diff --git a/test/language/identifiers/val-null-via-escape-hex4.js b/test/language/identifiers/val-null-via-escape-hex4.js index 7083dab43f..54855959af 100644 --- a/test/language/identifiers/val-null-via-escape-hex4.js +++ b/test/language/identifiers/val-null-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u006eull = 123; diff --git a/test/language/identifiers/val-null.js b/test/language/identifiers/val-null.js index daf8b878a5..21c7b4904b 100644 --- a/test/language/identifiers/val-null.js +++ b/test/language/identifiers/val-null.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var null = 123; diff --git a/test/language/identifiers/val-return-via-escape-hex.js b/test/language/identifiers/val-return-via-escape-hex.js index e8bb6cc6c8..bbf3ef9142 100644 --- a/test/language/identifiers/val-return-via-escape-hex.js +++ b/test/language/identifiers/val-return-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var retur\u{6e} = 123; diff --git a/test/language/identifiers/val-return-via-escape-hex4.js b/test/language/identifiers/val-return-via-escape-hex4.js index 072ea7a73d..89aaff4217 100644 --- a/test/language/identifiers/val-return-via-escape-hex4.js +++ b/test/language/identifiers/val-return-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var retur\u006e = 123; diff --git a/test/language/identifiers/val-return.js b/test/language/identifiers/val-return.js index b57bb8b5fb..075074d919 100644 --- a/test/language/identifiers/val-return.js +++ b/test/language/identifiers/val-return.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var return = 123; diff --git a/test/language/identifiers/val-super-via-escape-hex.js b/test/language/identifiers/val-super-via-escape-hex.js index 3cc4edfa0b..c1cad70f67 100644 --- a/test/language/identifiers/val-super-via-escape-hex.js +++ b/test/language/identifiers/val-super-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{73}uper = 123; diff --git a/test/language/identifiers/val-super-via-escape-hex4.js b/test/language/identifiers/val-super-via-escape-hex4.js index 994ab03c31..ed6e11800d 100644 --- a/test/language/identifiers/val-super-via-escape-hex4.js +++ b/test/language/identifiers/val-super-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0073uper = 123; diff --git a/test/language/identifiers/val-super.js b/test/language/identifiers/val-super.js index 99ffc47adb..ecacbbe2f3 100644 --- a/test/language/identifiers/val-super.js +++ b/test/language/identifiers/val-super.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var super = 123; diff --git a/test/language/identifiers/val-switch-via-escape-hex.js b/test/language/identifiers/val-switch-via-escape-hex.js index 04cbbd63c9..56d8aa5519 100644 --- a/test/language/identifiers/val-switch-via-escape-hex.js +++ b/test/language/identifiers/val-switch-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var switc\u{68} = 123; diff --git a/test/language/identifiers/val-switch-via-escape-hex4.js b/test/language/identifiers/val-switch-via-escape-hex4.js index fb40c7c8f7..50ff2406c2 100644 --- a/test/language/identifiers/val-switch-via-escape-hex4.js +++ b/test/language/identifiers/val-switch-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var switc\u0068 = 123; diff --git a/test/language/identifiers/val-switch.js b/test/language/identifiers/val-switch.js index 038df66ff7..e4d9f92741 100644 --- a/test/language/identifiers/val-switch.js +++ b/test/language/identifiers/val-switch.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var switch = 123; diff --git a/test/language/identifiers/val-this-via-escape-hex.js b/test/language/identifiers/val-this-via-escape-hex.js index 5bdb3fb90e..cbd106b3a5 100644 --- a/test/language/identifiers/val-this-via-escape-hex.js +++ b/test/language/identifiers/val-this-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var thi\u{73} = 123; diff --git a/test/language/identifiers/val-this-via-escape-hex4.js b/test/language/identifiers/val-this-via-escape-hex4.js index 096712eba6..1e7b56b7eb 100644 --- a/test/language/identifiers/val-this-via-escape-hex4.js +++ b/test/language/identifiers/val-this-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var thi\u0073 = 123; diff --git a/test/language/identifiers/val-this.js b/test/language/identifiers/val-this.js index e4e556cbcd..c746f2b791 100644 --- a/test/language/identifiers/val-this.js +++ b/test/language/identifiers/val-this.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var this = 123; diff --git a/test/language/identifiers/val-throw-via-escape-hex.js b/test/language/identifiers/val-throw-via-escape-hex.js index 149477ffca..6e9409975c 100644 --- a/test/language/identifiers/val-throw-via-escape-hex.js +++ b/test/language/identifiers/val-throw-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var thro\u{77} = 123; diff --git a/test/language/identifiers/val-throw-via-escape-hex4.js b/test/language/identifiers/val-throw-via-escape-hex4.js index 5573448205..89f777b9f8 100644 --- a/test/language/identifiers/val-throw-via-escape-hex4.js +++ b/test/language/identifiers/val-throw-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var thro\u0077 = 123; diff --git a/test/language/identifiers/val-throw.js b/test/language/identifiers/val-throw.js index 24e7ebda9e..fb1f0e27ba 100644 --- a/test/language/identifiers/val-throw.js +++ b/test/language/identifiers/val-throw.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var throw = 123; diff --git a/test/language/identifiers/val-true-via-escape-hex.js b/test/language/identifiers/val-true-via-escape-hex.js index 2bdf5a6e04..64b9a5ede5 100644 --- a/test/language/identifiers/val-true-via-escape-hex.js +++ b/test/language/identifiers/val-true-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var tr\u{75}e = 123; diff --git a/test/language/identifiers/val-true-via-escape-hex4.js b/test/language/identifiers/val-true-via-escape-hex4.js index fdf9f9f40f..c8e1564976 100644 --- a/test/language/identifiers/val-true-via-escape-hex4.js +++ b/test/language/identifiers/val-true-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var tr\u0075e = 123; diff --git a/test/language/identifiers/val-true.js b/test/language/identifiers/val-true.js index 98af63cac1..64dbe5d959 100644 --- a/test/language/identifiers/val-true.js +++ b/test/language/identifiers/val-true.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var true = 123; diff --git a/test/language/identifiers/val-try-via-escape-hex.js b/test/language/identifiers/val-try-via-escape-hex.js index c6eae5b1e1..728622cc9f 100644 --- a/test/language/identifiers/val-try-via-escape-hex.js +++ b/test/language/identifiers/val-try-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{74}\u{72}\u{79} = 123; diff --git a/test/language/identifiers/val-try-via-escape-hex4.js b/test/language/identifiers/val-try-via-escape-hex4.js index 9db48ea0c4..e4871209f4 100644 --- a/test/language/identifiers/val-try-via-escape-hex4.js +++ b/test/language/identifiers/val-try-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0074\u0072\u0079 = 123; diff --git a/test/language/identifiers/val-try.js b/test/language/identifiers/val-try.js index 25c1239b4c..f640f58d70 100644 --- a/test/language/identifiers/val-try.js +++ b/test/language/identifiers/val-try.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var try = 123; diff --git a/test/language/identifiers/val-typeof-via-escape-hex.js b/test/language/identifiers/val-typeof-via-escape-hex.js index 9a6ae786ec..28277592e0 100644 --- a/test/language/identifiers/val-typeof-via-escape-hex.js +++ b/test/language/identifiers/val-typeof-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var typeo\u{66} = 123; diff --git a/test/language/identifiers/val-typeof-via-escape-hex4.js b/test/language/identifiers/val-typeof-via-escape-hex4.js index 762afd2f8d..4b27ece7a0 100644 --- a/test/language/identifiers/val-typeof-via-escape-hex4.js +++ b/test/language/identifiers/val-typeof-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var typeo\u0066 = 123; diff --git a/test/language/identifiers/val-typeof.js b/test/language/identifiers/val-typeof.js index 713fef7c6e..3eaadd2f31 100644 --- a/test/language/identifiers/val-typeof.js +++ b/test/language/identifiers/val-typeof.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var typeof = 123; diff --git a/test/language/identifiers/val-var-via-escape-hex.js b/test/language/identifiers/val-var-via-escape-hex.js index 5efde45394..0e40f286ca 100644 --- a/test/language/identifiers/val-var-via-escape-hex.js +++ b/test/language/identifiers/val-var-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var va\u{72} = 123; diff --git a/test/language/identifiers/val-var-via-escape-hex4.js b/test/language/identifiers/val-var-via-escape-hex4.js index b4fada8679..a6ac3a0eef 100644 --- a/test/language/identifiers/val-var-via-escape-hex4.js +++ b/test/language/identifiers/val-var-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var va\u0072 = 123; diff --git a/test/language/identifiers/val-var.js b/test/language/identifiers/val-var.js index d81b4b8c8e..03951f5eb2 100644 --- a/test/language/identifiers/val-var.js +++ b/test/language/identifiers/val-var.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var var = 123; diff --git a/test/language/identifiers/val-void-via-escape-hex.js b/test/language/identifiers/val-void-via-escape-hex.js index ad56d3a3c8..0b80277d69 100644 --- a/test/language/identifiers/val-void-via-escape-hex.js +++ b/test/language/identifiers/val-void-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{76}\u{6f}\u{69}\u{64} = 123; diff --git a/test/language/identifiers/val-void-via-escape-hex4.js b/test/language/identifiers/val-void-via-escape-hex4.js index 7daaf94617..63ec03a302 100644 --- a/test/language/identifiers/val-void-via-escape-hex4.js +++ b/test/language/identifiers/val-void-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0076\u006f\u0069\u0064 = 123; diff --git a/test/language/identifiers/val-void.js b/test/language/identifiers/val-void.js index 62ec52b2b6..d269b553a7 100644 --- a/test/language/identifiers/val-void.js +++ b/test/language/identifiers/val-void.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var void = 123; diff --git a/test/language/identifiers/val-while-via-escape-hex.js b/test/language/identifiers/val-while-via-escape-hex.js index 8331b71e5d..9f4e61e2f4 100644 --- a/test/language/identifiers/val-while-via-escape-hex.js +++ b/test/language/identifiers/val-while-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{77}\u{68}\u{69}\u{6c}\u{65} = 123; diff --git a/test/language/identifiers/val-while-via-escape-hex4.js b/test/language/identifiers/val-while-via-escape-hex4.js index fcb22db3cf..1a2ea3e290 100644 --- a/test/language/identifiers/val-while-via-escape-hex4.js +++ b/test/language/identifiers/val-while-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0077\u0068\u0069\u006c\u0065 = 123; diff --git a/test/language/identifiers/val-while.js b/test/language/identifiers/val-while.js index 1e0ec86a96..1149be10e8 100644 --- a/test/language/identifiers/val-while.js +++ b/test/language/identifiers/val-while.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var while = 123; diff --git a/test/language/identifiers/val-with-via-escape-hex.js b/test/language/identifiers/val-with-via-escape-hex.js index 5d0292ac1d..f9d8b84be2 100644 --- a/test/language/identifiers/val-with-via-escape-hex.js +++ b/test/language/identifiers/val-with-via-escape-hex.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u{77}ith = 123; diff --git a/test/language/identifiers/val-with-via-escape-hex4.js b/test/language/identifiers/val-with-via-escape-hex4.js index a7c91c66ce..7270548124 100644 --- a/test/language/identifiers/val-with-via-escape-hex4.js +++ b/test/language/identifiers/val-with-via-escape-hex4.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var \u0077ith = 123; diff --git a/test/language/identifiers/val-with.js b/test/language/identifiers/val-with.js index 2bc89f3e85..89ce66f720 100644 --- a/test/language/identifiers/val-with.js +++ b/test/language/identifiers/val-with.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var with = 123; diff --git a/test/language/identifiers/val-yield-strict.js b/test/language/identifiers/val-yield-strict.js index f6f3ec7df9..66df4f4355 100644 --- a/test/language/identifiers/val-yield-strict.js +++ b/test/language/identifiers/val-yield-strict.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var yield = 13; diff --git a/test/language/import/dup-bound-names.js b/test/language/import/dup-bound-names.js index 34eff72aa0..7b967ddcbc 100644 --- a/test/language/import/dup-bound-names.js +++ b/test/language/import/dup-bound-names.js @@ -11,4 +11,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + import { x, y as x } from 'z'; diff --git a/test/language/import/escaped-as-import-specifier.js b/test/language/import/escaped-as-import-specifier.js index 1d3815a100..3b754167ca 100644 --- a/test/language/import/escaped-as-import-specifier.js +++ b/test/language/import/escaped-as-import-specifier.js @@ -19,6 +19,8 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + export var a = 0; import {a \u0061s b} from "./escaped-as-import-specifier.js"; diff --git a/test/language/import/escaped-as-namespace-import.js b/test/language/import/escaped-as-namespace-import.js index 8c92473690..7770e77e19 100644 --- a/test/language/import/escaped-as-namespace-import.js +++ b/test/language/import/escaped-as-namespace-import.js @@ -19,4 +19,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + import* \u0061s self from "./escaped-as-namespace-import.js"; diff --git a/test/language/import/escaped-from.js b/test/language/import/escaped-from.js index 7b272b14f8..a35e4ffc05 100644 --- a/test/language/import/escaped-from.js +++ b/test/language/import/escaped-from.js @@ -19,4 +19,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + import {} \u0066rom "./escaped-from.js"; diff --git a/test/language/keywords/ident-ref-break.js b/test/language/keywords/ident-ref-break.js index 77fe435224..2eddb4e9da 100644 --- a/test/language/keywords/ident-ref-break.js +++ b/test/language/keywords/ident-ref-break.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + break = 1; diff --git a/test/language/keywords/ident-ref-case.js b/test/language/keywords/ident-ref-case.js index 142d6a5e96..4025e974bf 100644 --- a/test/language/keywords/ident-ref-case.js +++ b/test/language/keywords/ident-ref-case.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + case = 1; diff --git a/test/language/keywords/ident-ref-catch.js b/test/language/keywords/ident-ref-catch.js index 3418056d44..ea4b5ac9ad 100644 --- a/test/language/keywords/ident-ref-catch.js +++ b/test/language/keywords/ident-ref-catch.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + catch = 1; diff --git a/test/language/keywords/ident-ref-continue.js b/test/language/keywords/ident-ref-continue.js index ae5ea45f8d..2d9e21f62b 100644 --- a/test/language/keywords/ident-ref-continue.js +++ b/test/language/keywords/ident-ref-continue.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + continue = 1; diff --git a/test/language/keywords/ident-ref-default.js b/test/language/keywords/ident-ref-default.js index e5a24239bb..bbc33758c7 100644 --- a/test/language/keywords/ident-ref-default.js +++ b/test/language/keywords/ident-ref-default.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + default = 1; diff --git a/test/language/keywords/ident-ref-delete.js b/test/language/keywords/ident-ref-delete.js index 755068558f..8e3daf628b 100644 --- a/test/language/keywords/ident-ref-delete.js +++ b/test/language/keywords/ident-ref-delete.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + delete = 1; diff --git a/test/language/keywords/ident-ref-do.js b/test/language/keywords/ident-ref-do.js index 18cf089e64..697056a67d 100644 --- a/test/language/keywords/ident-ref-do.js +++ b/test/language/keywords/ident-ref-do.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + do = 1; diff --git a/test/language/keywords/ident-ref-else.js b/test/language/keywords/ident-ref-else.js index 63b3b2b971..cb238f924a 100644 --- a/test/language/keywords/ident-ref-else.js +++ b/test/language/keywords/ident-ref-else.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + else = 1; diff --git a/test/language/keywords/ident-ref-finally.js b/test/language/keywords/ident-ref-finally.js index 110271698b..6c185bd6b4 100644 --- a/test/language/keywords/ident-ref-finally.js +++ b/test/language/keywords/ident-ref-finally.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + finally = 1; diff --git a/test/language/keywords/ident-ref-for.js b/test/language/keywords/ident-ref-for.js index 58538df962..24d28adc71 100644 --- a/test/language/keywords/ident-ref-for.js +++ b/test/language/keywords/ident-ref-for.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + for = 1; diff --git a/test/language/keywords/ident-ref-function.js b/test/language/keywords/ident-ref-function.js index c6a6046ae8..e70c218486 100644 --- a/test/language/keywords/ident-ref-function.js +++ b/test/language/keywords/ident-ref-function.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + function = 1; diff --git a/test/language/keywords/ident-ref-if.js b/test/language/keywords/ident-ref-if.js index 02e3614ef0..6b4c58e287 100644 --- a/test/language/keywords/ident-ref-if.js +++ b/test/language/keywords/ident-ref-if.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + if = 1; diff --git a/test/language/keywords/ident-ref-in.js b/test/language/keywords/ident-ref-in.js index a3cf5c79b0..e62e4c5fe4 100644 --- a/test/language/keywords/ident-ref-in.js +++ b/test/language/keywords/ident-ref-in.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + in = 1; diff --git a/test/language/keywords/ident-ref-instanceof.js b/test/language/keywords/ident-ref-instanceof.js index 26bb6b3199..48be0383c7 100644 --- a/test/language/keywords/ident-ref-instanceof.js +++ b/test/language/keywords/ident-ref-instanceof.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + instanceof = 1; diff --git a/test/language/keywords/ident-ref-new.js b/test/language/keywords/ident-ref-new.js index aef6ecd1d3..b2694b9345 100644 --- a/test/language/keywords/ident-ref-new.js +++ b/test/language/keywords/ident-ref-new.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + new = 1; diff --git a/test/language/keywords/ident-ref-return.js b/test/language/keywords/ident-ref-return.js index 33b6c8b6ac..0cf00dfebe 100644 --- a/test/language/keywords/ident-ref-return.js +++ b/test/language/keywords/ident-ref-return.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + return = 1; diff --git a/test/language/keywords/ident-ref-switch.js b/test/language/keywords/ident-ref-switch.js index a4b7b0586a..e9bacacbe7 100644 --- a/test/language/keywords/ident-ref-switch.js +++ b/test/language/keywords/ident-ref-switch.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + switch = 1; diff --git a/test/language/keywords/ident-ref-this.js b/test/language/keywords/ident-ref-this.js index 825c816317..3e9aab26d3 100644 --- a/test/language/keywords/ident-ref-this.js +++ b/test/language/keywords/ident-ref-this.js @@ -15,6 +15,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // It's tempting to write `this = 0`, but that'd be a test to validate `this` // is not a valid simple assignment target, cf. tests in language/expressions/assignment. // Also see: sec-semantics-static-semantics-isvalidsimpleassignmenttarget diff --git a/test/language/keywords/ident-ref-throw.js b/test/language/keywords/ident-ref-throw.js index 6bde82398a..9e030f506e 100644 --- a/test/language/keywords/ident-ref-throw.js +++ b/test/language/keywords/ident-ref-throw.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + throw = 1; diff --git a/test/language/keywords/ident-ref-try.js b/test/language/keywords/ident-ref-try.js index acf2564fd8..4ce6124fac 100644 --- a/test/language/keywords/ident-ref-try.js +++ b/test/language/keywords/ident-ref-try.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + try = 1; diff --git a/test/language/keywords/ident-ref-typeof.js b/test/language/keywords/ident-ref-typeof.js index 828411a58a..1e1d8510c7 100644 --- a/test/language/keywords/ident-ref-typeof.js +++ b/test/language/keywords/ident-ref-typeof.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + typeof = 1; diff --git a/test/language/keywords/ident-ref-var.js b/test/language/keywords/ident-ref-var.js index 0d7e5730e2..64ab88a379 100644 --- a/test/language/keywords/ident-ref-var.js +++ b/test/language/keywords/ident-ref-var.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var = 1; diff --git a/test/language/keywords/ident-ref-void.js b/test/language/keywords/ident-ref-void.js index e038f917ee..fe2e407acf 100644 --- a/test/language/keywords/ident-ref-void.js +++ b/test/language/keywords/ident-ref-void.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + void = 1; diff --git a/test/language/keywords/ident-ref-while.js b/test/language/keywords/ident-ref-while.js index 4637dedad0..75b8a56687 100644 --- a/test/language/keywords/ident-ref-while.js +++ b/test/language/keywords/ident-ref-while.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + while = 1; diff --git a/test/language/keywords/ident-ref-with.js b/test/language/keywords/ident-ref-with.js index da3e4e749b..9fad586f48 100644 --- a/test/language/keywords/ident-ref-with.js +++ b/test/language/keywords/ident-ref-with.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + with = 1; diff --git a/test/language/line-terminators/S7.3_A2.1_T2.js b/test/language/line-terminators/S7.3_A2.1_T2.js index 8c2689bb3c..073d5aa9a3 100644 --- a/test/language/line-terminators/S7.3_A2.1_T2.js +++ b/test/language/line-terminators/S7.3_A2.1_T2.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 " str diff --git a/test/language/line-terminators/S7.3_A2.2_T2.js b/test/language/line-terminators/S7.3_A2.2_T2.js index 6d70527026..a9265bd87b 100644 --- a/test/language/line-terminators/S7.3_A2.2_T2.js +++ b/test/language/line-terminators/S7.3_A2.2_T2.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 " str diff --git a/test/language/line-terminators/S7.3_A3.1_T3.js b/test/language/line-terminators/S7.3_A3.1_T3.js index c315d3d427..1354da0ba6 100644 --- a/test/language/line-terminators/S7.3_A3.1_T3.js +++ b/test/language/line-terminators/S7.3_A3.1_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // CHECK#1 //single line comment diff --git a/test/language/line-terminators/S7.3_A3.2_T1.js b/test/language/line-terminators/S7.3_A3.2_T1.js index ae4fbbf2a6..f30a79d4dc 100644 --- a/test/language/line-terminators/S7.3_A3.2_T1.js +++ b/test/language/line-terminators/S7.3_A3.2_T1.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // single line comment ??? (invalid) diff --git a/test/language/line-terminators/S7.3_A3.2_T3.js b/test/language/line-terminators/S7.3_A3.2_T3.js index 04d63d3737..50e466b74b 100644 --- a/test/language/line-terminators/S7.3_A3.2_T3.js +++ b/test/language/line-terminators/S7.3_A3.2_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // CHECK#1 //single line comment diff --git a/test/language/line-terminators/S7.3_A3.3_T1.js b/test/language/line-terminators/S7.3_A3.3_T1.js index f895d3289c..8507e91c4c 100644 --- a/test/language/line-terminators/S7.3_A3.3_T1.js +++ b/test/language/line-terminators/S7.3_A3.3_T1.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // single line LS>ā€Ø??? (invalid) diff --git a/test/language/line-terminators/S7.3_A3.4_T1.js b/test/language/line-terminators/S7.3_A3.4_T1.js index 2ff0ea095c..dbf7c78df1 100644 --- a/test/language/line-terminators/S7.3_A3.4_T1.js +++ b/test/language/line-terminators/S7.3_A3.4_T1.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + // single line PS>ā€©??? (invalid) diff --git a/test/language/line-terminators/S7.3_A6_T1.js b/test/language/line-terminators/S7.3_A6_T1.js index 6cc49d3733..074db298ac 100644 --- a/test/language/line-terminators/S7.3_A6_T1.js +++ b/test/language/line-terminators/S7.3_A6_T1.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var\u000Ax; diff --git a/test/language/line-terminators/S7.3_A6_T2.js b/test/language/line-terminators/S7.3_A6_T2.js index e247745f4b..1971e4a029 100644 --- a/test/language/line-terminators/S7.3_A6_T2.js +++ b/test/language/line-terminators/S7.3_A6_T2.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var\u000Dx; diff --git a/test/language/line-terminators/S7.3_A6_T3.js b/test/language/line-terminators/S7.3_A6_T3.js index f2c7598158..e56c254f6b 100644 --- a/test/language/line-terminators/S7.3_A6_T3.js +++ b/test/language/line-terminators/S7.3_A6_T3.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var\u2028x; diff --git a/test/language/line-terminators/S7.3_A6_T4.js b/test/language/line-terminators/S7.3_A6_T4.js index 4c0bc0b99d..b099dfa55c 100644 --- a/test/language/line-terminators/S7.3_A6_T4.js +++ b/test/language/line-terminators/S7.3_A6_T4.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + var\u2029x; diff --git a/test/language/literals/numeric/7.8.3-1gs.js b/test/language/literals/numeric/7.8.3-1gs.js index 090189eb6b..338bb80efa 100644 --- a/test/language/literals/numeric/7.8.3-1gs.js +++ b/test/language/literals/numeric/7.8.3-1gs.js @@ -10,4 +10,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var y = 010; diff --git a/test/language/literals/numeric/7.8.3-2gs.js b/test/language/literals/numeric/7.8.3-2gs.js index f208ba6008..cebdb272fe 100644 --- a/test/language/literals/numeric/7.8.3-2gs.js +++ b/test/language/literals/numeric/7.8.3-2gs.js @@ -12,6 +12,8 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var a; a = 0x1; a = 01; diff --git a/test/language/literals/numeric/S7.8.3_A6.1_T1.js b/test/language/literals/numeric/S7.8.3_A6.1_T1.js index 033531cb98..499ba12804 100644 --- a/test/language/literals/numeric/S7.8.3_A6.1_T1.js +++ b/test/language/literals/numeric/S7.8.3_A6.1_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 0x diff --git a/test/language/literals/numeric/S7.8.3_A6.1_T2.js b/test/language/literals/numeric/S7.8.3_A6.1_T2.js index 3bfd3a0255..abb5f4ecfb 100644 --- a/test/language/literals/numeric/S7.8.3_A6.1_T2.js +++ b/test/language/literals/numeric/S7.8.3_A6.1_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 0X diff --git a/test/language/literals/numeric/S7.8.3_A6.2_T1.js b/test/language/literals/numeric/S7.8.3_A6.2_T1.js index 50436d13c9..d69545770d 100644 --- a/test/language/literals/numeric/S7.8.3_A6.2_T1.js +++ b/test/language/literals/numeric/S7.8.3_A6.2_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 0xG diff --git a/test/language/literals/numeric/S7.8.3_A6.2_T2.js b/test/language/literals/numeric/S7.8.3_A6.2_T2.js index 1bebb39c94..0e21ff4e1e 100644 --- a/test/language/literals/numeric/S7.8.3_A6.2_T2.js +++ b/test/language/literals/numeric/S7.8.3_A6.2_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 0xg diff --git a/test/language/literals/numeric/binary-invalid-digit.js b/test/language/literals/numeric/binary-invalid-digit.js index abf985d6ac..5f7517c46d 100644 --- a/test/language/literals/numeric/binary-invalid-digit.js +++ b/test/language/literals/numeric/binary-invalid-digit.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0b2; diff --git a/test/language/literals/numeric/binary-invalid-leading.js b/test/language/literals/numeric/binary-invalid-leading.js index 8fe6d9168f..10333cb875 100644 --- a/test/language/literals/numeric/binary-invalid-leading.js +++ b/test/language/literals/numeric/binary-invalid-leading.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 00b0; diff --git a/test/language/literals/numeric/binary-invalid-truncated.js b/test/language/literals/numeric/binary-invalid-truncated.js index f00561453e..7f86069a15 100644 --- a/test/language/literals/numeric/binary-invalid-truncated.js +++ b/test/language/literals/numeric/binary-invalid-truncated.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0b; diff --git a/test/language/literals/numeric/binary-invalid-unicode.js b/test/language/literals/numeric/binary-invalid-unicode.js index eeaf5c8ec0..d38bcf176f 100644 --- a/test/language/literals/numeric/binary-invalid-unicode.js +++ b/test/language/literals/numeric/binary-invalid-unicode.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0\u00620; diff --git a/test/language/literals/numeric/legacy-octal-integer-strict.js b/test/language/literals/numeric/legacy-octal-integer-strict.js index b463a751b5..28d9f91261 100644 --- a/test/language/literals/numeric/legacy-octal-integer-strict.js +++ b/test/language/literals/numeric/legacy-octal-integer-strict.js @@ -21,4 +21,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 00; diff --git a/test/language/literals/numeric/non-octal-decimal-integer-strict.js b/test/language/literals/numeric/non-octal-decimal-integer-strict.js index d5ec7d00ea..1533a95e7e 100644 --- a/test/language/literals/numeric/non-octal-decimal-integer-strict.js +++ b/test/language/literals/numeric/non-octal-decimal-integer-strict.js @@ -27,4 +27,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 08; diff --git a/test/language/literals/numeric/octal-invalid-digit.js b/test/language/literals/numeric/octal-invalid-digit.js index 789365abdf..06920c38d1 100644 --- a/test/language/literals/numeric/octal-invalid-digit.js +++ b/test/language/literals/numeric/octal-invalid-digit.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0o8; diff --git a/test/language/literals/numeric/octal-invalid-leading.js b/test/language/literals/numeric/octal-invalid-leading.js index 496856267a..8812f27765 100644 --- a/test/language/literals/numeric/octal-invalid-leading.js +++ b/test/language/literals/numeric/octal-invalid-leading.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 00o0; diff --git a/test/language/literals/numeric/octal-invalid-truncated.js b/test/language/literals/numeric/octal-invalid-truncated.js index 6d36ccc94c..4c969a49a1 100644 --- a/test/language/literals/numeric/octal-invalid-truncated.js +++ b/test/language/literals/numeric/octal-invalid-truncated.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0o; diff --git a/test/language/literals/numeric/octal-invalid-unicode.js b/test/language/literals/numeric/octal-invalid-unicode.js index 938d03c4f4..ab00db79d0 100644 --- a/test/language/literals/numeric/octal-invalid-unicode.js +++ b/test/language/literals/numeric/octal-invalid-unicode.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + 0\u006f0; diff --git a/test/language/literals/regexp/7.8.5-1gs.js b/test/language/literals/regexp/7.8.5-1gs.js index e057a85561..6b8c81a51d 100644 --- a/test/language/literals/regexp/7.8.5-1gs.js +++ b/test/language/literals/regexp/7.8.5-1gs.js @@ -1,12 +1,14 @@ -// Copyright (c) 2012 Ecma International. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 7.8.5-1gs -description: Empty literal RegExp should result in a SyntaxError +// Copyright (c) 2012 Ecma International. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +es5id: 7.8.5-1gs +description: Empty literal RegExp should result in a SyntaxError negative: phase: early type: SyntaxError ----*/ - -var re = //; +---*/ + +throw "Test262: This statement should not be evaluated."; + +var re = //; diff --git a/test/language/literals/regexp/S7.8.5_A1.2_T1.js b/test/language/literals/regexp/S7.8.5_A1.2_T1.js index d4cec1ce22..9d1783ae67 100644 --- a/test/language/literals/regexp/S7.8.5_A1.2_T1.js +++ b/test/language/literals/regexp/S7.8.5_A1.2_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /*/ diff --git a/test/language/literals/regexp/S7.8.5_A1.2_T2.js b/test/language/literals/regexp/S7.8.5_A1.2_T2.js index 854a86eff3..dd9950451f 100644 --- a/test/language/literals/regexp/S7.8.5_A1.2_T2.js +++ b/test/language/literals/regexp/S7.8.5_A1.2_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /\/ diff --git a/test/language/literals/regexp/S7.8.5_A1.2_T3.js b/test/language/literals/regexp/S7.8.5_A1.2_T3.js index 40a3940ef3..579f29474f 100644 --- a/test/language/literals/regexp/S7.8.5_A1.2_T3.js +++ b/test/language/literals/regexp/S7.8.5_A1.2_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /// .source; diff --git a/test/language/literals/regexp/S7.8.5_A1.2_T4.js b/test/language/literals/regexp/S7.8.5_A1.2_T4.js index 5c1818dccc..4d1bf624af 100644 --- a/test/language/literals/regexp/S7.8.5_A1.2_T4.js +++ b/test/language/literals/regexp/S7.8.5_A1.2_T4.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 // .source; diff --git a/test/language/literals/regexp/S7.8.5_A1.3_T1.js b/test/language/literals/regexp/S7.8.5_A1.3_T1.js index 31e03c0e0f..001dac3a92 100644 --- a/test/language/literals/regexp/S7.8.5_A1.3_T1.js +++ b/test/language/literals/regexp/S7.8.5_A1.3_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 / / diff --git a/test/language/literals/regexp/S7.8.5_A1.3_T3.js b/test/language/literals/regexp/S7.8.5_A1.3_T3.js index c2ef82357a..49cc7a580d 100644 --- a/test/language/literals/regexp/S7.8.5_A1.3_T3.js +++ b/test/language/literals/regexp/S7.8.5_A1.3_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 / / diff --git a/test/language/literals/regexp/S7.8.5_A1.5_T1.js b/test/language/literals/regexp/S7.8.5_A1.5_T1.js index 2e62d51b3d..ac338c327d 100644 --- a/test/language/literals/regexp/S7.8.5_A1.5_T1.js +++ b/test/language/literals/regexp/S7.8.5_A1.5_T1.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /\ / diff --git a/test/language/literals/regexp/S7.8.5_A1.5_T3.js b/test/language/literals/regexp/S7.8.5_A1.5_T3.js index 92b1e2d037..2aa50a7b0b 100644 --- a/test/language/literals/regexp/S7.8.5_A1.5_T3.js +++ b/test/language/literals/regexp/S7.8.5_A1.5_T3.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /\ / diff --git a/test/language/literals/regexp/S7.8.5_A2.2_T1.js b/test/language/literals/regexp/S7.8.5_A2.2_T1.js index b38c10ccc8..85193f8503 100644 --- a/test/language/literals/regexp/S7.8.5_A2.2_T1.js +++ b/test/language/literals/regexp/S7.8.5_A2.2_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a\/ diff --git a/test/language/literals/regexp/S7.8.5_A2.2_T2.js b/test/language/literals/regexp/S7.8.5_A2.2_T2.js index a231489510..5cc1f2d3f8 100644 --- a/test/language/literals/regexp/S7.8.5_A2.2_T2.js +++ b/test/language/literals/regexp/S7.8.5_A2.2_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a//.source; diff --git a/test/language/literals/regexp/S7.8.5_A2.3_T1.js b/test/language/literals/regexp/S7.8.5_A2.3_T1.js index 771cf4fe57..60acc3501f 100644 --- a/test/language/literals/regexp/S7.8.5_A2.3_T1.js +++ b/test/language/literals/regexp/S7.8.5_A2.3_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a / diff --git a/test/language/literals/regexp/S7.8.5_A2.3_T3.js b/test/language/literals/regexp/S7.8.5_A2.3_T3.js index aef8993cb9..149060d128 100644 --- a/test/language/literals/regexp/S7.8.5_A2.3_T3.js +++ b/test/language/literals/regexp/S7.8.5_A2.3_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a / diff --git a/test/language/literals/regexp/S7.8.5_A2.5_T1.js b/test/language/literals/regexp/S7.8.5_A2.5_T1.js index 50b89b9c7f..ee4852e975 100644 --- a/test/language/literals/regexp/S7.8.5_A2.5_T1.js +++ b/test/language/literals/regexp/S7.8.5_A2.5_T1.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a\ / diff --git a/test/language/literals/regexp/S7.8.5_A2.5_T3.js b/test/language/literals/regexp/S7.8.5_A2.5_T3.js index c8bc4bfa15..1661bb809e 100644 --- a/test/language/literals/regexp/S7.8.5_A2.5_T3.js +++ b/test/language/literals/regexp/S7.8.5_A2.5_T3.js @@ -10,6 +10,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 /a\ / diff --git a/test/language/literals/regexp/early-err-bad-flag.js b/test/language/literals/regexp/early-err-bad-flag.js index 6e2fb67c5c..ab13fd4557 100644 --- a/test/language/literals/regexp/early-err-bad-flag.js +++ b/test/language/literals/regexp/early-err-bad-flag.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + throw new Test262Error(); /./G; diff --git a/test/language/literals/regexp/early-err-dup-flag.js b/test/language/literals/regexp/early-err-dup-flag.js index a58c348874..026371d649 100644 --- a/test/language/literals/regexp/early-err-dup-flag.js +++ b/test/language/literals/regexp/early-err-dup-flag.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + throw new Test262Error(); /./gig; diff --git a/test/language/literals/regexp/early-err-flags-unicode-escape.js b/test/language/literals/regexp/early-err-flags-unicode-escape.js index daccd6df62..7f54f2fff0 100644 --- a/test/language/literals/regexp/early-err-flags-unicode-escape.js +++ b/test/language/literals/regexp/early-err-flags-unicode-escape.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /./\u0067; diff --git a/test/language/literals/regexp/early-err-pattern.js b/test/language/literals/regexp/early-err-pattern.js index 61b63a1f20..d4da6f6c49 100644 --- a/test/language/literals/regexp/early-err-pattern.js +++ b/test/language/literals/regexp/early-err-pattern.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + throw new Test262Error(); /?/; diff --git a/test/language/literals/regexp/invalid-braced-quantifier-exact.js b/test/language/literals/regexp/invalid-braced-quantifier-exact.js index 1f837e9c3b..c7b6006957 100644 --- a/test/language/literals/regexp/invalid-braced-quantifier-exact.js +++ b/test/language/literals/regexp/invalid-braced-quantifier-exact.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /{2}/; diff --git a/test/language/literals/regexp/invalid-braced-quantifier-lower.js b/test/language/literals/regexp/invalid-braced-quantifier-lower.js index b18f42bc36..3c9916e4f7 100644 --- a/test/language/literals/regexp/invalid-braced-quantifier-lower.js +++ b/test/language/literals/regexp/invalid-braced-quantifier-lower.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /{2,}/; diff --git a/test/language/literals/regexp/invalid-braced-quantifier-range.js b/test/language/literals/regexp/invalid-braced-quantifier-range.js index 9a95777bc3..c69b02a675 100644 --- a/test/language/literals/regexp/invalid-braced-quantifier-range.js +++ b/test/language/literals/regexp/invalid-braced-quantifier-range.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /{2,3}/; diff --git a/test/language/literals/regexp/u-dec-esc.js b/test/language/literals/regexp/u-dec-esc.js index b238d86bc6..951eee7eba 100644 --- a/test/language/literals/regexp/u-dec-esc.js +++ b/test/language/literals/regexp/u-dec-esc.js @@ -12,4 +12,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\1/u; diff --git a/test/language/literals/regexp/u-invalid-class-escape.js b/test/language/literals/regexp/u-invalid-class-escape.js index 1c17f05e6a..caeea9b0ac 100644 --- a/test/language/literals/regexp/u-invalid-class-escape.js +++ b/test/language/literals/regexp/u-invalid-class-escape.js @@ -18,4 +18,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\c0/u; diff --git a/test/language/literals/regexp/u-invalid-extended-pattern-char.js b/test/language/literals/regexp/u-invalid-extended-pattern-char.js index a6d91c9d43..2b2a280ec1 100644 --- a/test/language/literals/regexp/u-invalid-extended-pattern-char.js +++ b/test/language/literals/regexp/u-invalid-extended-pattern-char.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /{/u; diff --git a/test/language/literals/regexp/u-invalid-identity-escape.js b/test/language/literals/regexp/u-invalid-identity-escape.js index b36d6f8a88..e5ecfe8593 100644 --- a/test/language/literals/regexp/u-invalid-identity-escape.js +++ b/test/language/literals/regexp/u-invalid-identity-escape.js @@ -17,4 +17,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\M/u; diff --git a/test/language/literals/regexp/u-invalid-legacy-octal-escape.js b/test/language/literals/regexp/u-invalid-legacy-octal-escape.js index 204d341353..6200af249e 100644 --- a/test/language/literals/regexp/u-invalid-legacy-octal-escape.js +++ b/test/language/literals/regexp/u-invalid-legacy-octal-escape.js @@ -20,4 +20,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\1/u; diff --git a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-a.js b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-a.js index a88fe8a8c9..bbe2de8c37 100644 --- a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-a.js +++ b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-a.js @@ -27,4 +27,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /[\d-a]/u; diff --git a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-ab.js b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-ab.js index 48e7172a4b..a953228ea8 100644 --- a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-ab.js +++ b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-ab.js @@ -27,4 +27,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /[\s-\d]/u; diff --git a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-b.js b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-b.js index cb41b9490f..9a22bdff3f 100644 --- a/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-b.js +++ b/test/language/literals/regexp/u-invalid-non-empty-class-ranges-no-dash-b.js @@ -27,4 +27,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /[%-\d]/u; diff --git a/test/language/literals/regexp/u-invalid-non-empty-class-ranges.js b/test/language/literals/regexp/u-invalid-non-empty-class-ranges.js index 49b6580a51..d8d436d65b 100644 --- a/test/language/literals/regexp/u-invalid-non-empty-class-ranges.js +++ b/test/language/literals/regexp/u-invalid-non-empty-class-ranges.js @@ -26,4 +26,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /[--\d]/u; diff --git a/test/language/literals/regexp/u-invalid-oob-decimal-escape.js b/test/language/literals/regexp/u-invalid-oob-decimal-escape.js index 47c63ab952..c7059f0c78 100644 --- a/test/language/literals/regexp/u-invalid-oob-decimal-escape.js +++ b/test/language/literals/regexp/u-invalid-oob-decimal-escape.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\8/u; diff --git a/test/language/literals/regexp/u-invalid-quantifiable-assertion.js b/test/language/literals/regexp/u-invalid-quantifiable-assertion.js index 087124e62d..7ad9c05207 100644 --- a/test/language/literals/regexp/u-invalid-quantifiable-assertion.js +++ b/test/language/literals/regexp/u-invalid-quantifiable-assertion.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /.(?=.)?/u; diff --git a/test/language/literals/regexp/u-unicode-esc-bounds.js b/test/language/literals/regexp/u-unicode-esc-bounds.js index b3140f808f..5f039eb866 100644 --- a/test/language/literals/regexp/u-unicode-esc-bounds.js +++ b/test/language/literals/regexp/u-unicode-esc-bounds.js @@ -15,4 +15,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\u{110000}/u; diff --git a/test/language/literals/regexp/u-unicode-esc-non-hex.js b/test/language/literals/regexp/u-unicode-esc-non-hex.js index c8265206be..f0884789fc 100644 --- a/test/language/literals/regexp/u-unicode-esc-non-hex.js +++ b/test/language/literals/regexp/u-unicode-esc-non-hex.js @@ -10,4 +10,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + /\u{1,}/u; diff --git a/test/language/literals/string/7.8.4-1gs.js b/test/language/literals/string/7.8.4-1gs.js index d980127141..cba7b591aa 100644 --- a/test/language/literals/string/7.8.4-1gs.js +++ b/test/language/literals/string/7.8.4-1gs.js @@ -12,4 +12,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + var _7_8_4_2 = '100abc\0110def'; diff --git a/test/language/literals/string/S7.8.4_A1.1_T1.js b/test/language/literals/string/S7.8.4_A1.1_T1.js index b1da233d7f..f2951f5cea 100644 --- a/test/language/literals/string/S7.8.4_A1.1_T1.js +++ b/test/language/literals/string/S7.8.4_A1.1_T1.js @@ -12,5 +12,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 """ diff --git a/test/language/literals/string/S7.8.4_A1.1_T2.js b/test/language/literals/string/S7.8.4_A1.1_T2.js index e3516a13f7..7c41e0a645 100644 --- a/test/language/literals/string/S7.8.4_A1.1_T2.js +++ b/test/language/literals/string/S7.8.4_A1.1_T2.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 " " diff --git a/test/language/literals/string/S7.8.4_A1.2_T1.js b/test/language/literals/string/S7.8.4_A1.2_T1.js index 1bc242b567..2066b4b22b 100644 --- a/test/language/literals/string/S7.8.4_A1.2_T1.js +++ b/test/language/literals/string/S7.8.4_A1.2_T1.js @@ -12,5 +12,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 ''' diff --git a/test/language/literals/string/S7.8.4_A1.2_T2.js b/test/language/literals/string/S7.8.4_A1.2_T2.js index 5174b7bd7b..8e319a1642 100644 --- a/test/language/literals/string/S7.8.4_A1.2_T2.js +++ b/test/language/literals/string/S7.8.4_A1.2_T2.js @@ -12,6 +12,8 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 ' ' diff --git a/test/language/literals/string/S7.8.4_A3.1_T1.js b/test/language/literals/string/S7.8.4_A3.1_T1.js index 19b3a6fd6d..350e8e00dd 100644 --- a/test/language/literals/string/S7.8.4_A3.1_T1.js +++ b/test/language/literals/string/S7.8.4_A3.1_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\" diff --git a/test/language/literals/string/S7.8.4_A3.1_T2.js b/test/language/literals/string/S7.8.4_A3.1_T2.js index afdbf643c4..3e83b3da4a 100644 --- a/test/language/literals/string/S7.8.4_A3.1_T2.js +++ b/test/language/literals/string/S7.8.4_A3.1_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 '\' diff --git a/test/language/literals/string/S7.8.4_A3.2_T1.js b/test/language/literals/string/S7.8.4_A3.2_T1.js index 45e6bd4ef9..5dc1a4d894 100644 --- a/test/language/literals/string/S7.8.4_A3.2_T1.js +++ b/test/language/literals/string/S7.8.4_A3.2_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\\\" diff --git a/test/language/literals/string/S7.8.4_A3.2_T2.js b/test/language/literals/string/S7.8.4_A3.2_T2.js index be3ab6f578..3402432bd7 100644 --- a/test/language/literals/string/S7.8.4_A3.2_T2.js +++ b/test/language/literals/string/S7.8.4_A3.2_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 '\\\' diff --git a/test/language/literals/string/S7.8.4_A4.3_T1.js b/test/language/literals/string/S7.8.4_A4.3_T1.js index cb1337c044..e532b25470 100644 --- a/test/language/literals/string/S7.8.4_A4.3_T1.js +++ b/test/language/literals/string/S7.8.4_A4.3_T1.js @@ -11,4 +11,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + "\1" diff --git a/test/language/literals/string/S7.8.4_A4.3_T2.js b/test/language/literals/string/S7.8.4_A4.3_T2.js index 70cae82879..b513a11eac 100644 --- a/test/language/literals/string/S7.8.4_A4.3_T2.js +++ b/test/language/literals/string/S7.8.4_A4.3_T2.js @@ -11,4 +11,6 @@ negative: flags: [onlyStrict] ---*/ +throw "Test262: This statement should not be evaluated."; + "\7" diff --git a/test/language/literals/string/S7.8.4_A7.1_T4.js b/test/language/literals/string/S7.8.4_A7.1_T4.js index 390128b43f..9a4d687936 100644 --- a/test/language/literals/string/S7.8.4_A7.1_T4.js +++ b/test/language/literals/string/S7.8.4_A7.1_T4.js @@ -12,5 +12,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK# "\u000G" diff --git a/test/language/literals/string/S7.8.4_A7.2_T1.js b/test/language/literals/string/S7.8.4_A7.2_T1.js index 255d3e83c6..2b252b5df0 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T1.js +++ b/test/language/literals/string/S7.8.4_A7.2_T1.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\u1" diff --git a/test/language/literals/string/S7.8.4_A7.2_T2.js b/test/language/literals/string/S7.8.4_A7.2_T2.js index 793819eedc..efa5cb48d8 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T2.js +++ b/test/language/literals/string/S7.8.4_A7.2_T2.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\uA" diff --git a/test/language/literals/string/S7.8.4_A7.2_T3.js b/test/language/literals/string/S7.8.4_A7.2_T3.js index 2be1ce4ac6..62d0d1fb4a 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T3.js +++ b/test/language/literals/string/S7.8.4_A7.2_T3.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\u11" diff --git a/test/language/literals/string/S7.8.4_A7.2_T4.js b/test/language/literals/string/S7.8.4_A7.2_T4.js index 3711c0d098..82a194b502 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T4.js +++ b/test/language/literals/string/S7.8.4_A7.2_T4.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\uAA" diff --git a/test/language/literals/string/S7.8.4_A7.2_T5.js b/test/language/literals/string/S7.8.4_A7.2_T5.js index 338425c10a..0a4428292e 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T5.js +++ b/test/language/literals/string/S7.8.4_A7.2_T5.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\u111" diff --git a/test/language/literals/string/S7.8.4_A7.2_T6.js b/test/language/literals/string/S7.8.4_A7.2_T6.js index 3abb025a2a..6308cb0c79 100644 --- a/test/language/literals/string/S7.8.4_A7.2_T6.js +++ b/test/language/literals/string/S7.8.4_A7.2_T6.js @@ -10,5 +10,7 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + //CHECK#1 "\uAAA" diff --git a/test/language/literals/string/legacy-non-octal-escape-sequence-strict.js b/test/language/literals/string/legacy-non-octal-escape-sequence-strict.js index 69ee5e596d..d802bb7858 100644 --- a/test/language/literals/string/legacy-non-octal-escape-sequence-strict.js +++ b/test/language/literals/string/legacy-non-octal-escape-sequence-strict.js @@ -33,4 +33,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + '\08'; diff --git a/test/language/literals/string/legacy-octal-escape-sequence-strict.js b/test/language/literals/string/legacy-octal-escape-sequence-strict.js index c401353dc1..98c47dc90c 100644 --- a/test/language/literals/string/legacy-octal-escape-sequence-strict.js +++ b/test/language/literals/string/legacy-octal-escape-sequence-strict.js @@ -33,4 +33,6 @@ negative: type: SyntaxError ---*/ +throw "Test262: This statement should not be evaluated."; + '\1'; diff --git a/test/language/module-code/comment-multi-line-html-close.js b/test/language/module-code/comment-multi-line-html-close.js index 6a4124d3e8..8d965ec6fe 100644 --- a/test/language/module-code/comment-multi-line-html-close.js +++ b/test/language/module-code/comment-multi-line-html-close.js @@ -12,5 +12,7 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + /* */--> diff --git a/test/language/module-code/comment-single-line-html-close.js b/test/language/module-code/comment-single-line-html-close.js index 595b9d9c60..da07ebc514 100644 --- a/test/language/module-code/comment-single-line-html-close.js +++ b/test/language/module-code/comment-single-line-html-close.js @@ -12,4 +12,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; + --> diff --git a/test/language/module-code/comment-single-line-html-open.js b/test/language/module-code/comment-single-line-html-open.js index 3218abfd53..4a832b9965 100644 --- a/test/language/module-code/comment-single-line-html-open.js +++ b/test/language/module-code/comment-single-line-html-open.js @@ -12,4 +12,6 @@ negative: flags: [module] ---*/ +throw "Test262: This statement should not be evaluated."; +