[Webkit-unassigned] [Bug 193184] MessagePort is unexpectedly GC'ed after activity absence

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 14:31:19 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=193184

Geoffrey Garen <ggaren at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ggaren at apple.com

--- Comment #8 from Geoffrey Garen <ggaren at apple.com> ---
It looks like Bug 181910 was a partial implementation that, by design, allowed a MessagePort to be GC'd after receiving its first message. I guess that's consistent with the observation in this test case, that the MessagePort is GC'd after receiving its first message.

It seems like the behavior we want is that a MessagePort should be ineligible for GC (hasPendingActivity() == true) until (a) it is closed OR (b) its ScriptExecutionContext is torn down OR (c) every connected MessagePort's ScriptExecutionContext is torn down.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221102/6a51741a/attachment.htm>


More information about the webkit-unassigned mailing list