Alex is likely right that you are ending up with some kind of IPC deadlock since the IPC is synchronous.

But also,

On May 27, 2019, at 11:49 PM, Rajagopalan Gangadharan <g.raju2000@gmail.com> wrote:


Please check the source references for more info:
NetworkProcessProxy: [ https://github.com/RAJAGOPALAN-GANGADHARAN/webkit/blob/6bf81d79669be06b4efd9d8ced4139cbe07216b2/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp#L150]

You’re passing 0 instead of the webPID with the IPC here.