test262/test/language/eval-code/direct
QuXing9 91a9abff4e
Add three testcases for test262 suite. (#2692)
* Add tests for escape function when parameter is not a string.

Fixes #2687
Fixes #2637

* Add test for indirect eval calls  when script is a for statement.

When for statement doesn't have a body, it should throw a SyntaxError.

Fixes #2661

* Add tests for Function Constructor when body contains usestrict.

Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
..
block-decl-eval-source-is-strict-nostrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
block-decl-eval-source-is-strict-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
block-decl-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
cptn-nrml-empty-block.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-do-while.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-empty.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-for.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-if.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-switch.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-var.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-empty-while.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-expr-obj.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml-expr-prim.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-thrw-prim.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
export.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
global-env-rec-catch.js Refactor tests for eval code 2016-04-25 16:36:39 -04:00
global-env-rec-eval.js Refactor tests for eval code 2016-04-25 16:36:39 -04:00
global-env-rec-fun.js Refactor tests for eval code 2016-04-25 16:36:39 -04:00
global-env-rec-with.js Refactor tests for eval code 2016-04-25 16:36:39 -04:00
global-env-rec.js Refactor tests for eval code 2016-04-25 16:36:39 -04:00
import.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
lex-env-distinct-cls.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-distinct-const.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-distinct-let.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-heritage.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-no-init-cls.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-no-init-const.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
lex-env-no-init-let.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
new.target-arrow.js Add feature flags for `new.target` 2018-07-24 20:31:35 +01:00
new.target-fn.js Add feature flags for `new.target` 2018-07-24 20:31:35 +01:00
new.target.js Add feature flags for `new.target` 2018-07-24 20:31:35 +01:00
non-definable-function-with-function.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
non-definable-function-with-variable.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
non-definable-global-function.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
non-definable-global-generator.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
non-definable-global-var.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
non-string-object.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
non-string-primitive.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
parse-failure-1.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
parse-failure-2.js Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
parse-failure-3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
parse-failure-4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
parse-failure-5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
parse-failure-6.js Add three testcases for test262 suite. (#2692) 2020-07-09 09:57:55 -07:00
strict-caller-function-context.js Add tests for direct eval calls in strict context 2020-05-20 13:31:27 -04:00
strict-caller-global.js Add tests for direct eval calls in strict context 2020-05-20 13:31:27 -04:00
strictness-override.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
super-call-arrow.js Add tests for early errors from `super` 2016-07-02 15:46:15 -04:00
super-call-fn.js Update for new `eval` restrictions on `super` (#781) 2016-10-24 10:43:44 -07:00
super-call-method.js Update for new `eval` restrictions on `super` (#781) 2016-10-24 10:43:44 -07:00
super-call.js Add tests for early errors from `super` 2016-07-02 15:46:15 -04:00
super-prop-arrow.js Add tests for early errors from `super` 2016-07-02 15:46:15 -04:00
super-prop-dot-no-home.js Update for new `eval` restrictions on `super` (#781) 2016-10-24 10:43:44 -07:00
super-prop-expr-no-home-no-eval.js Update for new `eval` restrictions on `super` (#781) 2016-10-24 10:43:44 -07:00
super-prop-expr-no-home.js Update for new `eval` restrictions on `super` (#781) 2016-10-24 10:43:44 -07:00
super-prop-method.js Add tests for early errors from `super` 2016-07-02 15:46:15 -04:00
super-prop.js Add tests for early errors from `super` 2016-07-02 15:46:15 -04:00
switch-case-decl-eval-source-is-strict-nostrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
switch-case-decl-eval-source-is-strict-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
switch-case-decl-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
switch-dflt-decl-eval-source-is-strict-nostrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
switch-dflt-decl-eval-source-is-strict-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
switch-dflt-decl-onlystrict.js Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
this-value-func-non-strict.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
this-value-func-strict-caller.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
this-value-func-strict-source.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
this-value-global.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-func-init-global-new.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-global-update-configurable.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-global-update-non-configurable.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-local-new-delete.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-local-new.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-local-update.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-init-multi.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-func-non-strict.js Add equivalent tests for eval code 2016-04-25 16:36:41 -04:00
var-env-func-strict-caller-2.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-func-strict-caller.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-func-strict-source.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-gloabl-lex-strict-caller.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-global-lex-non-strict.js Reformat negative SyntaxError tests (runtime) 2016-10-19 15:24:18 -04:00
var-env-global-lex-strict-source.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-lower-lex-non-strict.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-lower-lex-strict-caller.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-lower-lex-strict-source.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-init-global-exstng.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-init-global-new.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-init-local-exstng.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-init-local-new-delete.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-init-local-new.js Extend coverage for eval code 2016-04-25 16:43:48 -04:00
var-env-var-non-strict.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-var-strict-caller-2.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-var-strict-caller-3.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-var-strict-caller.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00
var-env-var-strict-source.js Re-organize tests for eval 2016-04-25 16:36:36 -04:00