angular/devtools/projects/shell-browser
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
..
src fix(devtools): catch invalidated extension error to prevent devtools from spamming console (#55697) 2024-08-27 12:54:44 -07:00
BUILD.bazel feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00
set-version.js feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00
tslint.json feat(devtools): renaming shell-chrome (#44952) 2022-04-12 18:41:37 +00:00