mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| manifest | ||
| popups | ||
| styles | ||
| BUILD.bazel | ||
| devtools.html | ||
| devtools.ts | ||
| index.html | ||
| main.ts | ||
| styles.scss | ||