Ms2ger
ece6726c1e
Document ordering requirements of imported files
2025-03-11 18:10:26 -07:00
Ms2ger
0399f644e6
Normalize line endings in INTERPRETING.md
2025-03-11 18:10:26 -07:00
Rezvan Mahdavi Hezaveh
d6897d560b
After a recent normative change on iterator helpers, the expectations of
...
these tests should be updated.
2025-03-11 18:05:19 -07:00
Luca Casonato
abc22b515e
Add tests for not calling well-known symbols on primitives for string methods ( #4404 )
...
* Add tests for not calling WK symbols on primitives for string methods
* clean up tests
* fix info in test files
2025-03-11 17:54:04 -07:00
Seokho Song
f250da9bf4
Add testcases for setUTC* functions return value
2025-03-11 17:04:18 -07:00
Tim Chevalier
3f65b0209d
Temporal: Fix error message in test
2025-03-10 14:32:17 -07:00
Sosuke Suzuki
9d8efae5c2
Wrap `toSpliced` call with try-finally
2025-02-28 15:04:37 +01:00
Nicolò Ribaudo
2ad7f321d7
Rewrite import defer resolution test ot not expect specific error
2025-02-27 16:08:00 +01:00
Linus Groh
88ebb1e375
Avoid relative imports outside of test directory
2025-02-26 16:39:22 +01:00
Rezvan Mahdavi Hezaveh
d4c93d2de1
[explicit-resource-management] Dispose the stack before disposal
...
This CL adds the requirement of having disposed stack before
calling DisposeResources on the DisposableStack.
Bug: 42203506
Change-Id: I515a5f23e609fdd9448cebc4cd71b0176c86cf99
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6298949
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#98902}
2025-02-25 03:18:41 +01:00
Rezvan Mahdavi Hezaveh
15e602780c
[explicit-resource-management] Fix async disposal
...
This CL fixes the async disposal from sync methods that return
a promise. The result of calling `symbol.dispose` should
not be used to resolve the outer promise.
Bug: 42203814
Change-Id: I4c4573035b74b06ad78e2810e3f132301954c048
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6291492
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#98898}
2025-02-24 22:18:44 +01:00
Philip Chimento
44d71fbe7d
Temporal: Test coverage for rejecting too large dates in PlainMonthDay strings
...
This adds coverage for the normative change in
https://github.com/tc39/proposal-temporal/pull/3054 , which specifies that
implementations must throw on out-of-range dates in RFC 9557 strings for
non-ISO calendars.
2025-02-21 18:47:44 -08:00
Rezvan Mahdavi Hezaveh
b3f67f4aaf
[explicit-resource-management] Fix await using in top level module
...
This CL adds one suspend point in any scope that has at least one
`await using` in it.
Bug: 396661138
Change-Id: I144a0ca49395b34309e7e35f070c98cc145af34b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6279751
Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#98811}
2025-02-19 22:18:46 +01:00
Rezvan Mahdavi Hezaveh
6d5e6c229e
Remove `let` keyword and use `using` declaration ( #4403 )
2025-02-18 12:54:05 -08:00
Chengzhong Wu
74788df072
Remove source phase resolution time negative error types ( #4194 )
2025-02-18 16:11:31 +01:00
Nicolò Ribaudo
43c45f3b37
Remove SM staging tests wrongly testing invalid LHS
...
It is an early error if the LHS of:
- ForOfStatement
- UpdateExpression
- AssignmentExpression
- DestructuringAssignmentTarget
is not simple (i.e. not a function call).
2025-02-18 14:23:33 +01:00
André Bargull
e8c771e9df
Add basic tests for Intl.DurationFormat accepting Temporal.Duration
2025-02-14 09:01:03 -08:00
lionel-rowe
6310295c80
Add `Intl.Locale` test for `language` getter where language subtag is "und"
2025-02-13 11:36:40 -08:00
Frank Yung-Fong Tang
37722d8826
Add test for useGrouping off in digital style of DurationFormat ( #4208 )
...
* Add test for useGrouping off in digital style of DurationFormat
Fix #4190
* change based on review feedback
2025-02-12 11:42:21 -08:00
Brage Hogstad
26db872ca7
Moved generic era and eraYear tests from intl402/Temporal to built-ins/Temporal
2025-02-12 11:36:45 -08:00
yossydev
c23db8061d
Update String.fromCodePoint info to align with latest ECMAScript spec
2025-02-12 10:13:55 -08:00
Ron Buckton
b0319e488d
Add tests for SuppressedError
2025-02-11 16:38:26 -08:00
Ron Buckton
ae0656d7d4
Test AsyncIterator Symbol.dispose calls return method
2025-02-11 16:25:20 -08:00
Ron Buckton
bdf546c60c
Test Iterator Symbol.dispose calls return method
2025-02-11 16:25:20 -08:00
Nicolò Ribaudo
bc5c14176e
Add evaluation tests for `import.defer` with sync/async modules ( #4375 )
...
* Add evaluation tests for `import.defer` with sync/async modules
* Remove accidental import declaration
2025-02-04 11:43:57 -08:00
Nicolò Ribaudo
573058ed2e
Add syntax tests for `import.defer` ( #4374 )
...
These tests are all based on the existing dynamic import syntax tests, just updated to use the new syntax.
This PR does not contain any manually written tests -- they are all generated.
2025-02-04 11:38:19 -08:00
Kevin Gibbons
d4052133d5
add tests for "iterator helpers close receiver on argument validation failure" ( #4350 )
...
* add tests for "iterator helpers close receiver on argument validation failure"
* address comments
* avoid re-using Test262Error
2025-02-04 11:32:20 -08:00
Boshen
d8e2cb2741
Update missed bracket in module-self-import-async-resolution-ticks.js
2025-01-31 08:47:52 -08:00
André Bargull
d5c4779c62
Allow different approximations in the observational Islamic calendar
...
The "islamic" calendar id refers to the observational Islamic calendar
and different implementation may use different algorithms to approximate
when the moon's crescent can be observed. Change the test data to allow
the approximations used in ICU4X in addition to the ones used in ICU4C.
2025-01-30 17:49:04 -08:00
André Bargull
0614bdbd87
Update expected formatting for CLDR 46
2025-01-30 17:27:38 -08:00
Ron Buckton
88d6c18030
Basic constructor and newtarget tests for DisposableStack
2025-01-30 17:14:53 -08:00
Ron Buckton
5bdc35ab46
Basic constructor and newtarget tests for AsyncDisposableStack
2025-01-30 17:14:53 -08:00
Justin Dorfman
7c37969378
Function.prototype: Add tests "caller" and "arguments" properties ( #4355 )
...
Fixes #4340
Fixes #674
2025-01-29 20:36:41 +00:00
André Bargull
e99213a96e
Expect TypeError when sealing non-empty TypedArrays
2024-12-16 19:36:06 +01:00
André Bargull
a977d3b649
Add coverage when searching undefined after shrinking buffer
2025-01-10 09:26:18 +01:00
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