Open Bug 1612997 Opened 6 years ago Updated 3 years ago

Do not keep an entangled but otherwise unreferenced MessagePort alive when its port message queue has not been enabled

Categories

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

enhancement

Tracking

()

People

(Reporter: karlt, Unassigned)

References

Details

(Keywords: parity-chrome)

This is workaround for bug 1476518 to handle the case of an unused entangled MessagePort, which is common in AudioWorkletNode use.

I wonder whether this could be extended to include cases where there are no message listeners and no messageerror listeners (even when the port message queue has been enabled). Can StructuredDeserializeWithTransfer() have side effects to be observed even when there are no listeners for the associated MessagePort events?

The Blink implementation returns started_ && IsEntangled() for HasPendingActivity().

Keywords: parity-chrome
Blocks: 1616725
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.