mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
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
Test262 is the official ECMAScript (ECMA-262) conformance suite.
Test262 tests conformance to the continually maintained draft future ECMAScript standard found at http://tc39.github.io/ecma262/ , together with any Stage 3 or later TC39 proposals. It is maintained by Tom Care (@tcare) with significant contributions from many in the ECMAScript community.
Contributing to Test262
See CONTRIBUTING.md
- Sign the Test262 CLA.
- Send a pull request. Please make sure you have one commit per pull request. If you have multiple commits, squash them before sending the pull request.
Running Test262
See INTERPRETING.md
There are a number of volunteer-maintained projects that may be used to execute Test262 in various ECMAScript hosts:
- https://github.com/bterlson/test262-harness (platform: Node.js)
- https://github.com/test262-utils/test262-harness-py (platform: Python)
Description
Languages
JavaScript
99.7%
Python
0.2%