- Feb 16, 2015
-
-
Rick Waldron authored
-
Brian Terlson authored
Fix typo in CONSOLE-RUNNER.md
-
Christian Wesselhoeft authored
-
Rick Waldron authored
fix undefined var
-
- Feb 14, 2015
-
-
smikes authored
-
- Feb 12, 2015
-
-
Brian Terlson authored
Update front matter to include eithe es5id or es6id where missing. Closes gh-144
-
Rick Waldron authored
-
- Dec 13, 2014
-
-
Brian Terlson authored
Fix strict mode errors in language/expressions
-
- Dec 12, 2014
-
-
Brian Terlson authored
Update comments in Object.defineProperties tests (Fixes #138)
-
Brian Terlson authored
Revert 12.14-1 and 12.14-2 (Fixes #120)
-
- Dec 11, 2014
-
-
André Bargull authored
- Add missing noStrict flags when tests explicitly require non-strict semantics (e.g. unqualified delete, with statement) - Change `throw new Exception(...)` to `$ERROR(...)` in call/* - Replace dynamic strict mode check with noStrict flag in call/11.2.3-3_8 - Align assignment/11.13.1_A3.1 with 11.13.1_A3.2 to avoid creating implicit global variable - Split test into multiple files when undeclared variable are under test - addition/S11.6.1_A2.4_T3 - division/11.5.2_A2.4_T3 - does-not-equals/11.9.2_A2.4_T3 - equals/S11.9.1_A2.4_T3 - greater-than/S11.8.2_A2.4_T3 - greater-than-or-equal/S11.8.4_A2.4_T3 - in/S11.8.7_A2.4_T3 - instanceof/11.8.6_A2.4_T3 - left-shift/S11.7.1_A2.4_T3 - less-than/S11.8.1_A2.4_T3 - less-than-or-equal/S11.8.3_A2.4_T3 - modulus/S11.5.3_A2.4_T3 - multiplication/11.5.1_A2.4_T3 - right-shift/11.7.2_A2.4_T3 - strict-does-not-equals/11.9.5_A2.4_T3 - strict-equals/11.9.4_A2.4_T3 - subtraction/11.6.2_A2.4_T3 - unsigned-right-shift/11.7.3_A2.4_T3 - Add declaration when implicit global variable creation not part of the test - assignment/11.13.1_A4_T1 - compound-assignment/S11.13.2_A3.1_T* - compound-assignment/S11.13.2_A3.2_T* - grouping/11.1.6_A3_T5 - instanceof/S15.3.5.3_* - Split test into multiple files when unqualified delete is used - delete/S11.4.1_A2.2_T1.js - delete/11.4.1_A3.2 - grouping/S11.1.6_A2 - grouping/S11.1.6_A3_T6
-
André Bargull authored
The expected values were already changed in a previous commit (@49abae4f), only the test descriptions still needed to be updated. (Fixes #138)
-
André Bargull authored
Assume tests run with Annex B semantics enabled. (Fixes #120)
-
smikes authored
- this change hits all files that use dataPropertyAttributesAreCorrect or acccessorPropertyAttributesAreCorrect Major changes: - remove include of runTestCase.js, dataPropertyAttributesAreCorrect.js and acccessorPropertyAttributesAreCorrect.js - add include of propertyHelper.js - remove function testCase() and call to function runTestCase() - instead of collecting test state into booleans, which are eventually returned from runTestCase, test conditions and throw errors immediately - use negative: to check error types instead of using `instanceof` in a catch() block Selected commit logs follow: manual conversion of accessorPropertyAttributesAreCorrect() test - remove runTestCase - remove wrapping testCase function - unindent - remove includes of runTestCase & accessor... - add include of propertyHelper.js - unpack final two args 'true, false' to explicit inline tests of isEnumerable and isConfigurable - unpack setter test into inline logic - unpack getter test into inline logic used script to replace includes: frontmatter with propertyHelper.js ; manually added back references to fnGlobalObject() where needed additional helper functions add helper functions for get and writable duplicate runTestCase so can remove runTestCase.js from includes of all tests in batch use keyboard macros to simplify repetitive conversions remove auto-save file accidentaly committed minor changes, manually remove runTestCase from remaining files lint etc. fixes remove now-obsolete harness files make strict/nonstrict variants tests where behavior is different in strict/nonstrict need two variants - strict mode throws on assign to read-only element (no setter fn) - strict mode separates named arguments from arguments[] fix indentation cleanup minor issues reviewing 15.2.3.7-9 tests, found some minor issues - indentation/spacing - duplicate test (eg, direct test of value and dataProp...) - remove needless try/finally - use assert.. helpers in place of if(is.. - rename some assertions to 'e' rename assertX to verifyX new helper fn sameValue test "set" as well as get reverse order of checks restore test of desc2 restore test of length restore test of ownProperty incorporate suggestions re order of ops, Object.prototype add test of sameValue helper restore return value in getter restore second defineProperty call restore check of explicit "false" restore explicit test of TypeError set noStrict flag on arguments changes rename catch var to "e" b4ad0e6 remove dataPropertyAttributesAreCorrect from tests 0d83ff2 remove accessorPropertyAttributesAreCorrect from tests bb926f3 remove {data,accessor}Property... fns from harness fix writable check on array.length call $ERROR if expected exception not thrown fix Epected => Expected typo use assert._isSamevalue
-
smikes authored
split "this" tests into strict/nonstrict branches split callable into separate test cases metadata: rename es6 to features
-
André Bargull authored
This change adds 'var' declarations for global variables to allow the tests to run in strict mode (see issue #35). Extra care was taken to ensure the changes do not alter the test behavior, for example when implicit creation of global variables are part of the test. Note: The change does not fix all strict mode errors due to missing 'var' declarations.
-
André Bargull authored
Identifier resolution in dynamic scope context is missing test coverage, resolves https://bugs.ecmascript.org/show_bug.cgi?id=1751 .
-
- Dec 10, 2014
-
-
Sam Mikes authored
add test of object with only "length" getter *fix typo per comments from @anba, thanks! * remove needless checks * add "splice" method fix es5id
-
Mathias Bynens authored
-
Brian Terlson authored
Array.prototype.find no longer skips holes
-
Juan Ignacio Dopazo authored
-
- Dec 09, 2014
-
-
Brian Terlson authored
-
Brian Terlson authored
-
Brian Terlson authored
-
Brian Terlson authored
-
Brian Terlson authored
Clean up ./test directory
-
- Dec 07, 2014
-
-
Brian Terlson authored
-
Brian Terlson authored
-
Brian Terlson authored
The with statement tests were novel, but the tests for property accessors throwing errors for undefined & null were duplicates with S11.2.1_A3_T4/5 respectively.
-
- Dec 05, 2014
-
-
Brian Terlson authored
Add assert.throws
-
Domenic Denicola authored
-
Domenic Denicola authored
Closes #57.
-
- Dec 02, 2014
-
-
Brian Terlson authored
add "assert.js" to python, website runners too
-
Brian Terlson authored
Initial assert helpers
-
smikes authored
-
- Dec 01, 2014
-
-
Brian Terlson authored
Whitespace fixes
-
Domenic Denicola authored
-
Domenic Denicola authored
Presumably since Python is whitespace-sensitive, this is actually quite important?
-
Domenic Denicola authored
-
Domenic Denicola authored
Closes #110
-