angular/devtools/projects/shell-browser/src
AleksanderBodurri bfda774995 fix(devtools): catch invalidated extension error to prevent devtools from spamming console (#55697)
When a browser extension is updated it becomes invalidated on currently open pages. If that extension then tries to send a message to those pages through `chrome.runtime.sendMessage(..)` then an error is thrown in the console

For Angular DevTools, this results in spamming the console with "Uncaught Error: Extension context invalidated." errors.

This commit catches that error and removes the event listener that triggers the `chrome.runtime.sendMessage(...)` call.

PR Close #55697
2024-08-27 12:54:44 -07:00
..
app fix(devtools): catch invalidated extension error to prevent devtools from spamming console (#55697) 2024-08-27 12:54:44 -07:00
assets refactor(devtools): migrate devtools to prettier formatting (#53945) 2024-01-19 19:09:54 +01:00
environments refactor(devtools): remove git sha stamping from devtools build (#55694) 2024-05-06 16:02:36 -07:00
manifest release: bump Angular DevTools to 1.0.17 (#57221) 2024-08-02 16:53:13 +00:00
popups refactor(devtools): update links to the new docs (angular.dev) (#56138) 2024-06-03 17:38:11 +00:00
styles feat(devtools): Create browser specific styles for chrome and firefox (#46037) 2022-05-23 14:00:10 -07:00
BUILD.bazel refactor(devtools): remove git sha stamping from devtools build (#55694) 2024-05-06 16:02:36 -07:00
devtools.html docs: add the title tag (#51199) 2023-08-01 11:54:36 -07:00
devtools.ts feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00
index.html feat(devtools): support icons in offline mode (#45430) (#45743) 2022-05-12 09:17:05 -07:00
main.ts refactor(devtools): migrate devtools to prettier formatting (#53945) 2024-01-19 19:09:54 +01:00
styles.scss refactor(devtools): consolidate devtools global styles into 1 file (#49001) 2023-02-14 20:25:23 +01:00