Rick Waldron
0e7319c015
atomicsHelper.js: Add $262.agent.setTimeout to defines
2020-10-19 17:48:00 -04:00
Rick Waldron
6d8ab9c35e
Coverage: more Atomics.waitAsync tests, fixes, improved messages.
2020-10-08 17:25:45 -04:00
Rick Waldron
04517c7ded
Remove erroneous ArrowFunction
2020-10-07 16:43:48 -04:00
Rick Waldron
8aacff591c
Standardize built-in constructor testing
2020-10-06 12:01:34 -04:00
Rick Waldron
8250b886b0
Create "Test262Error.thrower" as replacement for "$ERROR". Define $ERROR as Test262Error.thrower
2020-09-16 17:36:54 -04:00
Yusuke Suzuki
e8cdf923ef
Property clearing code of RegExp constructor is wrong
...
This code is setting values to $1 etc., which can be non-writable or accessors.
For example, https://github.com/tc39/proposal-regexp-legacy-features/ is specifying them as accessors, and they should throw an error when
it is done in strict code. We should execute `(/(?:)/).test("");` to clear them.
2020-09-02 15:32:18 -04:00
Alexey Shvayka
9e75c60028
Gracefully handle nullish arguments in harness/compareArray
2020-08-31 15:17:24 -04:00
Richard Gibson
24c6732806
Revert "Improve assert.throws output"
...
This reverts commit 2f9392f288
.
2020-08-21 15:58:21 -04:00
Richard Gibson
6207a8058a
Improve assert.throws output
2020-08-21 15:58:21 -04:00
Richard Gibson
93ff9b7262
Replace incorrect use of $DONOTEVALUATE
2020-08-21 15:58:21 -04:00
Richard Gibson
46e26a99a6
Add requirement distinguishing $DONOTEVALUATE from Test262Error
2020-08-21 15:58:21 -04:00
Gus Caplan
5f99d05c6a
native function validator for your consideration
2020-08-04 19:44:31 -04:00
Gus Caplan
156186aee2
New NativeFunction tests
2020-08-04 19:44:31 -04:00
Leo Balter
5a01caed71
Add feature tag for cleanupSome
...
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Leo Balter
2e127ec40e
Rename usage of master to main
...
Ref #2699
2020-07-15 15:47:15 -04:00
Frank Tang
3c89cde3e0
Intl.DisplayNames make type required
...
Update the tests to the latest version after we make
the type option now required
Spec:
https://tc39.es/proposal-intl-displaynames/
Changes of spec:
https://github.com/tc39/proposal-intl-displaynames/pull/76
https://github.com/tc39/proposal-intl-displaynames/pull/83
2020-07-10 19:19:34 -07:00
Rick Waldron
529cff8ee6
Atomics: corrections
2020-06-24 12:26:41 -04:00
Rick Waldron
7e603ae236
Atomics: fix mispelled harness function name
2020-06-24 12:26:41 -04:00
Rick Waldron
11a1eabcc6
Atomics.load will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
André Bargull
649d0d2c9a
Update list of non-algorithmic numbering systems
...
Per https://github.com/tc39/ecma402/pull/438
2020-06-24 12:11:36 -04:00
Alexey Shvayka
fd90d58f05
Change `alphanum` to character class
...
Co-Authored-By: Ross Kirsling <rkirsling@gmail.com>
2020-04-29 17:22:05 -04:00
Alexey Shvayka
d3b3e5e586
Make `alphanum` a non-capturing group
2020-04-29 17:22:05 -04:00
Alexey Shvayka
4371e3ae36
Remove unnecessary capture group
2020-04-29 17:22:05 -04:00
Alexey Shvayka
af05e8e4f7
Revert "Simplify alphanum regex in testIntl.js"
...
This reverts commit d57bd9d4bd
.
2020-04-29 17:22:05 -04:00
Ross Kirsling
d57bd9d4bd
Simplify alphanum regex in testIntl.js
2020-04-23 10:47:32 -04:00
Rick Waldron
127fa27720
Atomics: remove erroneous argument from getReport() in harness/atomicsHelper.js
2020-04-23 10:32:55 -04:00
Rick Waldron
e9ee3dcd62
Atomics: add setTimeout, getReportAsync & safeBroadcastAsync to harness/atomicsHelper .js
2020-04-23 10:32:55 -04:00
André Bargull
a52517464f
Add Unicode and Transformed extension canonicalisation
...
Generated using the make_intl_data.py script.
2020-04-09 09:20:55 -04:00
André Bargull
1c93566e66
Update language tag mappings to CLDR 36.1
...
Generated using the make_intl_data.py script.
2020-04-09 09:20:55 -04:00
André Bargull
756ee6a171
Update list of numbering systems
2020-04-09 09:20:55 -04:00
André Bargull
7556d59fe7
Update list of Intl service constructors
...
Add RelativeTimeFormat, ListFormat, and DisplayNames to the list of Intl
service constructors.
2020-04-09 09:20:55 -04:00
Shu-yu Guo
966fc11862
Migrate FinalizationRegistry tests to per-item callback API
2020-04-01 16:45:40 -04:00
Alexey Shvayka
96cf75770e
Harness: properly format negative zero
2020-03-25 12:03:05 -04:00
Alexey Shvayka
ad046ceddd
Avoid using Array.isArray directly
2020-03-25 11:59:43 -04:00
Alexey Shvayka
79146e5cf4
Bring back `verifyProp` param to `isWritable`
2020-03-23 18:19:01 -04:00
Alexey Shvayka
2abfc8cf9d
Remove unused `verifyProp` paramter from `isWritable`
2020-03-23 14:49:12 -04:00
Alexey Shvayka
86b94099ad
Increase unlikely array length
2020-03-23 14:49:12 -04:00
Alexey Shvayka
17fc10942e
Fix isWritable throwing RangeError on Array "length"
2020-03-23 14:49:12 -04:00
Daniel Ehrenberg
c6dd620ad3
Rename FinalizationGroup to FinalizationRegistry
...
Corresponds to https://github.com/tc39/proposal-weakrefs/pull/183
(Note, this is untested)
2020-02-20 12:13:29 -05:00
Leo Balter
6b66b82d88
Cleanup compareArray and deepEqual assertions, remove assert._formatValue
...
Fixes #2372
2019-10-09 17:57:10 -04:00
Leo Balter
d49777de27
Whitespace cleanups. CRLF => LF
2019-10-08 20:44:09 -04:00
Mike Pennisi
a9111d7144
lint: add rule to verify use of harness files
...
Verify that every test file which references a harness file using the
"includes" directive also contains at least one reference to a value
defined in the harness file.
To support this check, extend each harness file with a list of values
which it defines.
2019-09-25 14:00:50 -04:00
jugglinmike
ce2dfd49d1
Correct bug in property helper ( #2364 )
...
Allow the property helper to be used to verify the configurability of
the global "Object" property.
2019-09-24 16:05:30 -04:00
Leo Balter
a03455a080
Uncomment lines ( #2360 )
...
Ref #2353
This uncomment lines meant to be in the code for the graceful end of the async GC executions.
2019-09-23 13:49:32 -03:00
Leo Balter
3bfb341203
Fixes after test feedback
2019-09-23 12:26:02 -04:00
Leo Balter
08844700fe
Update tests for GC hook, apply async
...
- Fix incorrect tests for WeakRefs
Ref #2239
Fixes #2260
Fixes #2256
2019-09-23 12:26:02 -04:00
Leo Balter
0fd3cf4d24
Some cleanup follow ups ( #2351 )
2019-09-18 14:15:53 -03:00
Ron Buckton
1056d8fde9
Add tests for regexp-match-indices ( #2309 )
...
* Add tests for regexp-match-indices
* Add tests for unicode matches based on presence of /u flag
* Added deepEqual helper, PR feedback
2019-09-18 13:39:12 -03:00
Alexey Shvayka
4edbad060e
Gracefully handle errors from ToString in harness/assert ( #2343 )
...
* Introduce `assert._toString`
* Use `assert._toString` in `assert`
* Use `assert._toString` in `assert.sameValue`
* Use `assert._toString` in `assert.notSameValue`
2019-09-18 13:25:38 -03:00
Alexey Shvayka
127c896cf2
Format symbols
2019-08-24 13:35:51 +03:00