Rick Waldron
b11c1607c0
Coverage: Object.assign, Assignment to readonly property of target must throw a TypeError exception. Fixes gh-2788
2020-09-17 16:21:26 -04:00
Rick Waldron
fd26fc17ea
Refactor: built-ins/FinalizationRegistry/gc-has-one-chance-to-call-cleanupCallback.js
...
Per recommendation here: https://github.com/web-platform-tests/wpt/pull/25496/files#r488316588
2020-09-17 10:00:02 -04:00
Rick Waldron
1cd7d87501
Object.defineProperty: Property description must be an object. Fixes gh-1754
2020-09-17 09:59:31 -04:00
Rick Waldron
db5b9c1dd9
Object.defineProperties: Property description must be an object. Fixes gh-1754
2020-09-17 09:59:31 -04:00
Rick Waldron
e662428fb4
Replace all "valid" occurences of $ERROR with Test262Error.thrower
2020-09-16 17:36:54 -04:00
Rick Waldron
f94fc660cc
Array#shift throws TypeError if this value's "length" property was defined with [[Writable]]: false. Fixes gh-2773
2020-09-15 16:35:11 -04:00
Rick Waldron
58559ddddd
Coverage: Number.prototype.toPrecision throws a RangeError if precision cannot be coerced to a number in range. Fixes gh-2765
2020-09-14 13:36:22 -04:00
Rick Waldron
7f518f7d38
Fixup Map: add proper esid
2020-09-14 13:35:13 -04:00
Frank Tang
ab3a86d9b3
Move tests from
...
https://source.chromium.org/chromium/chromium/src/+/master:v8/test/test262/local-tests/
2020-09-14 13:35:13 -04:00
Alexey Shvayka
323905b70e
Improve RegExp.prototype[@@replace] poisoned stdlib test
2020-09-10 16:24:23 -04:00
Alexey Shvayka
d10446a5e4
Promise.prototype.finally calls PromiseResolved: add rejected promise test
2020-09-10 16:23:12 -04:00
Alexey Shvayka
a841f07a11
Promise.prototype.finally calls PromiseResolved: add resolved promise test
2020-09-10 16:23:12 -04:00
Rick Waldron
d9a6a03ffc
String.prototype.split: Add features meta data
2020-09-10 15:28:00 -04:00
Alexey Shvayka
7a56df1119
Test that Date.prototype has no [[DateValue]] slot
2020-09-10 15:27:34 -04:00
Alexey Shvayka
9aef4bd5eb
Test that Error.prototype has no [[ErrorData]] slot
2020-09-10 15:27:34 -04:00
Alexey Shvayka
afd849ad29
Test "length" [[Value]] overflow check order in ArraySetLength
2020-09-09 14:40:23 -04:00
Alexey Shvayka
d993d87766
Test "length" [[Value]] coercion order in ArraySetLength
2020-09-09 14:40:23 -04:00
Alexey Shvayka
38f3014063
Test Date.prototype[@@toPrimitive] called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
b15c3a5b79
Test Date.prototype.toJSON called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
87398ac935
Test Error.prototype.toString called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
54ef2ae71d
Test RegExp.prototype.toString called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
9857b124c0
Test Array.prototype methods called as top-level functions
2020-09-09 14:34:20 -04:00
Rick Waldron
1c22e0b2f2
Atomics: fix test info contents to match definition as it appears in ES2020. Fixes gh-2721
2020-09-04 09:32:55 -04:00
Alexey Shvayka
c64db438df
Test [[Set]] failure near integer limit in Array.prototype.push
2020-09-02 15:30:33 -04:00
Rick Waldron
896994413c
Missing coverage for Object.defineProperty method. Fixes gh-2660 ( #2738 )
2020-08-31 12:59:07 -07:00
Richard Gibson
93ff9b7262
Replace incorrect use of $DONOTEVALUATE
2020-08-21 15:58:21 -04:00
Richard Gibson
4f126a8ce9
Test the sequence of potentially abrupt steps in String.prototype.split
2020-08-21 15:58:21 -04:00
Richard Gibson
2dd3e50064
Fix confusing comment text
2020-08-21 15:58:21 -04:00
Alexey Shvayka
e0a65ee75e
Add %GeneratorFunction.prototype% test
2020-08-20 12:52:25 -04:00
Alexey Shvayka
fd91dd1e0e
Add %AsyncGeneratorFunction.prototype% test
2020-08-20 12:52:25 -04:00
Alexey Shvayka
34fb6c4374
Add %AsyncFunction.prototype% test
2020-08-20 12:52:25 -04:00
Alexey Shvayka
36f73c6142
Add Function.prototype.length property descriptor test
2020-08-20 12:39:28 -04:00
Alexey Shvayka
51fac5f93b
Rename & improve large target function "length" test
2020-08-20 12:38:45 -04:00
Alexey Shvayka
8fbe2f82ef
Test default value of bound function "length" property
2020-08-20 12:38:45 -04:00
Alexey Shvayka
53d8d9d394
Merge & improve remaining arguments tests
2020-08-20 12:38:45 -04:00
Alexey Shvayka
233ca721f5
Test ToInteger performed on "length" value of target function
2020-08-20 12:38:45 -04:00
Alexey Shvayka
f80d7e7777
Merge & refactor bound function "length" property descriptor tests
2020-08-20 12:38:45 -04:00
Alexey Shvayka
897a05954f
Test "length" property descriptor of Function.prototype.bind
2020-08-20 12:38:45 -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
Jordan Harband
4203041cef
Add tests for `Reflect[Symbol.toStringTag]` ( #2710 )
...
Ref https://github.com/tc39/ecma262/pull/2057
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-20 13:23:56 -07:00
Leo Balter
2e127ec40e
Rename usage of master to main
...
Ref #2699
2020-07-15 15:47:15 -04:00
Leo Balter
b9e4010b20
Fix language in test file ( #2700 )
2020-07-13 15:01:38 -07:00
QuXing9
91a9abff4e
Add three testcases for test262 suite. ( #2692 )
...
* Add tests for escape function when parameter is not a string.
Fixes #2687
Fixes #2637
* Add test for indirect eval calls when script is a for statement.
When for statement doesn't have a body, it should throw a SyntaxError.
Fixes #2661
* Add tests for Function Constructor when body contains usestrict.
Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
Rick Waldron
d3c693bdfe
AggregateError: update args order evaluation ( #2647 )
...
Fixes #2646
2020-07-08 12:13:36 -07:00
Leo Balter
bc433f1e1c
Fix typo in the tests for waitAsync
...
Fixes #2689
2020-07-08 13:46:07 -04:00
Alexey Shvayka
c472aeea4b
Use $DONE instead of $ERROR to avoid unhandled rejections
2020-07-07 11:16:04 -07:00
Alexey Shvayka
739c4cd78d
Remove duplicate of "subclass-species-constructor-resolve-count.js"
2020-07-07 11:16:04 -07:00
Gus Caplan
fe3ad55d80
add missing Promise.any features ( #2686 )
2020-07-01 10:33:56 -07:00