Commit Graph

3637 Commits

Author SHA1 Message Date
Jon Coppeard a0fbe4aa9a Fix a couple of minor issues in dynamic-import tests 2018-11-22 17:54:39 +00:00
Leo Balter 22ecf21b38
Merge pull request #1958 from tc39/atomics-waitUntil-fix
harness: make $262.agent.waitUntil check if a typed array can be shared before proceeding.
2018-11-20 16:15:45 -05:00
Rick Waldron e91645c812 Atomics: (bigint) initialize BigInt64Array before calling $262.agent.start(string-of-program-code) 2018-11-20 15:57:39 -05:00
Rick Waldron 8793bf5d57 Atomics: fix running index in notify-with-no-matching-agents-waiting.js
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.

Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md, there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:18:14 -05:00
Rick Waldron e4883091b9 Introduce $262.agent.safeBroadcast and migrate Atomics tests.
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.

Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md, there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:17:47 -05:00
test262-automation 62c7ae853f [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 3a8c8082 targetRevisionAtLastExport: 9166165df7
2018-11-16 19:00:57 +00:00
test262-automation bb9647dd4b [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 3a8c8082 on Fri Nov 16 2018 19:00:23 GMT+0000 (Coordinated Universal Time) 2018-11-16 19:00:53 +00:00
test262-automation 69e376e835 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 0cfa6086eb targetRevisionAtLastExport: 89489cb6f5
2018-11-16 19:00:18 +00:00
test262-automation 5ccad79611 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 0cfa6086eb on Fri Nov 16 2018 18:57:37 GMT+0000 (Coordinated Universal Time) 2018-11-16 19:00:14 +00:00
test262-automation 2726142bb9 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: ac250b9b targetRevisionAtLastExport: 6218e682b2
2018-11-15 15:28:24 -05:00
test262-automation 90cbd48a65 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha ac250b9b on Wed Nov 14 2018 18:59:57 GMT+0000 (Coordinated Universal Time) 2018-11-15 15:28:24 -05:00
test262-automation 9f01202c28 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 38e0e5eed1 targetRevisionAtLastExport: 33df80e9ad
2018-11-15 15:28:12 -05:00
test262-automation b5e3ebf85f [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 38e0e5eed1 on Wed Nov 14 2018 18:57:07 GMT+0000 (Coordinated Universal Time) 2018-11-15 15:28:12 -05:00
Ms2ger ba6a483c43 Intl.Segmenter: Fix copy/paste errors in tests for valid options. 2018-11-15 10:04:28 -05:00
Leo Balter c7a1edb036
Merge pull request #1948 from leobalter/fix-test-gen
Update generated tests
2018-11-15 08:51:00 -05:00
Leo Balter 028d76e551 Generate tests 2018-11-14 09:37:26 -05:00
Leo Balter 8b597d4550 Update test template for dynamic import, use DONOTEVALUATE 2018-11-14 09:19:15 -05:00
Leo Balter f7f845ce6f Update tests with DONOTEVALUATE 2018-11-14 09:19:15 -05:00
Leo Balter 238c88d4a0 Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter e97412ebe3 Review feedback 2018-11-13 20:21:32 -05:00
Leo Balter 10dc6ff75a Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter 50601e7aad Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter b2dba73312 Rename targets in templates for class elements
Also remove the onlyStrict restriction as the class body is always on strict mode and
the failures are still valid
2018-11-13 20:21:32 -05:00
test262-automation 5804ae959b [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: b85a66fba6 targetRevisionAtLastExport: 6059c1c526
2018-11-13 20:20:12 -05:00
test262-automation 23dc1e1d43 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha b85a66fba6 on Tue Nov 13 2018 18:55:51 GMT+0000 (Coordinated Universal Time) 2018-11-13 20:20:12 -05:00
test262-automation 5da519e25d [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f4a586f0 targetRevisionAtLastExport: 43cce788bd
2018-11-13 20:19:55 -05:00
test262-automation cab3837aff [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f4a586f0 on Mon Nov 12 2018 18:57:21 GMT+0000 (Coordinated Universal Time) 2018-11-13 20:19:55 -05:00
Leo Balter dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Rick Waldron 6a33901762
Merge pull request #1945 from adrianheine/typo
Fix typo (disinct -> distinct)
2018-11-12 09:56:04 -05:00
Rick Waldron f5e7600492
Merge pull request #1944 from test262-automation/v8-test262-automation-export-713af1bb14
Import test changes from V8
2018-11-12 09:55:23 -05:00
Adrian Heine 4f085d7b8f Fix typo (disinct -> distinct) 2018-11-10 10:50:21 +01:00
test262-automation cc0c7030c6 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: d540724b targetRevisionAtLastExport: 713af1bb14
2018-11-09 18:56:22 +00:00
test262-automation 43cce788bd [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha d540724b on Fri Nov 09 2018 18:55:42 GMT+0000 (Coordinated Universal Time) 2018-11-09 18:56:19 +00:00
Kevin Gibbons 8ed9947df1 add async-iteration flag (#1942) 2018-11-08 15:32:40 -05:00
Rick Waldron deea398316
Merge pull request #1940 from test262-automation/javascriptcore-test262-automation-export-81663e4556
Import test changes from JavaScriptCore
2018-11-08 15:12:25 -05:00
Rick Waldron be542e801a
Merge pull request #1941 from test262-automation/v8-test262-automation-export-04839204ac
Import test changes from V8
2018-11-08 15:12:15 -05:00
test262-automation da7f64e1cb [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 010b5d67 targetRevisionAtLastExport: 04839204ac
2018-11-08 18:55:32 +00:00
test262-automation 713af1bb14 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 010b5d67 on Thu Nov 08 2018 18:54:43 GMT+0000 (Coordinated Universal Time) 2018-11-08 18:55:29 +00:00
test262-automation 45827f9a8a [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 5ec2ecf1e4 targetRevisionAtLastExport: 81663e4556
2018-11-08 18:54:39 +00:00
test262-automation 6059c1c526 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 5ec2ecf1e4 on Thu Nov 08 2018 18:51:29 GMT+0000 (Coordinated Universal Time) 2018-11-08 18:54:34 +00:00
Rick Waldron 678b6b656b
Merge pull request #1934 from leobalter/private-methods-delete
Add cases for early error deleting private names
2018-11-08 10:15:10 -05:00
Rick Waldron 87202773fd
Merge pull request #1938 from adrianheine/promise
Add missing mandatory Promise.{all,race} argument
2018-11-08 09:32:25 -05:00
Rick Waldron c4cca0b769
Merge pull request #1937 from ryzokuken/dtf-constructor-options-toobject
intl: increase coverage for DateTimeFormat
2018-11-08 09:25:28 -05:00
Rick Waldron b1e15cd326
Merge pull request #1923 from bakkot/less-regex-eval
Reduce uses of `eval` for regex literal syntax
2018-11-08 09:18:48 -05:00
Rick Waldron 9d2ae66ac5
Merge pull request #1936 from ryzokuken/dtf-constructor-options-default
intl: increase coverage for DateTimeFormat
2018-11-08 09:16:51 -05:00
Adrian Heine fc6de76a0d Add missing mandatory Promise.{all,race} argument 2018-11-08 09:37:56 +01:00
Ujjwal Sharma 0fc80cffc5
intl: increase coverage for DateTimeFormat
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that confirms that ToObject(...) is appropriately called inside the
implementation.
2018-11-08 11:55:52 +05:30
Ujjwal Sharma 46515dcb19
intl: increase coverage for DateTimeFormat
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that checks for the default values.
2018-11-08 11:37:02 +05:30
Leo Balter ab540afaa1 Generate tests 2018-11-07 18:14:37 -05:00
Leo Balter 0575d4d7a8 Add cases for early error deleting private names 2018-11-07 18:14:37 -05:00