DescriptionMac: Ensure that Mach messages always get a reply
It may be that not getting replies from Mach messages was causing the
renderer to hang (appearing as a persistent blank white screen).
In particular, we send IOSurface Register and Acquire functions with the
flags MACH_SEND_MSG | MACH_RCV_MSG, but, if the browser doesn't
understand the request, it never sends the message back to the renderer,
so the receive part hangs forever.
Add a flag containing the result of the browser's operation, and, if
the renderer would not have gotten a message back (and would have hung),
just crash the renderer.
BUG=532149
Committed: https://crrev.com/7c766ff43c0b84fb97e2a58c3be183c3d1339f23
Cr-Commit-Position: refs/heads/master@{#349743}
Patch Set 1 #Patch Set 2 : Fix unit tests #
Total comments: 8
Patch Set 3 : Incorporate review feedback #
Total comments: 4
Patch Set 4 : Incorporate review feedback #
Total comments: 5
Patch Set 5 : Incorporate review feedback #Patch Set 6 : IRF #
Messages
Total messages: 15 (3 generated)
|