Mike Pennisi
31bdf48bec
Add tests for MethodDefinition forms new to ES6
2015-05-25 11:23:47 -04:00
Mike Pennisi
cde990b79c
Rename tests
2015-05-25 11:23:46 -04:00
Brian Terlson
5341ad5985
Merge pull request #279 from bocoup/case-sensitive
...
fix case sensitive filenames
2015-05-24 14:38:13 -07:00
Brian Terlson
0360d749d2
Merge pull request #280 from pvginkel/master
...
S15.4.4.4_A4.1 length enumerable should be checked on Array.prototype.concat
2015-05-24 14:17:37 -07:00
Pieter van Ginkel
3663302c21
S15.4.4.4_A4.1 length enumerable should be checked on Array.prototype.concat
...
The test checks Array.concat which is undefined; instead it should check Array.prototype.concat.
2015-05-24 07:59:47 +02:00
Leonardo Balter
479ba6532d
fix case sensitive filenames
2015-05-22 10:56:34 -04:00
Brian Terlson
9861dc2dd1
Merge pull request #277 from bocoup/shorthand-properties
...
Add tests for IdentifierReference as property
2015-05-20 13:12:24 -07:00
Mike Pennisi
202ed9ee1d
Add tests for IdentifierReference as property
...
From the ES6 specification:
> ## PropertyDefinition : IdentifierReference
>
> 1. Let propName be StringValue of IdentifierReference.
> 2. Let exprValue be the result of evaluating IdentifierReference.
> 3. ReturnIfAbrupt(exprValue).
> 4. Let propValue be GetValue(exprValue).
> 5. ReturnIfAbrupt(propValue).
> 6. Assert: enumerable is true.
> 7. Return CreateDataPropertyOrThrow(object, propName, propValue).
2015-05-20 16:08:40 -04:00
Rick Waldron
bf3989be55
Merge pull request #241 from bocoup/set
...
23.2 Set Objects
2015-05-19 12:49:47 -04:00
Rick Waldron
6b3585451a
23.2 Set Objects
...
commit c56030aea7b3e43f46dbbc2b52859ca275cff226
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Thu Apr 30 15:17:44 2015 -0400
Fix nits
commit 9b341022a9fd5a295ce85b630886dae10e10b653
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue Apr 28 13:52:04 2015 -0400
Wrap expected construct failure in assert.throws
commit 9ef7e1c0499a99b15c64bb480dbfa41433cf9804
Author: Mike Pennisi <mike@mikepennisi.com>
Date: Fri Apr 24 13:46:02 2015 -0400
Introduce addition tests for the Set constructor
commit bd54cccf4a599c123fae5c97782f5562cd9da8a0
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Fri Apr 24 15:11:19 2015 -0400
23.2 Set Objects, additions
commit 970e2ca95879161a8bb124ec712f7333fdea6798
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue Apr 21 12:44:41 2015 -0400
23.2 Set Objects
2015-05-19 12:48:52 -04:00
Brian Terlson
cd53869494
Merge pull request #272 from anba/no-strict-tests
...
Enable strict mode for more built-in tests
2015-05-18 14:28:06 -07:00
Brian Terlson
cc2278cbb1
Merge pull request #271 from bterlson/better-negative-length
...
Use a very negative number so ES5 implementations don't loop forever
2015-05-18 12:58:09 -07:00
André Bargull
56036e4064
Enable strict mode for more built-in tests
...
- Remove no longer needed noStrict flags.
- Change tests to use propertyHelper.js for strict mode compatibility.
- Add tests for return value of `delete` operator, e.g. `delete Array.prototype === false`.
- Add non-writable tests for global NaN property.
- Split some tests to run in strict mode.
- Change tests with global `var length` declaration to use a different variable name for browser environments.
- Merge duplicated tests symbol-data-property-configurable-non-strict and symbol-data-property-configurable-strict.
- Merge duplicated tests symbol-data-property-writable-non-strict and symbol-data-property-writable-strict.
- (And a small change in propertyHelper to reduce code duplication in function call.)
2015-05-18 18:01:00 +02:00
Brian Terlson
b56af07567
Merge pull request #269 from suwc/Math_builtins
...
Add new tests for Math built-ins
2015-05-16 11:26:19 -07:00
Brian Terlson
19481d3801
Use a very negative number so ES5 implementations don't loop forever
2015-05-15 15:30:39 -07:00
Brian Terlson
68e6a66353
Merge pull request #270 from edgemaster/patch-1
...
S15.4.4.5_A3.1_T1.js: Fix inconsistent error message
2015-05-15 10:23:17 -07:00
Thomas Wood
af64d5e6de
S15.4.4.5_A3.1_T1.js: Fix inconsistent error message
...
Test for x.join(NaN) reports an error using the content of x.join("NaN"). This is confusing.
2015-05-15 15:05:48 +01:00
Suwei Chen
b6e870d236
Add new tests for Math built-ins
2015-05-14 15:04:00 -07:00
Brian Terlson
5ce9712be0
Python harness: run tests in both modes by default
2015-05-13 18:52:01 -07:00
Brian Terlson
ab44f59d1b
Merge pull request #265 from anba/issue-35/language-eval
...
Fix strict mode errors in language/{identifiers, line-terminators, wh…
2015-05-13 14:43:30 -07:00
Brian Terlson
c4b1e30a42
Merge pull request #266 from anba/issue-35/builtins-rest
...
Fix remaining strict mode errors in built-ins
2015-05-13 14:20:29 -07:00
Brian Terlson
106b935f17
Merge pull request #264 from anba/issue-35/language-non-eval
...
Fix strict mode errors in language
2015-05-13 14:19:32 -07:00
Brian Terlson
5a4cdd0a86
Merge pull request #268 from cshung/update-comment
...
The comment is no longer accurate, updating it
2015-05-12 15:12:43 -07:00
Andrew Au
cbe3b6d8fb
The comment is no longer accurate, updating it
2015-05-11 11:13:23 -07:00
André Bargull
d99503e5ca
Fix remaining strict mode errors in built-ins
...
Add missing noStrict flags and variable declarations.
Part of issue #35 .
2015-05-08 17:40:57 +02:00
André Bargull
9a602905d7
Fix strict mode errors in language/{identifiers, line-terminators, white-space}
...
Make tests strict mode compatible by assigning result value to a separate variable.
Part of issue #35 .
2015-05-08 17:33:33 +02:00
André Bargull
89a4bb5ae4
Fix strict mode errors in language
...
- Add missing "var" declarations and noStrict flags
- Add strict mode tests for:
- arguments-object/10.6-6-3 -> arguments-object/10.6-6-3-s
- arguments-object/10.6-6-4 -> arguments-object/10.6-6-4-s
- Remove try-finally clean-up code
- Add strict mode compatible tests for eval-code/S10.4.2_A1.1_T*
- No strict mode compatible files added for eval-code/S10.4.2_A1.2_T*, because it doesn't really make sense in this context.
- (S10.4.2_A1.1 and S10.4.2_A1.2 should probably be removed, because the tested behaviour is not required by the spec.)
- Split S8.5_A10, S8.5_A4 and S8.1_A3 into declaration (both modes) and assignment tests (non-strict only)
Part of issue #35 .
2015-05-08 17:27:52 +02:00
Brian Terlson
a66c978c5f
Merge pull request #237 from bocoup/generators-semantics
...
Generators semantics
2015-05-07 16:16:09 -07:00
Mike Pennisi
7b969ce65b
Add analogous tests
...
Introduce additional tests to increase parity in coverage between
generator expressions and generator statements.
2015-05-07 19:11:47 -04:00
Mike Pennisi
779a59f30c
Import tests from Google V8 (generators semantics)
...
These tests are derived from the following files within the Google V8
project:
test/mjsunit/es6/generators-iteration.js
test/mjsunit/es6/generators-objects.js
test/mjsunit/es6/generators-runtime.js
test/mjsunit/es6/generators-states.js
2015-05-07 19:11:47 -04:00
Brian Terlson
5188ab028a
Merge pull request #261 from smikes/object-strict
...
strict mode: use new property helpers
2015-05-07 13:15:07 -07:00
Brian Terlson
3218458c25
Merge pull request #262 from smikes/object-strict-pr2
...
Candidate fix of empty catch{}
2015-05-07 13:00:47 -07:00
Brian Terlson
d7ed24653c
Merge pull request #263 from smikes/pr255-fix
...
add line note fixes from #255
2015-05-07 12:59:37 -07:00
smikes
55c1ef113d
add line note fixes from #255
2015-05-07 11:00:25 -06:00
smikes
d869dc6ce3
candidate fix for line note on 259
2015-05-07 10:54:50 -06:00
smikes
71c1a9cb3a
changes from line notes
2015-05-07 10:49:00 -06:00
smikes
6ccabc093b
strict mode: use new property helpers
...
Object.freeze fixes
global object tests: noStrict
preventExtensions tests
Object.seal tests
one more freeze test
2015-05-06 19:03:25 -06:00
Brian Terlson
61cd8c6ad7
Merge pull request #259 from smikes/more-strict-object-property
...
fix tests in strict mode - Object/defineProperty
2015-05-06 14:11:52 -07:00
smikes
26ede592a8
fix tests in strict mode - Object/defineProperty
2015-05-06 13:57:54 -06:00
Brian Terlson
08575d89b7
Merge pull request #255 from smikes/strict-object-property
...
rewrite tests to work in strict mode, use helpers
2015-05-06 12:21:19 -07:00
smikes
d513714fda
update, fix merge conflict
2015-05-02 20:20:47 -06:00
Brian Terlson
9b5a1c1e79
Merge pull request #224 from bocoup/class-syntax
...
14.5 Class Definitions
2015-05-02 11:33:13 -07:00
Rick Waldron
29e2990d9b
14.5 Class Definitions
...
- 14.5.1 Static Semantics: Early Errors
- 14.5.3 Static Semantics: ConstructorMethod
- 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
2015-05-02 14:06:57 -04:00
Brian Terlson
3907f4d5b3
Merge pull request #250 from anba/issue-35/builtins-RegExp
...
Fix strict mode errors in built-ins/RegExp
2015-05-02 10:33:18 -07:00
Brian Terlson
78a3fe4db6
Merge pull request #254 from smikes/strict-object-property
...
make Object / property tests work with testStrict=true
2015-05-02 10:16:08 -07:00
smikes
9824be6825
rewrite tests to work in strict mode, use helpers
2015-05-02 05:12:53 -06:00
Brian Terlson
fc10b8c607
Merge pull request #251 from anba/issue-35/builtins-String
...
Fix strict mode errors in built-ins/String
2015-04-30 09:57:37 -07:00
Brian Terlson
2d2d618b51
Merge pull request #253 from anba/issue-35/builtins-uri-functions
...
Fix strict mode errors in {decode, encode}URI[Component]
2015-04-30 09:52:14 -07:00
Brian Terlson
76958cd940
Merge pull request #252 from anba/issue-35/builtins-global-properties
...
Fix strict mode errors in built-ins/{isFinite, isNaN, parseFloat, parseI...
2015-04-30 09:47:44 -07:00
Brian Terlson
3aa368b07f
Merge pull request #249 from anba/issue-35/builtins-Object
...
Fix some strict mode errors in built-ins/Object
2015-04-30 09:46:03 -07:00