Closed Bug 1680443 Opened 4 years ago Closed 1 year ago

ContentProcessSession:onEvent fails to send async message if params contain cyclic objects (window)

Categories

(Remote Protocol :: CDP, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

Details

Noticed that while implementing bug 1553854. Problem is that no error is raised and as such this failure is hard to spot. We should clearly catch that error and handle it appropriately.

This always happens when an event from a content domain emits an event with such an object as parameter included.

The underlying problem to not pass-in cyclic objects is a different topic. It should be fixed over on bug 1679808.

Component: Agent → CDP
Priority: P3 → P5

We are not going to fix this case.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.