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

https://bugs.webkit.org/show_bug.cgi?id=245314
rdar://100203923

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:
(WI.DOMNode):

Canonical link: https://commits.webkit.org/254744@main
  • 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)
layoutFlags.append(payload.layoutContextType);
layoutFlags.push(payload.layoutContextType);
this.layoutFlags = layoutFlags;
} else
this.layoutFlags = payload.layoutFlags;

0 comments on commit 4671450

Please sign in to comment.