Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Uncaught Exception: Missing node for given nodeId
https://bugs.webkit.org/show_bug.cgi?id=216067 <rdar://problem/68520144> Reviewed by Devin Rousso. * UserInterface/Views/ContentBrowserTabContentView.js: (WI.ContentBrowserTabContentView.prototype.showDetailsSidebarPanels): Rewrite `showDetailsSidebarPanels` in such way that causes no more than one change of selectedSidebarPanel. Previously, `removeSidebarPanel` would cause the change of selectedSidebarPanel, resulting in showing a panel with outdated `this.domNode`. * UserInterface/Views/DOMNodeDetailsSidebarPanel.js: Display a useful error with a relevant location instead of a generic Connection.js error. * UserInterface/Views/Sidebar.js: (WI.Sidebar.prototype.removeSidebarPanel): After removing a panel, don't select the nearest panel. There doesn't seem to be a useful case for it. The selected panel is determined at the removeSidebarPanel callsites. Canonical link: https://commits.webkit.org/229593@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters