[Webkit-unassigned] [Bug 21769] New: MessagePort should be GC protected if there are messages to be delivered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 21 02:39:08 PDT 2008


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

           Summary: MessagePort should be GC protected if there are messages
                    to be delivered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


Even if a message port and its entangled port both become inaccessible from JS,
outstanding messages should be delivered, as there may be listeners registered.

This is kinda obvious, as it is too easy to write JS code that fails randomly
if GC kicks in just in time for messages to be lost. But HTML5 was just changed
to say this.

Patch forthcoming.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list