rwaldron
4b54d54113
Fix copyrights and features metadata
2021-07-28 13:53:12 -04:00
Wenlu Wang
41e946d00b
Fix format
2021-07-28 13:51:38 -04:00
Wenlu Wang
642a180e62
Fix minor typo
2021-07-28 13:51:38 -04:00
Wenlu Wang
f354da8ba4
Add typedarray findLastIndex
2021-07-28 13:51:38 -04:00
Wenlu Wang
cb54d119e3
Add typedarray find last tests
2021-07-28 13:51:37 -04:00
Wenlu Wang
6c5e421806
Add unscopable tests
2021-07-28 13:51:37 -04:00
Wenlu Wang
a4aeea09ae
Avoid useless spec statement
2021-07-28 13:51:37 -04:00
Wenlu Wang
3bb6d6480e
Add findLastIndex tests
2021-07-28 13:51:37 -04:00
Wenlu Wang
275e7f1595
Add tests for proposal array find from last
2021-07-28 13:51:37 -04:00
Mike Pennisi
8428e70367
Correct tests and improve documentation
2021-07-28 11:04:49 -04:00
Mike Pennisi
375cf1a40c
Correct typo in expected value
2021-07-28 11:02:54 -04:00
Rick Waldron
6e2a29417a
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Function ( #3083 )
2021-07-22 10:31:45 -07:00
Rick Waldron
f37edcb486
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Error ( #3081 )
2021-07-21 14:26:19 -07:00
Rick Waldron
2c3300312e
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Number ( #3089 )
2021-07-21 14:25:53 -07:00
Rick Waldron
b0e791f4a6
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Date ( #3079 )
2021-07-21 14:14:06 -07:00
Rick Waldron
d558af3ac0
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/String ( #3093 )
2021-07-21 13:36:17 -07:00
Michael Dyck
82e0487797
"Normalize" some YAML
...
In each case, it's the scalar value associated with the "description" key.
Normally in test262, this is written in either:
- block notation (indicated by '>' or '|'), or
- flow notation, single-line, on the same line as the key.
In the cases addressed by this PR, the value is instead written in:
- (1x) flow notation, *multi*-line, or
- (2x) flow notation, single-line, on the line *after* the key.
These are valid YAML, but they're styles that test262 doesn't otherwise use,
so could conceivably confuse people or harnesses.
This PR changes them to block notation.
2021-07-21 16:34:04 -04:00
Leo Balter
ae0cf675bf
Update test/built-ins/eval/no-construct.js
2021-07-21 16:33:48 -04:00
rwaldron
a6a06d263a
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/eval
2021-07-21 16:33:48 -04:00
Rick Waldron
826b6ae16f
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise ( #3091 )
2021-07-21 12:48:13 -07:00
Rick Waldron
6230065d07
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/isFinite,isNaN ( #3086 )
...
* chore: migrate $ERROR -> throw new Test262Error in test/built-ins/isFinite,isNaN
* Update test/built-ins/isFinite/S15.1.2.5_A2.7.js
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
* Update test/built-ins/isNaN/S15.1.2.4_A2.7.js
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2021-07-21 12:41:06 -07:00
Rick Waldron
1a30a69d12
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/decode*,test/built-ins/encode* ( #3080 )
2021-07-21 12:37:52 -07:00
Rick Waldron
e4c53bef51
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Math ( #3088 )
2021-07-21 12:10:32 -07:00
Rick Waldron
a101757ca1
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/global ( #3084 )
2021-07-21 12:09:22 -07:00
Rick Waldron
02733c5af4
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Infinity ( #3085 )
2021-07-21 12:07:41 -07:00
Rick Waldron
0fce065601
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/JSON ( #3087 )
2021-07-21 11:57:35 -07:00
Rick Waldron
a912ae03a5
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Boolean ( #3078 )
2021-07-21 11:55:36 -07:00
Rick Waldron
1ec7056f38
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Atomics ( #3077 )
2021-07-21 11:53:58 -07:00
Rick Waldron
99ab8cce08
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Array ( #3071 )
2021-07-21 11:53:23 -07:00
Leo Balter
d19534c3ce
Add a few tweaks
2021-07-21 09:21:09 -04:00
Leo Balter
b4ff2c76bc
Add test for Realm's @@toStringTag
2021-07-21 09:21:09 -04:00
rwaldron
c778494922
fix: correction to broken test meta data
2021-07-21 09:21:09 -04:00
rwaldron
45495094e2
fix: updates per review
2021-07-21 09:21:09 -04:00
rwaldron
bb0ad134f5
fix: use verifyProperty
2021-07-21 09:21:09 -04:00
rwaldron
29cb47e376
fix: correct capitalization
2021-07-21 09:21:09 -04:00
rwaldron
a6b2aecaab
fix: use verifyProperty
2021-07-21 09:21:09 -04:00
rwaldron
d29fba05f9
fix: add missing newline at end of files, add missing frontmatter
2021-07-21 09:21:09 -04:00
rwaldron
c94b4ee7e1
fix typo
2021-07-21 09:21:09 -04:00
rwaldron
a303e07a12
test: import value, non-existant binding
2021-07-21 09:21:09 -04:00
rwaldron
80f162d174
fix: empty the lint trap
2021-07-21 09:21:09 -04:00
rwaldron
843b1baf7b
tests: Realm.prototype.importValue semantics
2021-07-21 09:21:09 -04:00
rwaldron
8b7c610232
tests: Realm.prototype.evaluate validate realm object
2021-07-21 09:21:09 -04:00
rwaldron
4c98d138b9
fix: Realm.prototype.evaluate semantics
2021-07-21 09:21:09 -04:00
rwaldron
b2f34c0894
tests: Realm.prototype.evaluate semantics
2021-07-21 09:21:09 -04:00
rwaldron
935d08814e
tests: Realm.prototype.evaluate, Realm.prototype.importValue
2021-07-21 09:21:09 -04:00
Linus Groh
0efd2a3baa
Rename all uses of Temporal.now to Temporal.Now ( #3069 )
...
See: https://github.com/tc39/proposal-temporal/commit/d0acb66
2021-07-20 15:06:31 -04:00
jugglinmike
a92327395c
Correct errors in SharedArrayBuffer tests ( #3040 )
...
* Correct errors in SharedArrayBuffer tests
* fixup! Correct errors in SharedArrayBuffer tests
2021-07-16 09:31:00 -04:00
jugglinmike
162e8be99f
Add tests for Temporal.now.plainDateTime ( #3037 )
...
* Temporal.now.plainDateTime: import tests from prop
* Add required metadata
* Correct invalid test
Ensure the error is thrown due to the invocation of the provided method.
Add a separate test to verify how the method is invoked.
* Remove duplicated assertions
* Improve coverage
* Rewrite test to focus on Calendar parameter
The observable interactions with the "timeZone" parameter are verified
by another test which is named for that purpose.
* Remove non-standard test
This test's title suggests that it was intended to verify the behavior
when the "calendar" parameter was undefined. The expected behavior in
that case depends on the presence of a builtin calendar named
"undefined." Test262 cannot definitively assert the presence or absence
of such a calendar.
In contrast to the title, the test body actually uses the calendar name
"japanese." Test262 cannot definitively assert the presence or absence
of such a calendar.
2021-07-16 09:25:55 -04:00
Frank Yung-Fong Tang
f1f3a2d542
Add test for 12.4.21 of Temporal ( #3036 )
...
* Add test for 12.4.21 of Temporal
12.4.21 Temporal.Calendar.prototype.fields ( fields )
https://tc39.es/proposal-temporal/#sec-temporal.calendar.prototype.fields
@sffc @Ms2ger @ryzokuken @ljharb
* move to the right file
* remove from wrong place
2021-07-13 19:39:07 -04:00
jugglinmike
aaf4402b4c
Add tests for Temporal.now.instant ( #3031 )
2021-06-29 11:45:42 -04:00