142 Commits

Author SHA1 Message Date
rwaldron
4b54d54113 Fix copyrights and features metadata 2021-07-28 13:53:12 -04:00
rwaldron
f5fd1af49f features.txt: callable-boundary-realms 2021-07-21 09:21:09 -04:00
rwaldron
991a38932a Fix features.txt order 2021-07-16 10:02:41 -04:00
jugglinmike
afe217b318
Add tests for "Class Static Init. Blocks" proposal (#2968)
* Add tests for "Class Static Init. Blocks" proposal

This proposal is currently at "stage 3" in TC39's standardization
process.

* fixup! Add tests for "Class Static Init. Blocks" proposal

* Correct identifier reference

* Update tests for grammar

* Update tests for identifiers

* Add tests for scope derivation
2021-07-15 08:49:12 -04:00
Mike Pennisi
802f22bf0e Temporal.now.timeZone: improve coverage 2021-06-25 13:52:57 -04:00
jugglinmike
b3c2d3a88e
Resizable ArrayBuffer: ArrayBuffer constructor (#3018)
* Add "feature" for "Resizable ArrayBuffer" proposal

* Resizable ArrayBuffer: ArrayBuffer constructor
2021-06-25 13:18:42 -04:00
Frank Yung-Fong Tang
c8d75c3681
Add feature values for ECMA402 Stage 3 proposals (#3012) 2021-06-24 13:50:00 -04:00
Jamie Kyle
bad7c0487e
Add tests for Object.hasOwn (#2995)
* Add tests for Object.hasOwn

* Update test/built-ins/Object/hasOwn/length.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* Update test/built-ins/Object/hasOwn/name.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* Fixup comments for Object.hasOwn

* Add Object.hasOwn descriptor test

* use assert.sameValue with true instead of assert()

* remove extra semicolons

* Remove old $ERROR style tests from hasown

* Fix thrown error type in hasown tests

* Fix incorrect test cases

Co-authored-by: Jordan Harband <ljharb@gmail.com>
2021-06-16 17:35:06 -04:00
Mike Pennisi
56ca8add7d Update project structure to support non-JS files
This change is in service of forthcoming tests for the "JSON modules"
language proposal [1]. Verifying the semantics of that proposal requires
modules whose source text is not valid ECMAScript; this change updates
the guidelines for contributing and interpreting tests so that such test
material can be handled consistently.

Differentiating JSON files with a distinct file name suffice will assist
consumers which require special handling of such files (e.g. web
browsers).

Change the pattern used to designate "fixture" files so that it may be
applied to files used for JSON modules.

Increment the project version number to alert consumers of this change
in interpreting instructions.

[1] https://github.com/tc39/proposal-json-modules
2021-05-28 20:02:59 -04:00
Ujjwal Sharma
5e0fc43c66
Add basic tests for proposal-intl-locale-info (#2987)
* Add basic tests for weekInfo

* Add basic tests for textInfo

* Add basic tests for timeZones

* Add basic tests for numberingSystems

* Add basic tests for hourCycles

* Add basic tests for collations

* Add basic tests for calendars

* Add feature for Intl.Locale-info

* add validation to branding tests for locale-info

Add additional assertion to branding tests for proposal-intl-locale-info
to make sure they don't pass spuriously when the proposal is not
implemented.
2021-05-18 22:40:08 -04:00
Mike Pennisi
18834b2e19 Add tests for import assertions 2021-05-14 11:04:29 -04:00
Shu-yu Guo
70bc32edab
Give Error cause tests the error-cause feature tag (#2977) 2021-04-23 15:53:14 -07:00
jugglinmike
61c6f8214b
Add tests for stage 3 proposal "private fields in" (#2963) 2021-04-19 07:50:52 -07:00
Ross Kirsling
df1bce9c2e Rename item() to at(). 2020-11-18 13:31:11 -05:00
Rick Waldron
82f38efbab Features: add "intl-normative-optional" 2020-11-03 14:28:17 -05:00
Rick Waldron
bf900a30b2 Create and assign feature: "align-detached-buffer-semantics-with-web-reality" 2020-10-09 13:46:50 -04:00
Gus Caplan
6aa8338d23 add feature tags 2020-10-08 18:05:00 -04:00
Rick Waldron
ce8ec71c98 Features: add full name for FinalizationRegistry.prototype.cleanupSome. 2020-10-06 12:01:10 -04:00
Gus Caplan
ad8a5e9940 add Arbitrary module namespace names feature 2020-09-30 14:08:10 -04:00
Rick Waldron
e3b12065b2 Coverage: Array.prototype.item, String.prototype.item, TypedArray.prototype.item. Closes gh-2809, gh-2810, gh-2811 2020-09-24 17:23:38 -04:00
Rick Waldron
cbfb7eb96a src/subclass-builtins/*.case: Add missing features 2020-09-15 11:09:52 -04:00
ExE Boss
391cd16f1f Add legacy‑regexp to features 2020-09-10 16:07:17 -04:00
Leo Balter
5a01caed71 Add feature tag for cleanupSome
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Rick Waldron
f32b35e7a8 Atomics.waitAsync: add feature to features.txt 2020-04-23 10:32:55 -04:00
Justin Ridgewell
78dbc401b1 Add logical-assignment-operators feature 2020-03-31 10:56:40 -04:00
Daniel Ehrenberg
c6dd620ad3 Rename FinalizationGroup to FinalizationRegistry
Corresponds to https://github.com/tc39/proposal-weakrefs/pull/183

(Note, this is untested)
2020-02-20 12:13:29 -05:00
Kevin Gibbons
cadd47aa5f Add test for for-in order (#2432)
* Add EnumerateObjectProperties tests for builtins which use it

* Add tests for EnumerateObjectProperties for for-in

* Add feature flag for for-in-order
2019-12-18 11:25:20 -05:00
Leo Balter
3682ddd7e3
Add tests for String#replaceAll (#2423)
Fixes #2417
2019-11-18 10:22:07 -05:00
Leo Balter
1bc193528b
Add tests for AggregateError (#2406)
This covers part of the Promise.any proposal
2019-11-07 11:01:21 -05:00
Leo Balter
21195de94c
Inital commit for Intl.DisplayNames tests (#2404) 2019-10-17 10:32:00 -04:00
Leo Balter
c7a158e74b Add feature 2019-10-09 21:52:52 -04:00
Leo Balter
7134634aa4 Revert "Remove tests based on the $262.gc hook"
This reverts commit d6d37f2f4399ef74a096b74b91f526758cab933f.
2019-09-23 12:26:02 -04:00
Ron Buckton
1056d8fde9 Add tests for regexp-match-indices (#2309)
* Add tests for regexp-match-indices

* Add tests for unicode matches based on presence of /u flag

* Added deepEqual helper, PR feedback
2019-09-18 13:39:12 -03:00
Leo Balter
d6d37f2f43 Remove tests based on the $262.gc hook
Fixes #2239
Closes #2329
2019-09-05 19:38:03 +01:00
Leo Balter
56a2dba975 First set of tests for Top Level Await 2019-08-05 23:07:53 -04:00
Leo Balter
29627e892b Add cases for Optional Expressions as DestructuringAssignmentTarget 2019-08-05 10:55:32 -04:00
Richard Gibson
4af2c34eb2 Add tests for rest parameter with "use strict" (expecting syntax error) 2019-07-03 18:54:21 -04:00
Leo Balter
969d4e68b4 Basic tests for weakref and finalizationgroup 2019-06-21 11:50:22 -04:00
Rick Waldron
b223ac4e1f INTERPRETING.md: Add $262.gc() and "host-gc-required" feature (#2208) 2019-06-21 11:18:10 -04:00
Alexey Shvayka
8984ea8080 Add "proxy-missing-checks" feature tag (#2195) 2019-06-12 15:00:18 -04:00
Frank Yung-Fong Tang
49eee8bf9d Initial tests for Intl.DateTimeFormat quarter/dayPeriod/fractionalSecondDigits (#2194) 2019-06-12 11:55:53 -04:00
Frank Yung-Fong Tang
4b25f6fae8 Add initial tests for Intl.DateTimeFormat formatRange and formatRangeToParts (#2134) 2019-05-01 15:20:29 -04:00
Leo Balter
7e7b9e103d
Port tests from Promise.all to Promise.allSettled (#2124) 2019-04-17 14:17:54 -04:00
Ms2ger
c03e14263e Add tests for the datetime-style proposal. (#2125) 2019-04-10 11:09:40 -04:00
Leo Balter
353cf531d6 Apply review feedback for hashbang 2019-02-14 15:06:08 -05:00
Timothy Gu
72fc9d8c8d Update features.txt status (#2022)
Move proposals that have been incorporated into the standard to the
corresponding section.
2019-01-17 17:08:11 -02:00
Ms2ger
4c0194aaa9 Unified Intl.NumberFormat: Add feature. 2018-11-28 10:25:18 -05:00
Rick Waldron
2792e66c68 features.txt: organize sections (#1967) 2018-11-26 13:21:01 -05:00
André Bargull
c3e384c8c5 Add initial tests for import.meta (#1888)
Fixes #1342
2018-10-23 15:23:08 -04:00
Rick Waldron
c77078809c Dynamic Imports: initial cases, templates, non-generated tests and fixtures 2018-10-04 16:16:35 -04:00