-
- Downloads
Update for new `eval` restrictions on `super` (#781)
A recent change to the specification [1] introduces parse-time errors for certain usages of `super` within eval code. Modify all tests that are affected by this change: - Update the test bodies to accurately enforce the new semantics - Rename files to better reflect the section of the specification that they enforce - Update test meta-data - Change the `esid` meta-data to reflect the location of the relevant specification text - Remove the `es6id` meta-data as the behavior is no longer relatable to that specification - Introduce the `features` meta-data in cases where the test file's new location no longer reflects all required language features [1] "Normative: Clarify rules around super inside eval" https://github.com/tc39/ecma262/pull/685
Showing
- test/language/eval-code/direct/super-call-fn.js 26 additions, 9 deletionstest/language/eval-code/direct/super-call-fn.js
- test/language/eval-code/direct/super-call-method.js 49 additions, 0 deletionstest/language/eval-code/direct/super-call-method.js
- test/language/eval-code/direct/super-prop-dot-no-home.js 47 additions, 0 deletionstest/language/eval-code/direct/super-prop-dot-no-home.js
- test/language/eval-code/direct/super-prop-expr-no-home-no-eval.js 46 additions, 0 deletions...guage/eval-code/direct/super-prop-expr-no-home-no-eval.js
- test/language/eval-code/direct/super-prop-expr-no-home.js 47 additions, 0 deletionstest/language/eval-code/direct/super-prop-expr-no-home.js
- test/language/expressions/super/call-new-target-undef.js 0 additions, 25 deletionstest/language/expressions/super/call-new-target-undef.js
- test/language/expressions/super/prop-dot-fn-no-super-bndng.js 0 additions, 33 deletions.../language/expressions/super/prop-dot-fn-no-super-bndng.js
- test/language/expressions/super/prop-expr-fn-eval-before-has-super.js 0 additions, 24 deletions...e/expressions/super/prop-expr-fn-eval-before-has-super.js
- test/language/expressions/super/prop-expr-fn-no-super-bndng.js 0 additions, 33 deletions...language/expressions/super/prop-expr-fn-no-super-bndng.js
Loading
Please register or sign in to comment