angular/devtools/src
AleksanderBodurri 5115050928 fix(devtools): DOM traversal bug (#62719)
Previously, Angular devtools would mistakenly traverse the same DOM elements multiple times while doing traversal for the component tree explorer. This error case would occur when more than 1 Angular application root component was present on the same page and in distinct DOM branches.

Some example cases that did work previously:

```html
<app-root>
...
</app-root>
```

```html
<app-root>
...
<app-root-2></app-root-2>
...
</app-root>
```

An example of where it would enter the irregular behaviour

```html
<app-root>
...
</app-root>
<app-root-2>
...
</app-root-2>
```

Now, we properly ignore duplicate DOM paths when looking for application and non-application root component to begin the Angular DevTools component discovery logic.

PR Close #62719
2025-08-18 15:43:09 +00:00
..
app fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
assets build: drop usage of pkg_web (#62990) 2025-08-05 10:08:47 +02:00
environments build: move all rule/macro loading into devtools/defaults.bzl (#62627) 2025-07-14 15:47:05 -07:00
BUILD.bazel refactor(devtools): implement settings store (#62429) 2025-08-06 15:12:00 +02:00
demo-application-environment.ts build: migrate adev devtools package to use ts_project (#61210) 2025-05-08 09:38:30 -07:00
demo-application-operations.ts refactor(devtools): implement settings store (#62429) 2025-08-06 15:12:00 +02:00
iframe-message-bus.ts refactor(devtools): cleanup iframe-message-bus (#62785) 2025-07-25 10:03:03 +02:00
index.html fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
local-storage.ts refactor(devtools): implement settings store (#62429) 2025-08-06 15:12:00 +02:00
main.ts fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
styles.scss refactor(devtools): styles management (#59589) 2025-02-12 10:47:02 -08:00
zone-unaware-iframe-message-bus.ts refactor(devtools): cleanup iframe-message-bus (#62785) 2025-07-25 10:03:03 +02:00