Bug 200587

Summary: Web Inspector: REGRESSION(r248454): WK1 inspector frontend client doesn't queue messages to the frontend before it's loaded
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=200110
Bug Depends on: 200109    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews103 for mac-highsierra
none
Archive of layout-test-results from ews114 for mac-highsierra
none
Patch none

Devin Rousso
Reported 2019-08-09 14:05:52 PDT
WK1 inspector pipes messages to the frontend using `WebCore::InspectorClient::doDispatchMessageOnFrontendPage`, which does NOT do any sort of queueing to wait until the frontend is loaded (`InspectorFrontendHost.loaded()`). Now that we are sending messages immediately, we should always queue.
Attachments
Patch (23.09 KB, patch)
2019-08-09 14:14 PDT, Devin Rousso
no flags
Archive of layout-test-results from ews103 for mac-highsierra (3.43 MB, application/zip)
2019-08-09 15:26 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews114 for mac-highsierra (3.24 MB, application/zip)
2019-08-09 16:24 PDT, EWS Watchlist
no flags
Patch (23.96 KB, patch)
2019-08-09 19:47 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2019-08-09 14:14:42 PDT
Devin Rousso
Comment 2 2019-08-09 14:16:04 PDT
I think this might also fix the test failures for <https://webkit.org/b/200110>.
Joseph Pecoraro
Comment 3 2019-08-09 14:20:28 PDT
Comment on attachment 375954 [details] Patch r=me assuming tests pass!
EWS Watchlist
Comment 4 2019-08-09 15:26:24 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 5 2019-08-09 15:26:25 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 6 2019-08-09 16:24:35 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 7 2019-08-09 16:24:37 PDT Comment hidden (obsolete)
Devin Rousso
Comment 8 2019-08-09 19:47:18 PDT
Created attachment 375996 [details] Patch Add additional code which I mistakenly forgot to copy from `doDispatchMessageOnFrontendPage`
WebKit Commit Bot
Comment 9 2019-08-10 00:02:35 PDT
Comment on attachment 375996 [details] Patch Clearing flags on attachment: 375996 Committed r248497: <https://trac.webkit.org/changeset/248497>
WebKit Commit Bot
Comment 10 2019-08-10 00:02:36 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11 2019-08-10 00:03:20 PDT
Note You need to log in before you can comment on or make changes to this bug.