mirror of https://github.com/tc39/test262.git
Some tests for `eval` assert the equality of key enumeration on the global object, comparing the ordering when the object is referenced through eval. Based on the test bodies and the "info" field in their metadata, these tests appear to have been written under the mistaken impression that erroneous creation of an environment record would be observable through the `this` value. In reality, the value in such cases resolves to the global object. That renders these tests redundant and overly complex--none of the distinctions between each test actually demonstrates a different behavior. Remove the redundant tests and introduce three new tests asserting the correct resolution of the `this` keyword for direct eval code from within the global scope and from within function scope. |
||
---|---|---|
docs | ||
harness | ||
src | ||
test | ||
tools | ||
website | ||
.gitattributes | ||
.gitignore | ||
.hgignore | ||
.jshintrc | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
excludelist.xml | ||
make.py |
README.md
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 Gorkem Yakin (@goyakin) 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.