1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-04 05:08:06 +02:00
bitwarden-browser/libs
Cesar Gonzalez f51042f813
[PM-7810] Handle Multithread Decryption Through Offscreen API (#8978)
* [PM-7810] Handle Multithread Decryption through Offscreen API

* [PM-7810] Handle Multithread Decryption through Offscreen API

* Use a service to track when to open and close offscreen document

There some strangeness around maintaining the offscreen document for more callbacks, that need not have the same reasons and justifications as the original.

We'd need to test, but perhaps the intent is something closer to maintaining a work queue ourselves and creating the offscreen page for only a single reason as it comes in, then waiting for that page to close before opening another.

* [PM-7810] Handle Multithread Decryption through Offscreen API

* [PM-7810] Handle Multithread Decryption through Offscreen API

* [PM-7810] Handle Multithread Decryption through Offscreen API

* [PM-7810] Handle Multithread Decryption through Offscreen API

* [PM-7810] Implementing jest tests for OffscreenDocument and BrowserMultithreadEncryptServiceImplementation

* [PM-7810] Separating out the process by which we get decrypted items from the web worker to ensure we do not do duplicate effort

* [PM-7810] Separating out the process by which we get decrypted items from the web worker to ensure we do not do duplicate effort

* Prefer builtin promise flattening

* [PM-7810] Introducing a fallback to the MultithreadEncryptServiceImplementation to ensure we can fallback to single thread decryption if necessary

* [PM-7810] Updating documentation

* [PM-7810] Fixing implementation to leverage the new OffscreenDocumentService

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2024-05-02 16:12:41 +00:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
admin-console create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00
angular [PM-3483] Remove migrateKeyForNeverLockIfNeeded Logic (#8953) 2024-05-01 15:50:40 -04:00
auth [PM-6688] Use AccountService as account source (#8893) 2024-04-30 09:13:02 -04:00
billing create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00
common [PM-7810] Handle Multithread Decryption Through Offscreen API (#8978) 2024-05-02 16:12:41 +00:00
components [CL-220] item components (#8870) 2024-04-30 10:27:47 -04:00
importer [PM-5735] Create kdf Service (#8715) 2024-04-25 11:26:01 -07:00
node [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
platform create team owned libs for billing, admin-console, platform (#7233) 2023-12-15 09:02:21 -05:00
shared [AC-2356] Use safeProvider in web core services module (#8521) 2024-04-08 07:59:12 +10:00
tools [PM-5735] Create kdf Service (#8715) 2024-04-25 11:26:01 -07:00
vault [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00