Closed
Bug 1935510
Opened 10 months ago
Closed 4 months ago
Normative: Iterator helpers close receiver on argument validation failure
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
141 Branch
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: dminor, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Implement changes from https://github.com/tc39/ecma262/pull/3467
Updated•10 months ago
|
Severity: -- → N/A
Priority: -- → P2
| Assignee | ||
Comment 1•5 months ago
|
||
try-catch with an empty catch block, because exceptions from IteratorClose
have to be ignored.
Updated•5 months ago
|
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•5 months ago
|
||
- Moved the
ToNumbercoercion into a separatetry-catchblock, so that it
matches the spec more closely. - Rethrowing the error through
throw edoesn't propagate the original
stacktrace when throwing non-Error values, see also bug 1843499 for a similar
issue. This behaviour isn't great, but shouldn't block this bug. See also
"builtin/Generator.js" for other self-hosted code which usesthrow eto
rethrow an exception.
| Assignee | ||
Comment 3•5 months ago
|
||
Update remaining spec references in Iterator.js.
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9a0b5db16379
Part 1: Perform IteratorClose when callback argument is not a function. r=spidermonkey-reviewers,iain
https://hg.mozilla.org/integration/autoland/rev/97665d31b0b6
Part 2: Perform IteratorClose when limit coercion throws or limit is invalid. r=spidermonkey-reviewers,iain
https://hg.mozilla.org/integration/autoland/rev/4fe79d50a0d8
Part 3: Update spec references. r=spidermonkey-reviewers,iain
Comment 5•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9a0b5db16379
https://hg.mozilla.org/mozilla-central/rev/97665d31b0b6
https://hg.mozilla.org/mozilla-central/rev/4fe79d50a0d8
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Updated•4 months ago
|
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in
before you can comment on or make changes to this bug.
Description
•