Changelog

tc39/ecma262 · · 11 commits

Editorial cleanup lands a typed array refactor

Mostly spec editorial work, highlighted by a deeper TypedArray validation refactor and a few notable terminology/reference updates.

TypedArray validation gets a dedicated witness-record step (gibson042306a770)

The spec now introduces a dedicated operation for validating TypedArray bounds into a witness Record, intended for use by ValidateTypedArray and related steps. This is the most substantive change of the day: it factors validation into a clearer shared abstraction and should make the memory-model-related text easier to follow.

Spec terminology and references are normalized (ptomato294dcc2, ptomato0d9df3c, ptomato2faa8c2)

The day also updates time-related notes to reflect modern ISO 8601 support for 24:00 and the existence of RFC 9557 for time zone names, normalizes RFC links to the canonical rfc-editor.org/info form, and adds an autolinked definition for “expanded year”. These are editorial, but they improve precision and reduce stale or inconsistent references.

Other misc changes

  • Use named time constants more consistently, including new nsPerSecond / nsPerMillisecond / nsPerMicrosecond constants (ptomato777fc02)
  • Clarify that MethodDefinitionEvaluation on object properties does not produce a PrivateElement (bakkot7cb06a7)
  • Simplify coercion in DoWait (gibson0420cdd9cc)
  • Clarify IsNoTearConfiguration for bigint types and require SEQ-CST ordering (gibson0420f411cc)
  • Use a more common alias name in ValidateIntegerTypedArray (gibson04205e3c17)
  • Refactor ValidateIntegerTypedArray on top of IsNoTearConfiguration (gibson042d94d54e)
  • Avoid some unions with ~unused~ (bakkot2ce6555)