7381 Commits

Author SHA1 Message Date
Mike Pennisi
cfa2580b0c Correct errors in linting script 2025-10-14 17:04:58 -04:00
Philip Chimento
a6f910b8ab Fix module specifiers
These should be relative paths, starting with "./". Bare specifiers are
not allowed in test262.
2025-10-14 10:19:07 +02:00
Chris Cuellar
78bbb2ea65
Merge pull request #147 from bocoup/web-features-init-tweak
Tweak classifications
2025-10-09 11:10:44 -07:00
Mike Pennisi
4b71e64d73 Tweak classifications 2025-10-09 13:30:11 -04: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
Nicolò Ribaudo
761dc4687c
Add tests for resolution order of async modules promises (#4591) 2025-10-09 12:25:23 +00:00
Mark S. Miller
ac316607ba
[nonextensible-applies-to-private] Fix bugs (#4590)
Fixes #4587
2025-10-08 15:30:40 +00:00
Sosuke Suzuki
432bc2b863 Add assertions for checking names of resolve and reject 2025-10-06 12:45:03 +02:00
Chris Cuellar
32aa526f5c adds globalthis, hashbang-comments and html-wrapper-methods 2025-10-05 14:09:33 -07:00
Chris Cuellar
a047b271a5 adds intl-display-names 2025-10-05 13:57:00 -07:00
Chris Cuellar
1f04cddc11 adds intl-list-format 2025-10-05 13:54:01 -07:00
Chris Cuellar
81c593cd80 adds intl-locale and intl-locale-info 2025-10-05 13:52:06 -07:00
Chris Cuellar
8db8f72ed3 adds intl-plural-rules 2025-10-05 13:42:18 -07:00
Chris Cuellar
31e0685112 adds intl-relative-time-format 2025-10-05 13:39:48 -07:00
Chris Cuellar
735c05485d adds intl-segmenter 2025-10-05 13:17:26 -07:00
Chris Cuellar
0f5817ee9b adds iterator-methods 2025-10-05 13:14:56 -07:00
Chris Cuellar
edfec3e641 fixes linter for directories with json files
Fixes error when linting the `json-modules` feature which points to test/language/import/import-attributes, containing .json fixture files.

The linter's file_is_test() function was only filtering out FIXTURE.js files but not .json files, so it tried to read frontmatter from the JSON files and failed.
2025-10-05 13:06:30 -07:00
Chris Cuellar
d151c921fc adds iterators 2025-10-05 13:04:56 -07:00
Chris Cuellar
c266acd3f4 adds javascript initial support 2025-10-04 19:45:19 -07:00
Chris Cuellar
b6c8833d53 adds json-modules 2025-10-04 19:18:05 -07:00
Chris Cuellar
b9da3cab76 adds json-raw 2025-10-04 19:15:28 -07:00
Chris Cuellar
9c8fa11945 adds let-const 2025-10-04 19:10:09 -07:00
Chris Cuellar
553372609e adds logical-assignments 2025-10-04 19:07:00 -07:00
Chris Cuellar
7794a9d5f7 adds map 2025-10-04 18:58:35 -07:00
Chris Cuellar
7923141074 adds math-sum-precise
and cleans up Math files for `number`
2025-10-04 18:54:17 -07:00
Chris Cuellar
f4fe931e2a adds nullish-coalescing 2025-10-04 18:45:13 -07:00
Chris Cuellar
070fe92853 add promise 2025-10-04 18:41:28 -07:00
Chris Cuellar
ad39b9db67 fixes lint issues 2025-10-04 18:37:34 -07:00
Chris Cuellar
0fa95f0bb6 add set 2025-10-04 18:36:56 -07:00
Chris Cuellar
de26e3f9d9 adds number 2025-10-04 18:11:16 -07:00
Linus Groh
ceff26d0cc Update features.txt to move stage 4 proposals 2025-10-03 17:51:31 +02:00
Richard Gibson
06dfddc4eb
Move compareArray into assert.js (#4592) 2025-10-02 16:50:07 -04:00
Chris Cuellar
f6bf8d56d9 adds additional features N-Z 2025-10-02 11:23:22 -07:00
Mike Pennisi
7cb61902ff Build linter 2025-09-30 22:44:07 -04:00
Mike Pennisi
c1a07a220d Optimize classifiers 2025-09-30 22:26:21 -04:00
Mike Pennisi
269d66d930 Correct typos 2025-09-30 22:26:11 -04:00
Mike Pennisi
040daf7920 Add metadata on "web features"
See:

- https://github.com/tc39/test262/issues/4567
- https://github.com/tc39/test262/issues/4571
2025-09-30 15:52:46 -04:00
Ben Noordhuis
2e7412547d Test iterator close behavior of Set methods
Set.prototype.isDisjointFrom and Set.prototype.isSupersetOf should call
return() on the set-like iterator but only when it is not exhausted.

Port of the downstream tests I added in quickjs-ng/quickjs@6167dcb127.
2025-09-30 11:57:20 +02:00
jugglinmike
8a8a7af1b9
Classify tests for the stability of array sorting (#4569)
* Classify tests for the stability of array sorting

These tests were originally introduced via
https://github.com/tc39/test262/pull/1977 &
https://github.com/tc39/test262/pull/2062 and subsequently modified via
https://github.com/tc39/test262/pull/2169.

* fixup! Classify tests for the stability of array sorting
2025-09-25 16:26:49 -04:00
André Bargull
5155b2ad7e Add test case when countBytes in TA.p.slice is set to zero
`countBytes` can be set to zero in step 14.d when resizable array
buffers are used.
2025-09-25 17:49:06 +02:00
André Bargull
b5aac6bc84 String.prototype.toLocale{Lower,Upper}Case validates all locale identifiers 2025-09-25 17:42:28 +02:00
Ben Noordhuis
409001b61b Make iterator sequencing test more explicit
The next() method is not supposed to get called. Per discussion here:
https://github.com/tc39/test262/pull/4326#discussion_r2371763680
2025-09-23 16:25:54 -07:00
Adam Shaw
2f06e0b6b3
Tests for Temporal issue 3141 (#4568)
* tests for Temporal issue 3141

* added test descriptions

* Temporal tests for total/round related to bug 3141

* tweak tests, fix wording

* don't use unnecessary temporalHelpers

* update tests to include Temporal issues 3148 and 3149

* move tests, update descriptions

* rename some other files

* move new Temporal tests into intl-land

* Actually commit ptomato typo change requests
2025-09-23 19:56:43 +00:00
Mark S. Miller
822589b1ef
[nonextensible-applies-to-private] Adding private field to non-extensible object throws (#4577)
* [nonextensible-applies-to-private] Adding private field to non-extensible object throws

* add feature nonextensible-applies-to-private

* extending tests in response to reviewer suggestions

* use const instead of let
2025-09-22 12:58:55 -07:00
Linus Groh
e0d8f66a2b Add missing include to WeakMap.prototype.getOrInsertComputed() test 2025-09-18 13:35:51 -07:00
Philip Chimento
6251b55fc6 Reinstate bug numbers as URLs in frontmatter info
The history of why these tests exist can be useful context for future
consumers of the test suite.
2025-09-17 15:51:37 -07:00
André Bargull
dfe2f39a46 Remove test data for non-exported test 2025-09-17 13:25:21 -07:00
André Bargull
7ec30cc749 Replace SpiderMonkey-specific parseModule in async-functions/async-contains-unicode-escape.js and fix a test bug 2025-09-17 13:25:21 -07:00
André Bargull
d90061929a Replace SpiderMonkey-specific parseModule in expressions/optional-chain-first-expression.js 2025-09-17 13:25:21 -07:00