-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/background: use browser polyfill
- Loading branch information
Showing
1 changed file
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WIP] I plan to remove this check and update some more logic in this 0047146 commit
@jpuri It seems that when we only send the message to the active tab of the currentWindow, we might miss the dapp contentscript(s). When this happens, I get into a state in which I cannot reactivate the dapp streams.
I think we might want to send the message to all of the tabs to ensure we reestablish the streams for all related dapps, unless we have a better way to query or filter out the dapp tabs.