test262/features.txt

292 lines
6.8 KiB
Plaintext
Raw Normal View History

## Proposed language features
#
# This project accepts tests for language proposals that have reached stage 3
# in TC39's standardization process. Those tests should be annotated with a
# dedicated feature flag so that consumers may more easily omit them as
# necessary.
#
# Generally, feature flags should be per proposal, not per individual API
# that a proposal adds. To filter for specific APIs, use the directory
# structure.
#
# https://github.com/tc39/process-document
# Intl.Locale Info
# https://github.com/tc39/proposal-intl-locale-info
Intl.Locale-info
# FinalizationRegistry#cleanupSome
2021-11-04 20:03:33 +01:00
# https://github.com/tc39/proposal-cleanup-some
FinalizationRegistry.prototype.cleanupSome
# Intl.NumberFormat V3
# https://github.com/tc39/proposal-intl-numberformat-v3
Intl.NumberFormat-v3
2020-06-10 22:10:00 +02:00
# Legacy RegExp features
# https://github.com/tc39/proposal-regexp-legacy-features
legacy-regexp
# Atomics.waitAsync
# https://github.com/tc39/proposal-atomics-wait-async
Atomics.waitAsync
2023-09-13 14:07:40 +02:00
# Import Attributes
# https://github.com/tc39/proposal-import-attributes/
import-attributes
# Import Assertions (Normative Optional, Deprecated)
# This feature should not be implemented, but if it is it must
# respect the specified behavior
# https://github.com/tc39/proposal-import-attributes/
2021-07-16 16:02:41 +02:00
import-assertions
# JSON modules
# https://github.com/tc39/proposal-json-modules
json-modules
# Resizable Arraybuffer
# https://github.com/tc39/proposal-resizablearraybuffer
resizable-arraybuffer
# ArrayBuffer transfer
# https://github.com/tc39/proposal-arraybuffer-transfer
arraybuffer-transfer
2021-07-16 16:02:41 +02:00
# Temporal
# https://github.com/tc39/proposal-temporal
Temporal
# ShadowRealm, née Callable Boundary Realms
2021-07-16 16:07:17 +02:00
# https://github.com/tc39/proposal-realms
ShadowRealm
2021-07-16 16:07:17 +02:00
# Object.groupBy & Map.groupBy
# https://github.com/tc39/proposal-array-grouping
array-grouping
2021-12-03 00:59:48 +01:00
# Intl.DurationFormat
# https://github.com/tc39/proposal-intl-duration-format
Intl.DurationFormat
# RegExp set notation + properties of strings
# https://github.com/tc39/proposal-regexp-set-notation
regexp-v-flag
2022-05-02 16:44:12 +02:00
# Decorators
# https://github.com/tc39/proposal-decorators
decorators
# Duplicate named capturing groups
# https://github.com/tc39/proposal-duplicate-named-capturing-groups
regexp-duplicate-named-groups
# https://tc39.es/proposal-array-from-async/
Array.fromAsync
# Well-formed Unicode strings
# https://github.com/tc39/proposal-is-usv-string
String.prototype.isWellFormed
String.prototype.toWellFormed
2023-03-27 22:22:04 +02:00
# JSON.parse with source
# https://github.com/tc39/proposal-json-parse-with-source
json-parse-with-source
# Regular expression modifiers
# https://github.com/tc39/proposal-regexp-modifiers
regexp-modifiers
Iterator Helpers (#2818) drop: property descriptor name length [[Prototype]] is a function is not constructible result instanceof Iterator limit is given a non-primitive that needs to be converted to a number through valueOf through toString (array) limit coercion to number throws limit converts to NaN same as limit not supplied limit behaves properly limit < number of values limit = number of values limit > number of values gets the next method from the underlying iterator only once underlying iterator has throwing next getter underlying iterator next throws when advancing past dropped items underlying iterator is advanced after calling drop underlying iterator is closed after calling drop underlying iterator is already closed underlying iterator next returns non-object underlying iterator next returns object with throwing done/value getters underlying iterator return is never called when result iterator is closed every: property descriptor name length [[Prototype]] is a function is callable is not constructible result is a Boolean predicate is non-callable iterator already exhausted called on non-object called on object with "next" method called on object with non-callable "next" method predicate returns non-Boolean predicate returns truthy for all iterated values returns true predicate returns truthy for some iterated values but then falsey for at least one iterated value returns false iteration stops iterator is closed predicate returns falsey immediately returns false iteration stops iterator is closed predicate throws every throws iterator is closed predicate throws then iterator close also throws predicate this value is undefined predicate is passed the yielded value as the first parameter and a counter as second parameter gets the next method from the iterator only once iterator has throwing next getter iterator has throwing return getter iterator next throws iterator return throws iterator next returns non-object iterator next returns object with throwing done/value getters Co-authored-by: Michael Ficarra <mficarra@shapesecurity.com> Co-authored-by: Jordan Harband <ljharb@gmail.com>
2023-06-15 17:07:41 +02:00
# Iterator Helpers
# https://github.com/tc39/proposal-iterator-helpers
iterator-helpers
# Promise.withResolvers
# https://github.com/tc39/proposal-promise-with-resolvers
promise-with-resolvers
2024-05-02 00:27:31 +02:00
# Promise.try
# https://github.com/tc39/proposal-promise-try
promise-try
2023-11-19 04:53:46 +01:00
# Set methods
# https://github.com/tc39/proposal-set-methods
set-methods
# Explicit Resource Management
# https://github.com/tc39/proposal-explicit-resource-management
explicit-resource-management
2024-03-12 19:34:59 +01:00
# Float16Array + Math.f16round
# https://github.com/tc39/proposal-float16array
Float16Array
# Source Phase Imports
## https://github.com/tc39/proposal-source-phase-imports
source-phase-imports
## test262 special specifier
source-phase-imports-module-source
## Standard language features
#
# Language features that have been included in a published version of the
# ECMA-262 specification. These flags are largely maintained for historical
# reasons, though their use for relatively new features (i.e. prior to
# availability across major implementations) is appreciated.
AggregateError
align-detached-buffer-semantics-with-web-reality # https://github.com/tc39/ecma262/pull/2164
arbitrary-module-namespace-names # https://github.com/tc39/ecma262/pull/2154
ArrayBuffer
2023-10-10 05:48:46 +02:00
array-find-from-last
Array.prototype.at
Array.prototype.flat
Array.prototype.flatMap
Array.prototype.includes
Array.prototype.values
arrow-function
async-iteration
async-functions
Atomics
BigInt
caller
2023-10-10 05:48:46 +02:00
change-array-by-copy
class
class-fields-private
class-fields-private-in
class-fields-public
class-methods-private
class-static-block
class-static-fields-private
class-static-fields-public
class-static-methods-private
coalesce-expression
computed-property-names
const
2017-09-22 20:14:06 +02:00
cross-realm
DataView
DataView.prototype.getFloat32
DataView.prototype.getFloat64
DataView.prototype.getInt16
DataView.prototype.getInt32
DataView.prototype.getInt8
DataView.prototype.getUint16
DataView.prototype.getUint32
DataView.prototype.setUint8
default-parameters
destructuring-assignment
destructuring-binding
dynamic-import
error-cause
exponentiation
export-star-as-namespace-from-module # https://github.com/tc39/ecma262/pull/1174
FinalizationRegistry
for-in-order
for-of
Float32Array
Float64Array
generators
globalThis
2023-10-10 05:48:46 +02:00
hashbang
import.meta
Int8Array
Int16Array
Int32Array
Intl-enumeration
intl-normative-optional # https://tc39.es/ecma402/#legacy-constructor
Intl.DateTimeFormat-datetimestyle
Intl.DateTimeFormat-dayPeriod # https://github.com/tc39/ecma402/pull/346
Intl.DateTimeFormat-extend-timezonename
Intl.DateTimeFormat-formatRange
Intl.DateTimeFormat-fractionalSecondDigits # https://github.com/tc39/ecma402/pull/347
Intl.DisplayNames
Intl.DisplayNames-v2
Intl.ListFormat
Intl.Locale
Intl.NumberFormat-unified
Intl.RelativeTimeFormat
Intl.Segmenter
json-superset
let
logical-assignment-operators
Map
new.target
numeric-separator-literal
object-rest
object-spread
Object.fromEntries
Object.hasOwn
2018-01-11 16:20:50 +01:00
Object.is
optional-catch-binding
optional-chaining
Promise
Promise.allSettled
Promise.any
Promise.prototype.finally
Proxy
proxy-missing-checks # https://github.com/tc39/ecma262/pull/666
Reflect
Reflect.construct
Reflect.set
Reflect.setPrototypeOf
regexp-dotall
regexp-lookbehind
regexp-match-indices
regexp-named-groups
regexp-unicode-property-escapes
rest-parameters
Set
SharedArrayBuffer
string-trimming
String.fromCodePoint
String.prototype.at
String.prototype.endsWith
String.prototype.includes
String.prototype.matchAll
String.prototype.replaceAll
String.prototype.trimEnd
String.prototype.trimStart
super
Symbol
2023-10-10 05:48:46 +02:00
symbols-as-weakmap-keys
Symbol.asyncIterator
Symbol.hasInstance
Symbol.isConcatSpreadable
Symbol.iterator
Symbol.match
Symbol.matchAll
Symbol.prototype.description
Symbol.replace
Symbol.search
Symbol.species
Symbol.split
Symbol.toPrimitive
Symbol.toStringTag
Symbol.unscopables
tail-call-optimization
template
top-level-await
TypedArray
TypedArray.prototype.at
u180e
Uint8Array
Uint16Array
Uint32Array
Uint8ClampedArray
WeakMap
WeakRef
WeakSet
well-formed-json-stringify
2020-10-01 00:52:36 +02:00
__proto__
__getter__
__setter__
## Test-Harness Features
#
# The rare cases where testing language functionality requires non-standard
# language features, exposed through global-environment functions on the $262
# object, go here.
IsHTMLDDA
host-gc-required