RESOLVED FIXED 197434
[WinCairo] Implement Remote Web Inspector Client.
https://bugs.webkit.org/show_bug.cgi?id=197434
Summary [WinCairo] Implement Remote Web Inspector Client.
Basuke Suzuki
Reported 2019-04-30 13:10:57 PDT
Add implementation of Remote Web Inspector client for WinCairo.
Attachments
PATCH (35.65 KB, patch)
2019-05-01 14:58 PDT, Basuke Suzuki
no flags
Patch (35.86 KB, patch)
2019-05-01 15:01 PDT, Basuke Suzuki
no flags
Patch (37.19 KB, patch)
2019-05-16 16:16 PDT, Ross Kirsling
no flags
Patch (39.06 KB, patch)
2019-05-17 11:43 PDT, Ross Kirsling
no flags
Patch (39.06 KB, patch)
2019-05-20 10:16 PDT, Ross Kirsling
no flags
Patch (39.09 KB, patch)
2019-05-20 11:39 PDT, Ross Kirsling
no flags
Basuke Suzuki
Comment 1 2019-05-01 14:58:48 PDT Comment hidden (obsolete)
Basuke Suzuki
Comment 2 2019-05-01 15:01:29 PDT Comment hidden (obsolete)
Ross Kirsling
Comment 3 2019-05-01 16:46:29 PDT Comment hidden (obsolete)
Basuke Suzuki
Comment 4 2019-05-01 16:59:13 PDT Comment hidden (obsolete)
Ross Kirsling
Comment 5 2019-05-16 16:16:04 PDT
Christopher Reid
Comment 6 2019-05-16 18:15:40 PDT
Comment on attachment 370083 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370083&action=review Some informal comments > Source/WebKit/UIProcess/win/RemoteInspectorClient.cpp:93 > + RELEASE_LOG("Failed"); Is this release log needed? > Source/WebKit/UIProcess/win/WebView.cpp:241 > + m_page->setURLSchemeHandlerForScheme(RemoteInspectorProtocolHandler::create(*m_page), "inspector"); It would be nice if this scheme was just accessible from URL bar navigations and not links in pages. It's consistent with what GTK does currently so it might be okay.
Ross Kirsling
Comment 7 2019-05-17 11:43:41 PDT
Ross Kirsling
Comment 8 2019-05-20 10:16:58 PDT
Don Olmstead
Comment 9 2019-05-20 10:38:42 PDT
Comment on attachment 370258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370258&action=review It looks like Source/WebKit/UIProcess/win/RemoteWebInspectorProxyWin.cpp is the only real Windows file specific file. I would probably put the rest into a socket directory to match whats happening in JavaScriptCore. > Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp:173 > +#if !ENABLE(REMOTE_INSPECTOR) || (!PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(WIN_CAIRO)) It seems like this is basically asking if its inspectable from itself. Are there other places where this is present? If so I would say to make this into its own ENABLE or USE. If not I would do || PLATFORM(IOS) || PLATFORM(WPE) and maybe even add a comment about it.
Ross Kirsling
Comment 10 2019-05-20 11:39:55 PDT
Don Olmstead
Comment 11 2019-05-20 12:35:10 PDT
Comment on attachment 370267 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370267&action=review > Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp:173 > +#if !ENABLE(REMOTE_INSPECTOR) && !PLATFORM(MAC) You're implementing this below. This is incorrect. > Source/WebKit/UIProcess/win/RemoteWebInspectorProxyWin.cpp:101 > +WebPageProxy* RemoteWebInspectorProxy::platformCreateFrontendPageAndWindow() Here's an implementation.
Ross Kirsling
Comment 12 2019-05-20 12:52:04 PDT
(In reply to Don Olmstead from comment #11) > Comment on attachment 370267 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=370267&action=review > > > Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp:173 > > +#if !ENABLE(REMOTE_INSPECTOR) && !PLATFORM(MAC) > > You're implementing this below. This is incorrect. > > > Source/WebKit/UIProcess/win/RemoteWebInspectorProxyWin.cpp:101 > > +WebPageProxy* RemoteWebInspectorProxy::platformCreateFrontendPageAndWindow() > > Here's an implementation. It's not incorrect. RWIProxyMac is the only implementation that's not conditioned on ENABLE(REMOTE_INSPECTOR).
Don Olmstead
Comment 13 2019-05-20 12:54:22 PDT
(In reply to Ross Kirsling from comment #12) > (In reply to Don Olmstead from comment #11) > > Comment on attachment 370267 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=370267&action=review > > > > > Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp:173 > > > +#if !ENABLE(REMOTE_INSPECTOR) && !PLATFORM(MAC) > > > > You're implementing this below. This is incorrect. > > > > > Source/WebKit/UIProcess/win/RemoteWebInspectorProxyWin.cpp:101 > > > +WebPageProxy* RemoteWebInspectorProxy::platformCreateFrontendPageAndWindow() > > > > Here's an implementation. > > It's not incorrect. RWIProxyMac is the only implementation that's not > conditioned on ENABLE(REMOTE_INSPECTOR). My bad. I misread it as an || like the old one.
WebKit Commit Bot
Comment 14 2019-05-20 14:17:07 PDT
Comment on attachment 370267 [details] Patch Clearing flags on attachment: 370267 Committed r245536: <https://trac.webkit.org/changeset/245536>
WebKit Commit Bot
Comment 15 2019-05-20 14:17:09 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 16 2019-05-20 14:18:26 PDT
Note You need to log in before you can comment on or make changes to this bug.