Michael Ficarra
3e8ccb1227
address my own comments
2025-11-25 13:06:50 -08:00
Kevin Gibbons
e0738ee1ca
split basic.js into harness+tests, add some more tests
2025-11-25 13:06:50 -08:00
Richard Gibson
cff5686028
harness: Remove typeCoercion.js BigInt/Symbol dependencies ( #4683 )
2025-11-19 00:46:51 +00:00
Frank Yung-Fong Tang
80d1f6dc89
Add 8 numberingSystems to test for Unicode 16 ( #4560 )
...
* Add 8 numberingSystems to test
see also https://github.com/tc39/ecma402/pull/929
2025-11-07 11:54:12 -08:00
Richard Gibson
42303c7c2b
Update harness/sm/non262-Math-shell.js to work around test262-harness bug
...
Ref https://github.com/bocoup/test262-stream/issues/34
2025-10-09 14:40:16 +02:00
Richard Gibson
fd2e09dd55
Add missing includes to test/staging/sm/Math/*.js
...
Fixes #4588
2025-10-09 14:40:16 +02:00
Richard Gibson
06dfddc4eb
Move compareArray into assert.js ( #4592 )
2025-10-02 16:50:07 -04:00
André Bargull
11c8fe0a99
Remove unused includes to non262-TypedArray-shell.js
2025-09-17 12:54:47 -07:00
André Bargull
5912cd673f
Use assert.sameValue instead of assertEq in harness/sm
2025-09-17 12:54:47 -07:00
André Bargull
a73bdd51c6
Remove unused includes to non262-Math-shell.js
2025-09-17 12:54:47 -07:00
André Bargull
d51fa962ee
Remove unused includes to non262-Temporal-PlainMonthDay-shell.js
2025-09-17 12:54:47 -07:00
André Bargull
93e9e88a84
Remove no longer needed allow_unused
2025-09-17 12:54:47 -07:00
André Bargull
09761b6c8c
Remove unused includes to non262-strict-shell.js
2025-09-17 12:54:47 -07:00
André Bargull
76cd14cf50
Rename non262-shell.js and remove no longer used non262.js
2025-09-17 12:54:47 -07:00
André Bargull
7249a18ca0
Replace assertThrowsInstanceOf with assert.throws in staging/sm
2025-09-17 12:46:40 -07:00
André Bargull
e5edd5e620
Remove assertThrownErrorContains
2025-09-17 12:46:38 -07:00
André Bargull
22bd116f5e
Remove assertThrowsInstanceOfWithMessage
2025-09-17 12:46:34 -07:00
André Bargull
b5f946440f
Remove assertThrowsInstanceOfWithMessageContains
2025-09-17 12:44:24 -07:00
André Bargull
ae5a0f3626
Replace makeIterator with inline definitions
2025-09-17 12:44:23 -07:00
André Bargull
e11da732b2
Move Permutations into the two files using it and also simplify the tests a bit
2025-09-17 12:44:18 -07:00
André Bargull
267e87f7df
Use test262 harness functions in non262-Date-shell.js
2025-09-17 12:36:53 -07:00
André Bargull
900e13c05f
Remove unused definitions from non262-Date-shell.js
2025-09-17 12:36:53 -07:00
André Bargull
bfee2b57e5
Use sameValue in non262-generators-shell
2025-09-17 12:36:53 -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
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
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
dc40377cb4
Fix two leftover uses of Temporal.ZonedDateTime.prototype.timeZone
2025-07-07 14:44:08 +02:00
duncan.macgregor
bd472562c8
Change deepEqual.js as Rhino doesn't support Array spreading.
2025-05-30 03:27:41 -07:00
Richard Gibson
99867ff618
harness: Simplify verifyCallableProperty ( #4507 )
...
Ref #4468
2025-05-28 20:53:15 +00:00
André Bargull
a1222e0dc7
Remove unused definitions from non262-expressions-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
0633915e30
Use standard test262 harness functions in non262-JSON-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
0ba71a3fea
Remove unused non262-String-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
fea819475f
Replace non262-RegExp-shell.js definitions and then remove it
2025-05-28 15:58:01 +02:00
André Bargull
fb71bb2094
Remove non262-extensions-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
e778def1d1
Remove reportMatch
2025-05-28 15:58:01 +02:00
André Bargull
a06e66989b
Remove printBugNumber, inSection, printStatus, and writeHeaderToLog empty functions
2025-05-28 15:58:01 +02:00
André Bargull
e0f3a70c5a
Move completesNormally and raisesException to non262-strict-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
1b63fba5ca
Remove 'harness/sm/non262-object-shell.js' with unused functions
2025-05-28 15:58:01 +02:00
André Bargull
e8b9a6a1d9
Remove unused 'clone_object_check'
2025-05-28 15:58:01 +02:00
André Bargull
965e505fb8
Remove a Gecko profiler specific test case
2025-05-28 15:58:01 +02:00
André Bargull
2497ed0ae9
Replace another deepEqual function from sm-staging
...
Replace the `deepEqual` function with `assert.compareArray` resp.
`verifyProperty`.
Also remove the second part of "sm/strict/15.4.5.1.js", because it's
terribly out-dated w.r.t. the SpiderMonkey implementation of Array
objects.
2025-05-28 15:58:01 +02:00
André Bargull
43670a1912
Replace assertDeepEq with assert.deepEqual
2025-05-28 15:58:01 +02:00
André Bargull
bbbc23cd41
Don't test error messages in staging/sm
2025-05-28 15:58:01 +02:00
Philip Chimento
37ebe00a15
Remove usage of Object.hasOwn in helper files
...
Instead use the easily available old-fashioned way, calling the method
on Object.prototype.
2025-05-15 11:42:44 +02:00
Richard Gibson
25278a150d
harness: Add a verifyCallableProperty helper ( #4468 )
2025-05-14 12:08:11 -04:00
Philip Chimento
84f820258b
harness: Remove hidden-constructors harness file
...
The objects it provides are also available in another harness file,
wellKnownIntrinsicObjects.js. There's no point in duplicating that in the
harness. Rewrite each test that used hidden-constructors.js to use
getWellKnownIntrinsicObject instead.
2025-03-11 18:14:55 -07:00
Philip Chimento
2af27af915
harness: Add a function to get well-known intrinsic objects
...
wellKnownIntrinsicObjects.js now exposes a getWellKnownIntrinsicObject()
function which returns the object corresponding to a key like %Array%. If
the object is not provided by the implementation, or not accessible, it
throws a Test262Error. This is so that tests depending on that intrinsic
object can easily fail.
2025-03-11 18:14:55 -07:00