Daniel Minor
81ba0de350
Move Map.prototype.getOrInsertComputed tests from staging to built-ins
2025-06-08 23:14:26 +02:00
André Bargull
e764feb1fe
Remove unused includes to 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
57816febc2
Remove unused includes to non262-JSON-shell.js
2025-05-28 15:58:01 +02:00
André Bargull
8c64b08b35
Remove unused includes to non262-Reflect-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
88ad608238
Remove unused includes to non262-RegExp-shell.js
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
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
a709831c8d
Remove support file for non-exported structured cloning test
2025-05-28 15:58:01 +02:00
Nick Vatamaniuc
c6251c64b1
Increase the tolerance of approx acos and cbrt tests
...
On engines which pass through these functions to the libc library they can
return slightly different values depending on the OS and archictures.
Showing a few example with Python, which also passes these through to libc on a
few platforms I have access to:
Ubuntu Noble, Python 12, s390x
```
>>> import math
>>> math.cbrt(math.e)
1.3956124250860897
>>> math.acosh(math.cosh(0.2))
0.20000000000000023
```
Ubuntu Noble, Python 12, x86_64
```
>>> import math
>>> math.cbrt(math.e)
1.39561242508609
>>> math.acosh(math.cosh(0.2))
0.20000000000000023
```
MacOS 14, Python 12, x86_64
```
>>> import math
>>> math.cbrt(math.e)
1.3956124250860895
>>> math.acosh(math.cosh(0.2))
0.20000000000000026
```
2025-05-16 12:12:39 +02:00
Daniel Minor
c2e3e37b68
Move WeakMap.prototype.getOrInsert tests from staging to built-ins ( #4476 )
...
* Fix esid and remove noStrict
* Fixup length.js and returns-value-if-key-is-not-present-symbol-key.js
2025-05-15 11:59:43 -07:00
Daniel Minor
2e59aad8d1
Move Map.prototype.getOrInsert tests from staging ( #4472 )
...
* Move Map.prototype.getOrInsert tests from staging
* Fix esid and remove noStrict
* Add check for map.get(-0) to append-new-values-normalizes-zero-key.js
2025-05-12 13:27:39 -07:00
Daniel Minor
93d63969bc
Add upsert tests ( #4454 )
...
These tests are currently being executed in SpiderMonkey as `non262` tests,
and were exported using the `test262-export.py` script. Linting errors
were then corrected.
2025-05-05 12:20:47 -07:00
Sosuke Suzuki
27622d7647
Use assertNativeFunction
instead of simple regexp pattern
2025-04-29 13:57:47 +02:00
Lucas Mirelmann
34b0db5fb0
Escape syntax character in regex
...
Syntax characters need to be escaped when they are part of a regex.
https://tc39.es/ecma262/#prod-Atom
https://tc39.es/ecma262/#prod-PatternCharacter
2025-04-21 12:50:40 +02:00
André Bargull
c7bbdd435f
Remove test data from other calendars
2025-03-24 10:36:18 +01:00
André Bargull
c9ab199907
Copy islamic-calendars.js into separate files for each calendar variant
2025-03-24 10:36:18 +01:00
André Bargull
ce7e72d210
Split addition-across-lunisolar-leap-months across calendars
...
Also remove unnecessary check for out-dated Chinese calendar data.
2025-03-19 13:51:31 +01:00
André Bargull
c12ea5c2d9
Remove old non-iso-calendars.js
2025-03-19 13:51:31 +01:00
André Bargull
7f61f1d73e
Fix dangi calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
367b207786
Fix chinese calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
d2a0a9bda6
Fix islamic-rgsa calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
e296fb39a6
Fix islamic calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
450d9db1e2
Fix islamic-umalqura calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
fc5b8568a0
Fix hebrew calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
de5fd18406
Fix islamic-tbla calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
ef8d9be0b0
Fix islamic-civil calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
05b7f0fc75
Fix islamicc calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
496b6c195f
Fix indian calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
9bf4e0f2f4
Fix ethiopic calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
aae8f8a8d8
Fix ethioaa calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
cc9cb90005
Fix coptic calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
c7dba7860e
Fix gregory calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
e2349bd24a
Fix persian calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
b67d395ed5
Fix japanese calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
c4b6ea79da
Fix iso8601 calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
467acc8ec8
Fix roc calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
e493362aec
Fix buddhist calendar test case
2025-03-19 13:51:31 +01:00
André Bargull
5c8013f45d
Remove test data for other calendars
2025-03-19 13:51:31 +01:00
André Bargull
e627bd8090
Copy non-iso-calendars to calendar specific files
2025-03-19 13:51:31 +01: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
Sosuke Suzuki
9d8efae5c2
Wrap toSpliced
call with try-finally
2025-02-28 15:04:37 +01:00