← Back to Pull requests

Editorial: Add more entries to Annex F #4047

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Oct 30, 2026 14:31 UTC
Author

Ref: https://github.com/tc39/ecma262/pull/3972#pullrequestreview-5701427725

Disclaimer: I had an LLM read and classify the commit history since June 2018 and produce the following tables, so this PR is not making any exhaustiveness claims.

The actual changes were done by hand.

<details>
<summary>Classifications</summary>

| Commit | Title | Feature first appeared | Changed in |
|---|---|---|---|
| 7428c89 | Prevent JSON.stringify from returning ill-formed Unicode strings | ES5 | ES2019 |
| b41a832 | Add three missing checks in proxy internal methods | ES2015 | ES2020 |
| bf37eb3 | Make super() throw after evaluating args | ES2015 | ES2020 |
| a95e95a | Let all early errors be SyntaxErrors | ES5 | ES2020 |
| ddac91d | ToInteger normalizes -0 to +0 | ES2017 | ES2020 |
| 25745fe | Lookup constructor.resolve only once | ES2015 | ES2020 |
| 0b89915 | Suppress GetMethod errors in IteratorClose | ES2015 (async: ES2018) | ES2021 |
| ebe4001 | Remove steps 2 and 4 from ProxyCreate | ES2015 | ES2021 |
| d9e5692 | Define default constructors using spec steps | ES2015 | ES2021 |
| ac0740b | Allow Atomics methods to work on ArrayBuffers | ES2017 | ES2021 |
| 18c134e | Make async iterators next/return/throw not pass undefined when value is absent | ES2018 | ES2021 |
| 855093b | Promise.{all,allSettled,race} should check resolve is a function before opening their iterable | ES2015 (allSettled: ES2020) | ES2021 |
| 99b176b | Avoid mostly-redundant await in async yield* | ES2018 | ES2023 |
| 35b7eb2 | Always check regular expression flags by "flags" | ES2015 | ES2023 |
| e0c74e1 | Remove detach check in TypedArray.prototype.sort comparator | ES2015 | ES2023 |
| e7979fd | Remove Symbol.species from InitializeTypedArrayFromTypedArray | ES2015 | ES2023 |
| ed75310 | Remove [[VarNames]] from the global | ES2015 | ES2025 |
| ff129b1 | Close sync iterator when async wrapper yields rejection | ES2018 | ES2025 |
| 4752038 | Align async modules rejection order with fulfillment order | ES2022 | ES2026 |
| 1a78d83 | Make re-exporting a namespace object in 2 steps behave like 1 step | ES2015 | ES2026 |
| 9235b15 | Make Promise.try use PromiseResolve in non-error case | ES2025 | ES2027 |

Ignored: web reality

| Commit | Title |
|---|---|
| 74a9ef8 | Set "name" property for anonymous functions |
| a4a142c | Align detached buffer semantics with web reality |
| ba09250 | IntegerIndexedElementSet should always indicate success |
| c874fcd | Do not apply Early Error for duplicate __proto__ properties when performing JSON.parse |
| 19e88da | IsSimpleParameterList is false for standalone rest parameters |
| 23ac241 | continue labels should not pass through blocks |
| c2a9389 | Make SharedArrayBuffer's sole parameter required |
| 6e70429 | Allow [[ReferencedName]] in Reference Records to be a not-yet-resolved property key |
| bc1c445 | Don't call well-known Symbol methods for RegExp on primitive values |
| 9b6a4a4 | Add "Late Errors for Function Call Assignment Targets" to Annex B |
| f512200 | Only coerce once in BigInt constructor |
| 8edfa9b | Clarify validity of negative expanded year 0 |
| 750b51c | Specify creation order for capturing group properties |
| 5eaee2f | Update GetSubstitution to match reality |
| 7efaa50 | Specify \8 and \9 in sloppy non-template strings |
| 1cad710 | WeakRef.prototype.constructor should be writable |
| 752fe3f | Forbid for-of loops with variable named async |

Ignored: spec bug with no well-defined prior behaviour

| Commit | Title | Why |
|---|---|---|
| ca53334 | Fix out-of-range NaNs in date set methods | Old text was nonsensical; the fix picked SpiderMonkey's behaviour |
| 6363c2d | Handle broken promises in AsyncGenerator.prototype.return | Old spec applied ! to an operation that could throw |
| 844c8e8 | Require at least four digits in string representations of negative years | Old padding rule was ambiguous for negative years |

Ignored: changed one edition after introduction

| Commit | Title | Why |
|---|---|---|
| ae080b8 | Restore params/body ToString order in new Function | The accidental reorder shipped in ES2024 and was reverted in ES2025 |
| c1040ff | Return false in [[PreventExtensions]] for variable length TypedArrays | Resizable buffers arrived in ES2024; the invariant hole was fixed in ES2025 |

Ignored: not an incompatibility

| Commit | Title | Why |
|---|---|---|
| fe9b81a | Make Function.prototype.toString forward-compatible and fully defined | Only tightened output that was implementation-defined |
| 346e583 | Set function name and length in CreateBuiltinFunction | Property order was previously unspecified |
| e7f1e5d | Revert U+2212 in timezone offsets | Not observable, since strings outside the format fall back to implementation-specific parsing |
| 3610134 | Make SharedArrayBuffer optional | A host permission; the global property is configurable anyway |
| 8eab6e8 | Add Reflect[Symbol.toStringTag] | A pure addition |

</details>

Diff: 650 lines (+487 / -163) across 8 files Reviewer: linusg Review duration: 34118m
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.57) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
0.57
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
46%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.388
Shallow Review Depth shallow_review_depth
0.344
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4047"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 46.7% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 57% (MEDIUM) · Higher = larger blast radius
57%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 46.7% · Lower = rushed or shallow review
46.7%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 30.4% · Safe to merge
30.4%
Repository