Gorkem Yakin
a5e8ac18c4
Merge pull request #513 from bocoup/runner-deprecate
...
Console Runner: Revert Parallelization and Formally Deprecate
2016-02-25 13:50:26 -08:00
Gorkem Yakin
304dbf0569
Merge 'rwaldron/exponentiation-operator'
2016-02-23 14:25:05 -08:00
Gorkem Yakin
ed32ae6f4a
Convert "info" to "description"
2016-02-23 14:24:08 -08:00
Rick Waldron
e0afd42914
descriptions and info
2016-02-23 16:42:11 -05:00
Rick Waldron
79dfcf3e85
Restore missing object definitions
2016-02-22 19:17:24 -05:00
Rick Waldron
b92e68646d
improved info and description
2016-02-22 16:49:00 -05:00
Rick Waldron
104a134bc2
restore "info"
2016-02-22 16:41:45 -05:00
Gorkem Yakin
57d3e2216f
Merge pull request #491 from bocoup/489-date-constructor
...
Fix location based return value for Date on subclassing tests
2016-02-22 13:18:40 -08:00
Rick Waldron
2a962f74be
id => esid
2016-02-22 14:47:47 -05:00
Rick Waldron
2a112a3190
Exponentiation Operator tests
2016-02-22 14:47:47 -05:00
Leonardo Balter
d9a277aa7c
Fix location based return value for Date on subclassing tests
...
Fixes #489
2016-02-22 13:53:43 -05:00
Gorkem Yakin
fc9bdb7cd5
Merge pull request #516 from bocoup/id-esid
...
s/id/esid
2016-02-22 09:56:03 -08:00
Leonardo Balter
bf782c8421
s/id/esid
...
Fixes #477
2016-02-22 09:47:42 -05:00
Gorkem Yakin
bd33b2b8e5
Merge pull request #509 from bocoup/typedarray-object-set
...
Add tests for _TypedArrays_(object) using object properties
2016-02-19 16:33:40 -08:00
Gorkem Yakin
7d345fc95b
Merge pull request #484 from ljharb/object_get_own_property_descriptors
...
Add Object.getOwnPropertyDescriptors tests
2016-02-19 12:08:37 -08:00
Jordan Harband
a6fad62d7c
Last minute fixes
2016-02-19 11:27:31 -08:00
Gorkem Yakin
07aafd0c63
Merge pull request #505 from anba/intl_name
...
Add coverage for 'name' property of Intl built-in functions
2016-02-19 11:04:38 -08:00
Mike Pennisi
b6a4910eb5
Console Runner: Formally Deprecate
...
Document the console runner's "deprecated" status. Move the
documentation to a less central location in the project's file hierarchy.
2016-02-19 10:49:15 -05:00
Mike Pennisi
3771cb3acc
Revert "Enable parallel test execution in console runner"
...
This reverts commit 7ae29d49aedb82e9d13fca159057e4b37ce36f02.
2016-02-19 10:46:18 -05:00
Mike Pennisi
4dd257d7e6
Revert "Test runner: Avoid race condition"
...
This reverts commit 217812891cd63c20b25379b2cf73f3101416ffe4.
2016-02-19 10:46:17 -05:00
Mike Pennisi
ccf0adfc62
Revert "Runner: Re-use lock to share access to stdout"
...
This reverts commit b791cc4fbec459b2eef502502e44a3d00688e083.
2016-02-19 10:46:14 -05:00
Gorkem Yakin
8dd63de7b6
Merge pull request #496 from bocoup/495-enumerate
...
Update tests for Reflect.enumerate and Proxy enumerate trap
2016-02-18 13:44:50 -08:00
Leonardo Balter
efced6eb32
Add test to assert Reflect.enumerate is now undefined
...
Ref #495
2016-02-18 16:40:00 -05:00
Leonardo Balter
65241f1e93
Add test to assert Proxy enumerate trap is not triggered anymore
...
Ref #495
2016-02-18 16:39:41 -05:00
Leonardo Balter
63c1f1ca88
Remove tests for Reflect.enumerate
...
Ref #495
2016-02-18 15:57:14 -05:00
Leonardo Balter
e223738369
Remove tests for Proxy enumerate
...
Ref #495
2016-02-18 15:57:14 -05:00
Gorkem Yakin
0bd4e9d2ea
Merge pull request #511 from bocoup/typedarray-from-mapfn
...
Fix test for TypedArrays.from on callable function
2016-02-18 12:24:13 -08:00
Leonardo Balter
a61fca93fa
Fix test for TypedArrays.from on callable function
...
TypedArrays constructors are still callable even if they trigger a
TypeError Exception when a new target is not defined
2016-02-18 13:39:49 -05:00
Jordan Harband
6f05b008dc
Encapsulate helper function's helper function
2016-02-17 15:01:26 -08:00
Jordan Harband
59dad9172b
Make proxy traps helper test a bit more robust.
...
Per https://github.com/tc39/test262/pull/484#discussion_r53228232
2016-02-17 12:50:26 -08:00
Jordan Harband
d530c87b41
Create proxyTrapsHelper
to throw on all traps by default.
2016-02-13 15:56:47 -08:00
Leonardo Balter
c82ab8cdbd
Add extra tests for _TypedArrays_(object) using object properties
2016-02-13 03:55:53 -02:00
Gorkem Yakin
dbcc8cadf3
Merge pull request #507 from bocoup/remove-unused-file
...
Remove unused harness file
2016-02-12 17:16:01 -08:00
Gorkem Yakin
834a28cb95
Merge pull request #502 from bocoup/runner-race
...
Avoid Race Conditions in Test Runner
2016-02-12 17:13:51 -08:00
Gorkem Yakin
eeb44cbe09
Merge pull request #500 from bocoup/prms-guard-thenable-opt
...
Promise: Add tests to disallow faulty optimization
2016-02-12 17:06:34 -08:00
Gorkem Yakin
5de18ae0b6
Merge pull request #501 from bocoup/prms-then-ctor-access-count
...
Promise: Add test for constructor access count
2016-02-12 16:54:20 -08:00
Gorkem Yakin
147ff7f741
Merge pull request #499 from bocoup/reorg-annex-b
...
Reorganize tests for Annex B extensions
2016-02-12 16:49:06 -08:00
Gorkem Yakin
428418d5c7
Replace remaining es7id tags with id
2016-02-12 16:27:10 -08:00
Leonardo Balter
ebda746e6a
Replace es7id tags with id
2016-02-12 16:22:56 -08:00
Leonardo Balter
76080eac08
Reuse %TypedArray%.from and .of tests on each TypedArray constructor
2016-02-12 16:02:36 -08:00
Leonardo Balter
048073a29a
Add tests for _TypedArray_.from and of
2016-02-12 16:02:36 -08:00
Leonardo Balter
4388f2869c
Allow call testWithTypedArrayConstructors with a constructors subset
2016-02-12 16:02:36 -08:00
Leonardo Balter
35dce20ec4
Update tests for %TypedArray%.from and of
2016-02-12 16:02:36 -08:00
Gorkem Yakin
02cbd01bfb
Merge pull request #486 from bocoup/object-setprototypeof
...
Add tests for [[SetPrototypeOf]] on immutable prototype exotic objects
2016-02-12 14:59:25 -08:00
Gorkem Yakin
ac7711e95f
Merge pull request #485 from bocoup/typedarray-constructor
...
Add tests for _TypedArray_ constructors
2016-02-12 14:47:48 -08:00
Mike Pennisi
071b5f03c6
Remove unused harness file
...
The harness file `Test262Error.js` has not contained executable code since it
was introduced in this project [1]. The definition of the `Test262Error`
function has consistently been located in the `sta.js` harness file which test
runners are expected to inject into the test environment.
Remove the file and all references to it.
[1] See commit c33bf0e0439e6f6bf084c1524d7df8d2b41c515d
2016-02-12 13:44:18 -05:00
André Bargull
31a9036e9b
Add coverage for 'name' property of Intl built-in functions
2016-02-12 18:58:57 +01:00
Leonardo Balter
df2d760d60
Add tests for Object.prototype extensibility and its immutable prototype
...
Object.prototype is extensible and an immutable prototype exotic object,
it's [[Prototype]] value is null
Ref tc39/ecma262#308
2016-02-12 13:10:46 -02:00
Mike Pennisi
b791cc4fbe
Runner: Re-use lock to share access to stdout
...
When executing multiple tests in parallel, each "child" thread would
write to the process's standard output buffer immediately upon test
completion. Because thread execution order and instruction interleaving
is non-deterministic, this made it possible for characters to be emitted
out-of-order.
When extended to support multiple concurrent threads, the runner was
outfitted with a "log lock" dedicated to sharing access to the output
file (when applicable). Re-use this lock when writing to standard out,
ensuring proper ordering of test result messages.
2016-02-10 17:15:49 -05:00
Mike Pennisi
217812891c
Test runner: Avoid race condition
...
A recent extension to the test runner introduced support for running
tests in parallel using multi-threading. Following this, the runner
would incorrectly emit the "final report" before all individual test
results.
In order to emit the "final report" at the end of the output stream, the
parent thread would initialize all children and wait for availability of
a "log lock" shared by all children.
According to the documentation on the "threading" module's Lock object
[1]:
> When more than one thread is blocked in acquire() waiting for the state
> to turn to unlocked, only one thread proceeds when a release() call
> resets the state to unlocked; which one of the waiting threads proceeds
> is not defined, and may vary across implementations.
This means the primitive cannot be used by the parent thread to reliably
detect completion of all child threads.
Update the parent to maintain a reference for each child thread, and to
explicitly wait for every child thread to complete before emitting the
final result.
[1] https://docs.python.org/2/library/threading.html#lock-objects
2016-02-10 16:47:01 -05:00