Bug 213632

Summary: Web Inspector: release unused backend domains/events/commands once the debuggable type is known
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 201150    
Bug Blocks:    

Devin Rousso
Reported 2020-06-25 17:29:04 PDT
Once legacy support for `Inspector.activateExtraDomains` is no longer needed, Web Inspector doesn't need to hold on to anything not supported by the current `WI.DebuggableType` (and associated `WI.TargetType`s) for feature checking, as once the `WI.DebuggableType` is known it will not change (nor will the associated `WI.TargetType`s). Additionally, we could even streamline the process of ingesting `InspectorBackendCommands.js` by querying for the `WI.DebuggableType` (and associated `WI.TargetType`s) up front or even generate the data structure and model objects directly.
Attachments
Note You need to log in before you can comment on or make changes to this bug.