Nicolò Ribaudo
e7a84b0a09
Update import defer tests for evaluation triggers ( #4341 )
2025-01-24 10:54:39 +01:00
Sosuke Suzuki
82ebbb4060
Add indent to sm tests metadata
2025-01-23 14:28:45 +01:00
Rezvan Mahdavi Hezaveh
701b220976
[base64] Add FromBase64
...
This CL adds `Uint8Array.fromBase64()`.
Bug: 42204568
Change-Id: Ib68683a2d5ead9720077197c0f895787214b183e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6026354
Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#98239}
2025-01-22 00:18:32 +01:00
Ms2ger
b0f03cb22d
Reorder includes in staging/sm
...
Ref. #4376
2025-01-17 13:49:22 +01:00
Ms2ger
5f98e1d39d
Replace gc() calls in staging/sm/
...
Ref. #4376
2025-01-15 13:02:49 -08:00
Ms2ger
a37cb9c206
Update staging/sm
2025-01-13 17:17:15 +01:00
SUZUKI Sosuke
c85603ff11
DurationFormat: Add tests for durations with `style: "digital"`, `hoursDisplay: "auto"` and zero hours ( #4367 )
...
Co-authored-by: André Bargull <andre.bargull@gmail.com>
2025-01-13 11:25:44 +01:00
André Bargull
ab5c086db4
Add coverage for value coercions in TypedArray.p.with
2025-01-13 10:20:24 +01:00
André Bargull
d49db639a8
Move files from metadata
2025-01-10 16:18:41 +01:00
André Bargull
75fddbd694
Add feature tag for "Time Zone Canonicalization"
2025-01-09 16:38:01 -08:00
André Bargull
2ea91c02d0
Temporal: Coverage for Temporal.Duration
2025-01-09 16:33:51 -08:00
André Bargull
4aa9379068
Temporal: Coverage for Temporal.ZonedDateTime
2025-01-09 16:33:51 -08:00
André Bargull
4ceee16fff
Temporal: Coverage for Temporal.PlainDateTime
2025-01-09 16:33:51 -08:00
André Bargull
22539853cd
Temporal: Coverage for Temporal.PlainDate
2025-01-09 16:33:51 -08:00
André Bargull
934563c6c4
Temporal: Coverage for Temporal.Instant
2025-01-09 16:33:51 -08:00
André Bargull
fef2f1cf61
Temporal: Coverage for Temporal.PlainTime
2025-01-09 16:33:51 -08:00
André Bargull
7bc853660a
Temporal: Coverage for Temporal.PlainYearMonth
2025-01-09 16:33:51 -08:00
André Bargull
6d69685a48
Temporal: Coverage for Temporal.PlainMonthDay
2025-01-09 16:33:51 -08:00
André Bargull
122912d54b
Remove invalid test that offset time zone are unsupported
...
Fixes #4339
2025-01-08 17:18:53 -08:00
Shu-yu Guo
7f12305f59
Rename support files to end in _FIXTURE.js ( #4368 )
2025-01-08 16:30:20 -08:00
Asumu Takikawa
1d7a2938a2
Fix two minor errors for import-defer tests
...
* assert.deepEqual is used in one but without the include
* typo of assert in the other
2025-01-06 17:51:47 +01:00
Rezvan Mahdavi Hezaveh
8296db8873
[explicit-resource-management] Return undefined from dispose builtin
...
This CL fixes the bug of returning true in dispose method of
DisposableStack.
Bug: 385547086
Change-Id: Iddb72962bd5f7de1ee9346cda3094e98e0565119
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6119280
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#97920}
2024-12-26 22:18:25 +01:00
André Bargull
c4317b0cb5
Ensure ToDateTimeFormattable is called for both arguments
2024-12-18 16:59:26 +01:00
Nicolò Ribaudo
f8231fcdda
Add test for @@toStringTag on deferred module namespaces ( #4360 )
...
Co-authored-by: Linus Groh <mail@linusgroh.de>
2024-12-18 15:20:07 +00:00
André Bargull
900c80295e
Don't call assert.deepEqual.format when the assertion will succeed
2024-12-18 16:15:40 +01:00
André Bargull
c3cbc32745
Checks features are consistent in parsetestrecord
2024-12-18 16:11:18 +01:00
André Bargull
ada06362dc
Add linter for parseTestRecord
2024-12-17 17:52:36 +01:00
André Bargull
98a7f03f5c
Remove leading space characters in YAML frontmatter
...
Remove leading space characters so directly loading the frontmatter text
with `yaml.safe_load` doesn't throw an exception.
2024-12-17 17:52:36 +01:00
André Bargull
9e915f9b3c
Update parseTestRecord and monkeyYaml to handle new tests
...
Changes:
- Allow zero indent for lists
- Handle list with zero elements
- Handle public domain license block
2024-12-17 17:52:36 +01:00
Nicolò Ribaudo
36687a502c
Fix the `phase` in tests about invalid JSON module bindings ( #4348 )
2024-12-17 14:56:48 +00:00
André Bargull
d7fa2a1163
Remove "US/Pacific-New" from time zone tests
...
"US/Pacific-New" was removed in tzdata2020b.
2024-12-16 14:55:12 +01:00
Philip Chimento
dc0082c5ea
Remove unused test fixtures
...
These belong to a test that is not imported.
2024-12-09 13:35:08 -08:00
Ms2ger
6ee9579acb
Import tests from SpiderMonkey
2024-12-09 13:35:08 -08:00
Ms2ger
d0bda4d26f
Allow public domain dedications
2024-12-09 13:35:08 -08:00
Ms2ger
3468e6aa77
Support excluding harness files from the unused includes check
2024-12-09 13:35:08 -08:00
Ms2ger
6ec99623c2
Use an IIFE in deepEqual.js
...
This code currently prevents tests from using |var join|.
2024-12-09 13:35:08 -08:00
Ms2ger
62d48cf9ed
Check for identity of functions in deepEqual
2024-12-09 13:35:08 -08:00
Michael Ficarra
71794b1388
fix another test now that we don't access the IteratorResult value
2024-12-09 12:37:30 -08:00
Michael Ficarra
fc55660965
Update fresh-iterator-result.js
...
See https://github.com/tc39/proposal-iterator-sequencing/pull/18#issuecomment-2512825730
2024-12-09 12:37:30 -08:00
Michael Ficarra
d5a09f40e4
add test that concat does not pass arg through when called with 1 arg
2024-12-09 12:37:30 -08:00
Michael Ficarra
a12abf58af
add test for primitive wrapper objects
2024-12-09 12:37:30 -08:00
André Bargull
490463d485
Add initial tests for the "iterator-sequencing" proposal
2024-12-09 12:37:30 -08:00
Nicolò Ribaudo
dad2774b2e
Add missing `from` in two `import defer` tests ( #4338 )
2024-12-07 12:42:54 +01:00
Philip Chimento
eefc5cf367
Temporal: Improve coverage of relativeto-string-limits tests
...
These tests did not fully cover Temporal.Duration.prototype.round and
Temporal.Duration.prototype.total because they called those methods on a
blank duration (all components zero), for which there is an early return
in round() and total().
This meant that we missed an assertion that would be hit after the early
return.
This makes sure to test both blank and non-blank Durations with these
relativeTo strings, and expect some strings to fail at different steps
with the two cases.
See: tc39/proposal-temporal#3015
2024-12-05 15:02:50 +01:00
Boshen
42d83277b7
Fix `single-line-html-close-first-line-*` failing with `Test262Error is not defined` ( #4333 )
...
Fix `single-line-html-close-first-line-*` failing with `Test262Error is not defined`
closes #4020
2024-12-04 11:55:40 -08:00
André Bargull
d124e1486c
Allow alternative era for Chinese calendar
...
Year 1 in the Chinese calendar corresponds to 2637 BCE in ICU4X.
See <https://docs.rs/icu/latest/icu/calendar/chinese/struct.Chinese.html#year-and-era-codes >.
2024-12-04 11:26:13 -08:00
Shu-yu Guo
dacf5ff845
Update Object.freeze tests for resizable TypedArrays
...
Object.freeze will always throw on variable-length TAs with this
has-consensus PR: https://github.com/tc39/ecma262/pull/3453
2024-12-03 17:47:38 -08:00
Tim Chevalier
901dd6e920
Temporal: Add test for balancing up to weeks when year/month are present ( #4305 )
...
See tc39/proposal-temporal#2813
2024-12-03 14:08:20 -08:00
Ben Allen
4053ff2eaf
Add tests for `Intl.PluralRules.prototype.resolvedOptions().pluralCategories` order ( #4275 )
...
Array elements should appear in following order: "zero", "one", "two", "few", "many", "other"
see https://github.com/tc39/ecma402/pull/918/
2024-12-03 13:38:58 +00:00
Nicolò Ribaudo
10c2615aa5
Add partial tests for `import defer` ( #4278 )
...
Co-authored-by: Asumu Takikawa <asumu@igalia.com>
2024-12-02 10:32:38 +01:00