Command-Z only works until you reload the page.
<rdar://problem/55276645>
The TextResourceContentView gets closed via SourcesNavigationSidebarPanel _updateMainFrameTreeElement closeAllContentViews(). Perhaps we can avoid closing these particular content views.
Created attachment 378662 [details] [PATCH] Proposed Fix
Comment on attachment 378662 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=378662&action=review r=me, it doesn't look like `WI.TextResourceContentView` (or any of it's superclasses) rely on the current main frame, so I think this is safe :) > Source/WebInspectorUI/UserInterface/Views/ContentViewContainer.js:289 > + for (let i = 0; i < this._backForwardList.length; ++i) { `for (let entry of this._backForwardList)`
Comment on attachment 378662 [details] [PATCH] Proposed Fix Clearing flags on attachment: 378662 Committed r249828: <https://trac.webkit.org/changeset/249828>
All reviewed patches have been landed. Closing bug.