angular/devtools/projects/shell-browser/src/app
AleksanderBodurri fa46844f5c fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805)
Previously, a race condition could cause DevTools to enter a state where it can't detect an application on reload. This was caused by a sequencing issue between the content script connection, the devtools panel connection and an event "backendReady" that lets DevTools know when a particular frame is ready to be inspected.

This commit replaces the previously stored backendReady boolean with a promise, so that the devtools panel can eventually run a callback to connect to a content script when that content script emits it's backendReady message.

PR Close #54805
2024-03-26 09:19:16 -07:00
..
app.component.html feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00
app.component.scss feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00
app.component.spec.ts refactor(devtools): migrate devtools to prettier formatting (#53945) 2024-01-19 19:09:54 +01:00
app.component.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
app.module.ts Revert "Revert "refactor(devtools): implement multiframe support in devtools page (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
backend.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
background.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
BUILD.bazel fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805) 2024-03-26 09:19:16 -07:00
chrome-application-environment.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
chrome-application-operations.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
chrome-message-bus.ts refactor(devtools): enables typescript strict option (#53340) 2023-12-05 12:42:56 -08:00
chrome-window-extensions.ts fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805) 2024-03-26 09:19:16 -07:00
content-script.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
detect-angular-for-extension-icon.ts Revert "Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629)" (#54805) 2024-03-26 09:19:14 -07:00
ng-validate.ts fix(devtools): prevent devTools to load when not text/html document (#48021) 2022-11-17 09:35:40 -08:00
same-page-message-bus.ts refactor(devtools): migrate devtools to prettier formatting (#53945) 2024-01-19 19:09:54 +01:00
tab_manager.ts fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805) 2024-03-26 09:19:16 -07:00
tab_manager_spec.ts fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805) 2024-03-26 09:19:16 -07:00
zone-aware-chrome-message-bus.ts refactor(devtools): migrate devtools to prettier formatting (#53945) 2024-01-19 19:09:54 +01:00