Closed Bug 1888727 Opened 2 years ago Closed 2 years ago

Truncated structured clone of BigInt throws uncatchable exception

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When a structured clone read sees a short input, it should throw an error. But if the short read is detected while reading BigInt data, it throws an uncatchable exception instead.

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Assignee: nobody → sphink
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P1
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac61e6317ee8 Throw truncation error rather than uncatchable exception if structured clone buffer data is too short r=spidermonkey-reviewers,mgaudet
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: