| assert.js |
---
description: |
Collection of assertion functions used throughout test262
defines: [assert]
--- |
4594 |
- |
| assertRelativeDateMs.js |
---
description: |
Verify that the given date object's Number representation describes the
correct number of milliseconds since the Unix epoch relative to the local
time zone (as interpreted at the specified date).
defines: [assertRelativeDateMs]
--- |
786 |
- |
| asyncHelpers.js |
---
description: |
A collection of assertion and wrapper functions for testing asynchronous built-ins.
defines: [asyncTest, assert.throwsAsync]
--- |
3575 |
- |
| atomicsHelper.js |
---
description: >
Collection of functions used to interact with Atomics.* operations across agent boundaries.
defines:
- $262.agent.getReportAsync
- $262.agent.getReport
- $262.agent.safeBroadcastAsync
- $262.agent.safeBroadcast
- $262.agent.setTimeout
- $262.agent.tryYield
- $262.agent.trySleep
--- |
11303 |
- |
| byteConversionValues.js |
---
description: |
Provide a list for original and expected values for different byte
conversions.
This helper is mostly used on tests for TypedArray and DataView, and each
array from the expected values must match the original values array on every
index containing its original value.
defines: [byteConversionValues]
--- |
20501 |
- |
| compareArray.js |
---
description: |
Deprecated now that compareArray is defined in assert.js.
defines: [compareArray]
--- |
248 |
- |
| compareIterator.js |
---
description: Compare the values of an iterator with an array of expected values
defines: [assert.compareIterator]
--- |
1112 |
- |
| dateConstants.js |
---
description: |
Collection of date-centric values
defines:
- date_1899_end
- date_1900_start
- date_1969_end
- date_1970_start
- date_1999_end
- date_2000_start
- date_2099_end
- date_2100_start
- start_of_time
- end_of_time
--- |
720 |
- |
| decimalToHexString.js |
---
description: |
Collection of functions used to assert the correctness of various encoding operations.
defines: [decimalToHexString, decimalToPercentHexString]
--- |
641 |
- |
| deepEqual.js |
---
description: >
Compare two values structurally
defines: [assert.deepEqual]
--- |
13195 |
- |
| detachArrayBuffer.js |
---
description: |
A function used in the process of asserting correctness of TypedArray objects.
$262.detachArrayBuffer is defined by a host.
defines: [$DETACHBUFFER]
--- |
537 |
- |
| doneprintHandle.js |
---
description: |
defines: [$DONE]
--- |
625 |
- |
| features.yml |
|
183 |
- |
| fnGlobalObject.js |
---
description: |
Produce a reliable global object
defines: [fnGlobalObject]
--- |
330 |
- |
| isConstructor.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
544 |
- |
| iteratorZipUtils.js |
---
description: |
Utility functions for testing Iterator.prototype.zip and Iterator.prototype.zipKeyed. Requires inclusion of propertyHelper.js.
defines:
- forEachSequenceCombination
- forEachSequenceCombinationKeyed
- assertZipped
- assertZippedKeyed
- assertIteratorResult
- assertIsPackedArray
--- |
6462 |
- |
| nans.js |
---
description: |
A collection of NaN values produced from expressions that have been observed
to create distinct bit representations on various platforms. These provide a
weak basis for assertions regarding the consistent canonicalization of NaN
values in Array buffers.
defines: [NaNs]
--- |
608 |
- |
| nativeFunctionMatcher.js |
---
description: Assert _NativeFunction_ Syntax
info: |
NativeFunction :
function _NativeFunctionAccessor_ opt _IdentifierName_ opt ( _FormalParameters_ ) { [ native code ] }
NativeFunctionAccessor :
get
set
defines:
- assertToStringOrNativeFunction
- assertNativeFunction
- validateNativeFunctionSource
--- |
21506 |
- |
| promiseHelper.js |
---
description: |
Check that an array contains a numeric sequence starting at 1
and incrementing by 1 for each entry in the array. Used by
Promise tests to assert the order of execution in deep Promise
resolution pipelines.
defines: [checkSequence, checkSettledPromises]
--- |
2411 |
- |
| propertyHelper.js |
---
description: |
Collection of functions used to safely verify the correctness of
property descriptors.
defines:
- verifyProperty
- verifyCallableProperty
- verifyEqualTo # deprecated
- verifyWritable # deprecated
- verifyNotWritable # deprecated
- verifyEnumerable # deprecated
- verifyNotEnumerable # deprecated
- verifyConfigurable # deprecated
- verifyNotConfigurable # deprecated
- verifyPrimordialProperty
- verifyPrimordialCallableProperty
--- |
12072 |
- |
| proxyTrapsHelper.js |
---
description: |
Used to assert the correctness of object behavior in the presence
and context of Proxy objects.
defines: [allowProxyTraps]
--- |
1755 |
- |
| regExpUtils.js |
---
description: |
Collection of functions used to assert the correctness of RegExp objects.
defines: [buildString, testPropertyEscapes, testPropertyOfStrings, testExtendedCharacterClass, matchValidator]
--- |
3635 |
- |
| resizableArrayBufferUtils.js |
---
description: |
Collection of helper constants and functions for testing resizable array buffers.
defines:
- floatCtors
- ctors
- MyBigInt64Array
- CreateResizableArrayBuffer
- MayNeedBigInt
- Convert
- ToNumbers
- CreateRabForTest
- CollectValuesAndResize
- TestIterationAndResize
features: [BigInt]
--- |
3829 |
- |
| sm |
|
|
- |
| sta.js |
---
description: |
Provides both:
- An error class to avoid false positives when testing for thrown exceptions
- A function to explicitly throw an exception using the Test262Error class
defines: [Test262Error, $DONOTEVALUATE]
--- |
719 |
- |
| tcoHelper.js |
---
description: |
This defines the number of consecutive recursive function calls that must be
made in order to prove that stack frames are properly destroyed according to
ES2015 tail call optimization semantics.
defines: [$MAX_ITERATIONS]
--- |
433 |
- |
| temporalHelpers.js |
---
description: |
This defines helper objects and functions for testing Temporal.
defines: [TemporalHelpers]
features: [Symbol.species, Symbol.iterator, Temporal]
--- |
48143 |
- |
| testAtomics.js |
---
description: |
Collection of functions used to assert the correctness of SharedArrayBuffer objects.
defines:
- testWithAtomicsOutOfBoundsIndices
- testWithAtomicsInBoundsIndices
- testWithAtomicsNonViewValues
--- |
3489 |
- |
| testIntl.js |
---
description: |
This file contains shared functions for the tests in the conformance test
suite for the ECMAScript Internationalization API.
author: Norbert Lindenberg
defines:
- testWithIntlConstructors
- taintDataProperty
- taintMethod
- taintProperties
- taintArray
- getLocaleSupportInfo
- getInvalidLanguageTags
- isCanonicalizedStructurallyValidLanguageTag
- getInvalidLocaleArguments
- testOption
- testForUnwantedRegExpChanges
- allCalendars
- allCollations
- allNumberingSystems
- isValidNumberingSystem
- numberingSystemDigits
- allSimpleSanctionedUnits
- testNumberFormat
- getDateTimeComponents
- getDateTimeComponentValues
- isCanonicalizedStructurallyValidTimeZoneName
- partitionDurationFormatPattern
- formatDurationFormatPattern
--- |
71047 |
- |
| testTypedArray.js |
---
description: |
Collection of functions used to assert the correctness of TypedArray objects.
defines:
- floatArrayConstructors
- nonClampedIntArrayConstructors
- intArrayConstructors
- typedArrayConstructors
- TypedArray
- testWithAllTypedArrayConstructors
- testWithTypedArrayConstructors
- testWithBigIntTypedArrayConstructors
- nonAtomicsFriendlyTypedArrayConstructors
- testWithAtomicsFriendlyTypedArrayConstructors
- testWithNonAtomicsFriendlyTypedArrayConstructors
- testTypedArrayConversions
--- |
14920 |
- |
| typeCoercion.js |
---
description: |
Functions to help generate test cases for testing type coercion abstract
operations like ToNumber.
defines:
- testCoercibleToIndexZero
- testCoercibleToIndexOne
- testCoercibleToIndexFromIndex
- testCoercibleToIntegerZero
- testCoercibleToIntegerOne
- testCoercibleToNumberZero
- testCoercibleToNumberNan
- testCoercibleToNumberOne
- testCoercibleToIntegerFromInteger
- testPrimitiveWrappers
- testCoercibleToPrimitiveWithMethod
- testNotCoercibleToIndex
- testNotCoercibleToInteger
- testNotCoercibleToNumber
- testNotCoercibleToPrimitive
- testCoercibleToString
- testNotCoercibleToString
- testCoercibleToBooleanTrue
- testCoercibleToBooleanFalse
- testCoercibleToBigIntZero
- testCoercibleToBigIntOne
- testCoercibleToBigIntFromBigInt
- testNotCoercibleToBigInt
--- |
12365 |
- |
| wellKnownIntrinsicObjects.js |
---
description: |
An Array of all representable Well-Known Intrinsic Objects
defines: [WellKnownIntrinsicObjects, getWellKnownIntrinsicObject]
--- |
8068 |
- |