This is using Emscripten virtual file API.
Gets/puts file content on which the native module operates.
Only worker (one thread) operates on file using synchronous API - there should be no problems with locks/parallel access.
Paths
| Differential D8559 Authored by kamil on Jul 19 2023, 7:02 AM.
Tags None Referenced Files
Subscribers
Details Summary This is using Emscripten virtual file API. Gets/puts file content on which the native module operates. Only worker (one thread) operates on file using synchronous API - there should be no problems with locks/parallel access. Test Plan Tests.
Diff Detail
Event Timelinekamil held this revision as a draft. Herald added a subscriber: ashoat. · View Herald TranscriptJul 19 2023, 7:02 AM2023-07-19 07:02:11 (UTC-7) Harbormaster completed remote builds in B21038: Diff 28834.Jul 19 2023, 7:50 AM2023-07-19 07:50:47 (UTC-7) This revision is now accepted and ready to land.Jul 21 2023, 6:31 AM2023-07-21 06:31:13 (UTC-7) kamil edited parent revisions, added: D8611: [web] implement function to clear database content; removed: D8558: [web] rework database module tests to use CommQueryExecutor.Jul 25 2023, 2:03 AM2023-07-25 02:03:54 (UTC-7) Harbormaster failed remote builds in B21167: Diff 29000!Jul 25 2023, 2:44 AM2023-07-25 02:44:08 (UTC-7) Harbormaster completed remote builds in B21167: Diff 29000.Jul 27 2023, 5:00 AM2023-07-27 05:00:02 (UTC-7) kamil edited the summary of this revision. (Show Details)Jul 27 2023, 5:09 AM2023-07-27 05:09:49 (UTC-7) Harbormaster completed remote builds in B21269: Diff 29119.Jul 27 2023, 5:27 AM2023-07-27 05:27:10 (UTC-7) Closed by commit rCOMM2c4ed0da9cf0: [web] implement functions to import/export database content (authored by kamil). · Explain WhyJul 27 2023, 5:40 AM2023-07-27 05:40:01 (UTC-7) This revision was automatically updated to reflect the committed changes. Comment Actions
Thanks for catching it, fixed in D8653
Revision Contents
Diff 29126 web/database/utils/db-utils.js
web/database/utils/worker-crypto-utlis.test.js
|