Open Bug 1547146 Opened 6 years ago Updated 2 years ago

Use consistent behavior in StructuredCloneHolder wrt thrown JS exceptions

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bhackett1024, Unassigned)

References

(Blocks 1 open bug)

Details

StructuredCloneHolder::Read clears JS exceptions that occur on failure, while StructuredCloneHolder::Write preserves any exceptions on the context. It would be nice if these two APIs were consistent with each other, and the behavior documented. See also part 2 of bug 1392408.

Type: defect → enhancement
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.