Bug 196382

Summary: Web Inspector: add fast returns for instrumentation hooks that have no affect before a frontend is connected
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, keith_miller, mark.lam, mkwst, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews114 for mac-highsierra
none
Patch none

Description Devin Rousso 2019-03-28 17:22:17 PDT
.
Comment 1 Radar WebKit Bug Importer 2019-03-28 17:22:44 PDT
<rdar://problem/49403417>
Comment 2 Devin Rousso 2019-03-28 17:27:23 PDT
Created attachment 366228 [details]
Patch
Comment 3 Joseph Pecoraro 2019-03-28 18:41:39 PDT
Comment on attachment 366228 [details]
Patch

r=me, nice
Comment 4 EWS Watchlist 2019-03-28 19:31:19 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2019-03-28 19:31:21 PDT Comment hidden (obsolete)
Comment 6 Devin Rousso 2019-03-29 13:30:10 PDT
Created attachment 366303 [details]
Patch

Replace the `ASSERT` with early returns, as there are a lot of different paths to the various console agent functions, and it's far simpler to have the check in the console agent than at every call site.
Comment 7 WebKit Commit Bot 2019-03-29 14:49:59 PDT
Comment on attachment 366303 [details]
Patch

Clearing flags on attachment: 366303

Committed r243663: <https://trac.webkit.org/changeset/243663>
Comment 8 WebKit Commit Bot 2019-03-29 14:50:01 PDT
All reviewed patches have been landed.  Closing bug.