[Webkit-unassigned] [Bug 27337] Add a getter in MessagePortChannel for the PlatformMessagePortChannel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 16 09:50:58 PDT 2009


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





--- Comment #3 from Andrew Wilson <atwilson at google.com>  2009-07-16 09:50:57 PDT ---
I'm also curious about why this is necessary. The whole point behind
MessagePortChannel is to create a wrapper around PlatformMessagePortChannel to
make sure that you never have a raw PlatformMessagePortChannel floating around
that might not get close()'d.

Exposing a getter for PlatformMessagePortChannel seems dangerous (it's too easy
to inadvertently create leaks) and violates the encapsulation that
MessagePortChannel is intended to provide.

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



More information about the webkit-unassigned mailing list