forked from duckduckgo/duckduckgo-privacy-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable ServiceWorker initiated request blocking
A bug in the chrome.declarativeNetRequest API[1] meant that extensions could block requests initiated by other extensions. This cross-extension request blocking wasn't supposed to be possible[2], and led to lots of issues for users with multiple browser extensions installed (for example, see this Privacy Badger bug report[3]). These cross-extension requests weren't associated with a tabId, and so could not be differentiated from other such requests - including ServiceWorker initiated requests. As a workaround, to avoid breaking the other extensions our users might have installed, we stopped blocking any requests with no associated tabId. Since then, we have fixed the bug in Chrome[4], and that fix was release with Chrome 128. So let's re-enable ServiceWorker initiated request blocking again and increase the minimum supported Chrome version to 128. 1 - https://crbug.com/40896400 2 - w3c/webextensions#369 3 - EFForg/privacybadger#2968 4 - https://chromiumdash.appspot.com/commit/486d638e6977dad73bd207dc914df9319afac152
- Loading branch information
Showing
6 changed files
with
3 additions
and
139 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
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
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
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
This file was deleted.
Oops, something went wrong.
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