Richard Gibson
3fd4ec27f1
[immutable-arraybuffer] Changes to existing ArrayBuffer.prototype properties ( #4540 )
2025-08-27 19:23:40 -04:00
Ms2ger
a07e038f37
CI: run harness tests ( #4565 )
2025-08-27 15:41:26 +00:00
Ms2ger
6f74a55277
Fix c/p errors in String#{is,to}WellFormed tests
2025-08-27 12:15:53 +02:00
Richard Gibson
c185485452
[immutable-arraybuffer] DataView.prototype.set$Type
2025-08-25 15:24:20 -07:00
Philip Chimento
04eaeb9908
Temporal: Coverage for blank durations
...
Many methods did not test what happened when an input or return value
was a blank (all fields 0) duration. This adds coverage for those code
paths.
2025-08-25 11:56:33 +02:00
Michael Ficarra
b947715fdd
update Iterator Sequencing tests to reflect May 2025 plenary updates
2025-08-22 16:06:55 +02:00
Philip Chimento
5048ca6383
Temporal: Add tests for observable order of options get and cast
...
These tests cover the normative change approved in the July 2025 TC39
plenary. See https://github.com/tc39/proposal-temporal/pull/3130 .
All properties of user-passed options objects should be read and cast
before any "algorithmic validation" is done.
This is a lot of tests, that cover every entry point where an options
object is passed in, where subsequently an exception can be thrown or user
code can be called.
However, the normative change only affects 10 of these tests:
- Instant.p.since,until,toString
- PlainDate.p.since,until
- PlainTime.p.since,until
- PlainYearMonth.p.since,until
- ZonedDateTime.p.toString
The other 35 tests simply close a gap in coverage.
2025-08-21 12:01:52 -07:00
Philip Chimento
a9ac87d317
Temporal: Fix canonicalizeCalendarEra to deal with era-less calendars
...
Previously the table of calendar eras incorrectly included eras for
calendars that didn't have them. The function that consumed the data
needed to be rewritten to handle the new situation of calendars not
appearing in the table.
2025-08-21 11:37:06 +02:00
Philip Chimento
4fbe8a72f2
Temporal: Add more calendars and eras to non-positive-era-year.js
2025-08-21 11:37:06 +02:00
Philip Chimento
eeb14d0ce7
Temporal: Fix reliance on "-inverse" era name
...
Inverse eras are no longer named with the "-inverse" suffix. Rewrite the
code that relied on that.
2025-08-21 11:37:06 +02:00
Philip Chimento
51cfd7fbd5
Temporal: Fix old era name
...
Primary eras are no longer named after calendar IDs.
2025-08-21 11:37:06 +02:00
Philip Chimento
957edc6612
Temporal: Remove islamic-rgsa calendar test
...
Replace it with a similar test to islamic-calendar-islamic.js, which
tests that the calendar is not supported in Temporal APIs.
2025-08-21 11:37:06 +02:00
Philip Chimento
253f537577
Temporal: Fix ReferenceError in test
...
Accidentally deleted too much :)
2025-08-21 11:37:06 +02:00
Philip Chimento
1588705cc5
Temporal: Add coverage for BubbleRelativeDuration called with time unit
...
See: tc39/proposal-temporal#3121
A type assertion in the spec was incorrect, but the assertion wasn't hit
in the Firefox implementation in any test262 test. These three tests add
coverage for all the paths that would have hit that assertion.
2025-08-20 18:02:05 +02:00
Daniel Minor
d0cb9f80f7
Add symbols-as-weakmap-keys to features
2025-08-19 17:21:01 +02:00
Manish Goregaokar
baa48a416c
Fix up calendar tests that rely on eras ( #4558 )
...
* Fix up calendar tests that rely on eras
* remove islamic
2025-08-18 17:55:59 -07:00
Shu-yu Guo
f4864f76b2
[top-level-await] Sync implementation with spec text
...
The module evaluation machinery has undergone non-trivial refactoring
since implementation. Sync up the comments and code for maintenance.
Notably,
- Actually use the kEvaluatingAsync status (previously conflated under
kEvaluated)
- [[IsAsyncEvaluating]] -> [[IsAsyncEvaluation]]
- GatherAsyncParentCompletions -> GatherAvailableAncestors
- async -> has_toplevel_await
- kAsyncModule -> kModuleWithTopLevelAwait
Bug: 347060515
Change-Id: Ia2c35d5b42ee9f58db841cdfcaef9d17b018c9c6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5636701
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#94591}
2025-08-12 18:22:34 +02:00
Richard Gibson
7a2273abd2
Fix typos ( #4552 )
...
Ref #4550
2025-07-31 12:07:48 -04:00
Richard Gibson
e33d93fecc
Try to avoid "Argument list too long" when many files are changed
2025-07-29 11:07:29 +02:00
Richard Gibson
4868f0f66c
[TypedArray.prototype.copyWithin] Cover overlapping source/destination ranges
...
Ref https://github.com/tc39/ecma262/pull/3619
Ref https://github.com/tc39/ecma262/issues/3618
2025-07-29 11:04:58 +02:00
Richard Gibson
e5731d6fa7
[TypedArray.prototype.copyWithin] Refactor coerced-target-start-end-shrink.js
2025-07-29 11:04:58 +02:00
Richard Gibson
f807ed7c06
[immutable-arraybuffer] Update features.txt
2025-07-18 00:06:45 -04:00
Jihyeok Park
c67a548997
Update ESMeta version to v0.6.2
2025-07-17 15:27:55 +02:00
Daniel Minor
6a73fa8f11
Move WeakMap.prototype.getOrInsertComputed tests from staging to built-ins
2025-06-09 09:45:43 -04:00
Ross Kirsling
609614febe
Add tests for "Runtime Errors for Function Call Assignment Targets" ( #4459 )
...
* Add tests for ecma262#3568
* "Late" -> "Runtime"
* Check for functions named `async` too.
2025-07-15 09:22:15 -07:00
Timothy Flynn
f0dc15c6c7
Add missing include to Uint8Array/fromBase64/last-chunk-invalid.js
2025-07-08 17:51:33 +02:00
Nikita Skovoroda
374c61b8c1
add tests for invalid Uint8Array.fromBase64 chunks
2025-07-08 15:44:25 +02:00
André Bargull
7ab6423e3a
Move two Intl.DateTimeFormat tests
2025-07-07 15:50:31 +02:00
André Bargull
c65e2e1107
Move AggregateError and SuppressedError
...
Neither `AggregateError` nor `SuppressedError` are NativeErrors.
2025-07-07 15:50:31 +02:00
André Bargull
d45036711c
Add Temporal intrinsics
2025-07-07 15:47:37 +02:00
André Bargull
c62f9f7fba
Add Intl intrinsics
2025-07-07 15:47:37 +02:00
André Bargull
086aab47dd
Add Annex B intrinsics
2025-07-07 15:47:37 +02:00
André Bargull
5b249ecbbd
Fix intrinsic source for AsyncIteratorPrototype and RegExpStringIteratorPrototype
2025-07-07 15:47:37 +02:00
Linus Groh
416b061eba
Update features.txt to move stage 4 proposals
2025-07-07 15:19:37 +02:00
Linus Groh
dc40377cb4
Fix two leftover uses of Temporal.ZonedDateTime.prototype.timeZone
2025-07-07 14:44:08 +02:00
Ms2ger
68a817d713
Verify that Duration#with() doesn't accept duration strings
...
Also fix the description and put the string tests together.
2025-07-02 07:57:20 -07:00
Manish Goregaokar
749a6f9509
Move array/function Duration.with tests to the missing-property test
2025-07-01 15:13:52 -07:00
André Bargull
a073f479f8
Add test case for passing canonical key in getOrInsertComputed
2025-06-19 15:01:24 +02:00
Ms2ger
823f4cfd20
Fix some esids that should have been lower case
2025-06-09 08:32:28 -07:00
Daniel Minor
81ba0de350
Move Map.prototype.getOrInsertComputed tests from staging to built-ins
2025-06-08 23:14:26 +02:00
Richard Gibson
3cd73c15f2
Meta: Add LibJS issue reporting link
2025-06-08 22:08:46 +02:00
Minseok Choe
f41447492b
Update ctor-throws.js
2025-06-05 15:36:11 +02:00
Philip Jägenstedt
942e65f505
Update number of tests in README to 50k+
...
Since 2017 the test suite has grown significantly and 50k is a significant number!
The command `git grep -lF '/*---' test | wc -l` found 50568 tests.
A count in May (commit 5c9ff876dcefd19a27ef735224bd69ac1d1ee8e9) is used so that the past tense still works.
2025-06-05 10:03:24 +02:00
Richard Gibson
fbc6833c24
Test that Intl.Locale language "root" is rejected
...
cf. https://unicode.org/reports/tr35/#unicode_bcp47_locale_id
2025-06-04 08:51:02 -07:00
Richard Gibson
a4501647e3
Improve test/intl402/Locale/constructor-getter-order.js
...
* Add a helper for concision
* Specify properties in a different order than the one used for reading
2025-06-04 10:57:38 +02:00
Richard Gibson
c2bfc5bdcd
Add tests for Intl.Locale.prototype.variants
...
Ref https://github.com/tc39/ecma402/pull/960
2025-06-04 10:57:38 +02:00
André Bargull
c6ad284d99
Add coverage for IteratorClose in Promise combinators
...
SM doesn't pass these tests, whereas JSC and V8 passes them.
2025-06-04 10:27:46 +02:00
André Bargull
5920cb8e1b
Add coverage for IteratorClose throw-completion forwarding in destructuring contexts
...
SM doesn't pass these tests.
2025-06-03 10:41:41 +02:00
Ms2ger
9d4ce52163
Fix some esids that should have been lower case
2025-06-02 01:29:25 -07:00
André Bargull
95d90bf9f2
Add coverage for resolved locale when Unicode extensions and options are present
...
These tests currently fail in V8, but pass in JSC and SM.
2025-06-01 13:03:50 +02:00