mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-29 09:23:32 +08:00
Issue: - pseudoType nodes are vulnerable to causing a failure since it references its parent on setAsInspectedNode which causes a failure if the pseudoType node is unbound Changes: - Adding a check in _selectedNodeChanged for the case of an unbound pseudo node and to treat it as the null case Bug: 1104027 Change-Id: I90ff8d58751f1fb093d16e2fc174488dc416a2fe Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2290469 Commit-Queue: Michael Liao <michael.liao@microsoft.com> Reviewed-by: Songtao Xia <soxia@microsoft.com>