| Summary: | Web Inspector: remove experimental setting and enable Layout sidebar | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | BJ Burg <bburg> | ||||||||
| Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bburg, ews-watchlist, hi, inspector-bugzilla-changes, nvasilyev, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 223209 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
BJ Burg
2021-02-01 22:57:28 PST
As part of this, the engineering-only context menu items for showing/hiding grid overlays should be removed. At that point they will no longer be necessary. (In reply to BJ Burg from comment #1) > As part of this, the engineering-only context menu items for showing/hiding > grid overlays should be removed. At that point they will no longer be > necessary. This was removed in Web Inspector: CSS Grid Inspector clean-up https://trac.webkit.org/changeset/274229/webkit Created attachment 423221 [details]
Patch
Created attachment 423223 [details]
Patch
Comment on attachment 423223 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423223&action=review > Source/WebInspectorUI/UserInterface/Views/ElementsTabContentView.js:33 > + WI.LayoutDetailsSidebarPanel, Shouldn't this only be added if the backend has `CSS.nodeLayoutContextTypeChanged` (and/or any of the other new protocol things)? Created attachment 423264 [details]
Patch
Comment on attachment 423264 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423264&action=review > Source/WebInspectorUI/UserInterface/Views/ElementsTabContentView.js:36 > + // COMPATIBILITY (iOS 14.5): `DOM.showGridOverlay` did not exist yet. > + if (InspectorBackend.hasCommand("DOM.showGridOverlay")) I don't know if should check for anything else here. Other commands were added around the same time, and it looks like we usually check for only one command elsewhere in our codebase. Comment on attachment 423264 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423264&action=review r=me >> Source/WebInspectorUI/UserInterface/Views/ElementsTabContentView.js:36 >> + if (InspectorBackend.hasCommand("DOM.showGridOverlay")) > > I don't know if should check for anything else here. Other commands were added around the same time, and it looks like we usually check for only one command elsewhere in our codebase. This is fine. Committed r274466: <https://commits.webkit.org/r274466> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423264 [details]. |