mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Destroy uses window.removeEventListener but the ChromeMessageBus doesn't actually depend on a window object.
In practice this code is unlikely to ever be reached. If a tab is closed the entire context script JS process is killed so this is not an bug that would be very common or even reachable. That being said for correctness this should not be using window.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| demo-no-zone | ||
| ng-devtools | ||
| ng-devtools-backend | ||
| protocol | ||
| shared-utils | ||
| shell-browser | ||