[Webkit-unassigned] [Bug 199016] [WinCairo] Allow RemoteInspector socket protocol to exchange backendCommands.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 19 12:25:06 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199016
--- Comment #1 from Basuke Suzuki <Basuke.Suzuki at sony.com> ---
1. Attach hash of embedded backendCommands.js to backend when sending `SetupInspectorClient` event. https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/WebKit/UIProcess/glib/RemoteInspectorClient.cpp#L209
2. Backend checks received hash with its own backendCommands.js. If they are different, send the content to frontend. If they are same, send empty string. https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorServer.cpp#L277
Note: The result of 2 is returned via DBus's feature. Our implementation needs to create a new event for that.
3. Client get the backendCommands result and pass it to remote inspector proxy. https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/WebKit/UIProcess/glib/RemoteInspectorClient.cpp#L237
Note: This must be the first message for client to process. It can be possible `SetTargetList` event is delivered before it. We need to sync this situation.
--
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/20190619/b2bcca65/attachment.html>
More information about the webkit-unassigned
mailing list