Bug 232697 - Web Inspector: update local overrides after editing instead of replacing them
Summary: Web Inspector: update local overrides after editing instead of replacing them
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-03 23:46 PDT by Devin Rousso
Modified: 2021-11-10 22:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>