Because RemoteInspector now exists in UIProcess, the old method which communicate with RemoteInspector in WebProcess and RemoteInspectorServer in UIProcess was meaningless or even bad. Remove this complex implementation and move communication handling from RemoteInspectorServer to directly RemoteInspector.
Created attachment 380568 [details] PATCH
Created attachment 380575 [details] PATCH style fix
Comment on attachment 380575 [details] PATCH View in context: https://bugs.webkit.org/attachment.cgi?id=380575&action=review > Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorServer.cpp:32 > + Nit: You don't need a newline here (since it's RemoteInspectorMessageParser.h, not RemoteInspectorServer.h). > Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorServer.h:49 > + void didClose(ConnectionID) override { }; Nit: No semicolon needed. > Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorSocketEndpoint.cpp:106 > +#if PLATFORM(PLAYSTATION) || PLATFORM(WIN) Maybe this should be USE(GENERIC_EVENT_LOOP) || USE(WINDOWS_EVENT_LOOP) ?
Comment on attachment 380575 [details] PATCH View in context: https://bugs.webkit.org/attachment.cgi?id=380575&action=review >> Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorServer.h:49 >> + void didClose(ConnectionID) override { }; > > Nit: No semicolon needed. Wow. Yes. It should be handled by style-checker! >> Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorSocketEndpoint.cpp:106 >> +#if PLATFORM(PLAYSTATION) || PLATFORM(WIN) > > Maybe this should be USE(GENERIC_EVENT_LOOP) || USE(WINDOWS_EVENT_LOOP) ? That's right. Actually it is handle if every port has RunLoop::iterate() like WebCore::EventLoop::cycle()
Created attachment 380676 [details] PATCH
Comment on attachment 380676 [details] PATCH Clearing flags on attachment: 380676 Committed r250988: <https://trac.webkit.org/changeset/250988>
All reviewed patches have been landed. Closing bug.
<rdar://problem/56169349>