1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PM-5887] Refactor WebCryptoFunction to Remove Usage of the window Object in the Background Script (#7749)

This commit is contained in:
Cesar Gonzalez
2024-02-21 09:51:02 -06:00
committed by GitHub
parent c037b1dbbe
commit 7629652a47
2 changed files with 4 additions and 4 deletions

View File

@@ -326,7 +326,7 @@ export default class MainBackground {
? new BrowserMessagingPrivateModeBackgroundService()
: new BrowserMessagingService();
this.logService = new ConsoleLogService(false);
this.cryptoFunctionService = new WebCryptoFunctionService(window);
this.cryptoFunctionService = new WebCryptoFunctionService(self);
this.storageService = new BrowserLocalStorageService();
this.secureStorageService = new BrowserLocalStorageService();
this.memoryStorageService =