Skip to content
Browse files
Web Inspector: DOM tree is missing parts of the DOM tree when remotel…
…y inspecting iOS devices

Reviewed by Alexey Proskuryakov.

A typo in our compatibility handling for older protocol versions caused us to not actually add all the DOMNodes to our
frontend representation of the DOM tree.

* Source/WebInspectorUI/UserInterface/Models/DOMNode.js:

Canonical link:
  • Loading branch information
patrickangle committed Sep 22, 2022
1 parent 78e437c commit 46714502452254ee3d032e00b070d267fb6823ea
Showing 1 changed file with 1 addition and 1 deletion.
@@ -162,7 +162,7 @@ WI.DOMNode = class DOMNode extends WI.Object
if (!InspectorBackend.Enum.CSS.LayoutFlag) {
let layoutFlags = [WI.DOMNode.LayoutFlag.Rendered];
if (payload.layoutContextType)
this.layoutFlags = layoutFlags;
} else
this.layoutFlags = payload.layoutFlags;

0 comments on commit 4671450

Please sign in to comment.