1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00
bitwarden-browser/apps/browser
Matt Gibson 5b5c165e10
[PM-8847] Delay browser local storage operations during reseed (#9536)
* Define matchers to test promise fulfillment

These are useful for validating that promises depend on other events prior to fulfilling.

* Expose custom matchers to jest projects

Team-specific projects are not touched here to try and reduce review burden.

* Block browser local operations awaiting reseed

This should closes a narrow race condition resulting from storage operations during a reseed event.

* Import from barrel file

This might fix the failing test, but I'm not sure _why_

* Document helper methods

* Validate as few properties as possible per test

* Simplify expected value representation

* Allow waiting in promise matchers

* Specify resolution times in promise orchestration tests.

* Test behavior triggering multiple reseeds.

* Fix typo

* Avoid testing implementation details

* Clear reseed on startup

in case a previous process was aborted in the middle of a reseed.

* Correct formatting
2024-07-19 16:12:29 -04:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
config [PM-8391] turn on enableCipherKeyEncryption flag (#9362) 2024-06-18 12:11:10 -05:00
spec Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
src [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
store Autosync the updated translations (#10176) 2024-07-19 11:06:53 +00:00
.eslintrc.json [PM-5743] Implement eslint rule for usage of window object in background script (#7849) 2024-03-29 15:55:23 +00:00
.gitignore Ps/pm 2910/browser header component (#6641) 2023-10-25 18:27:32 +00:00
crowdin.yml Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
gulpfile.js Fix Beta Version (#8944) 2024-04-29 13:40:44 -04:00
jest.config.js Ps/pm 5533/migrate decrypted user key (#7970) 2024-02-22 15:07:26 -05:00
package.json Bumped client version(s) (#10123) 2024-07-15 17:09:09 +00:00
postcss.config.js [PM-2237] Add tailwind to desktop & browser (#5326) 2023-07-14 15:03:42 -04:00
README.md [PM-5632] Update Bitwarden extension review URLs (#7470) 2024-01-08 21:08:18 +01:00
tailwind.config.js [PM-8803] Edit Custom Fields (#10054) 2024-07-17 09:11:42 -05:00
test.setup.ts [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
tsconfig.json [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
tsconfig.spec.json [PM-3285] Autofill v2 Feature Branch (#5939) 2023-09-07 15:33:04 -05:00
webpack.config.js [PM-5189] Fix issues with inline menu rendering in iframes and SPA websites (#8431) 2024-07-15 11:57:21 -05:00

Github Workflow build browser on master Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Browser Extension

The Bitwarden browser extension is written using the Web Extension API and Angular.

My Vault

Documentation

Please refer to the Browser section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.