Bug 232697

Summary: Web Inspector: update local overrides after editing instead of replacing them
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, 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=232699

Description Devin Rousso 2021-11-03 23:46:06 PDT
after editing a local override, the existing `WI.LocalResourceOverride` is removed and then a new one is created/added

this is kinda wasteful, especially for larger overridden resources, as we have to recreate an entire `WI.ResourceContentView` again (which includes `CodeMirror`)
Comment 1 Radar WebKit Bug Importer 2021-11-10 22:47:18 PST
<rdar://problem/85285632>