This code introduces the thread activity store sqlite ops to web worker
Depends on D11614
Paths
| Differential D11615 Authored by will on Apr 9 2024, 10:58 PM.
Details Summary This code introduces the thread activity store sqlite ops to web worker Depends on D11614 Test Plan Ran the following code on web and confirmed the results: await sharedWorker.schedule({ type: workerRequestMessageTypes.PROCESS_STORE_OPERATIONS, storeOperations: { threadActivityStoreOperations: [ { type: 'replace_thread_activity_entry', payload: { id: 'worker_test_A_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 1, lastPruned: 2, }), }, }, { type: 'replace_thread_activity_entry', payload: { id: 'worker_test_B_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 3, lastPruned: 4, }), }, }, { type: 'remove_thread_activity_entries', payload: { ids: ['worker_test_B_id'], }, }, ], }, });
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptApr 9 2024, 10:58 PM2024-04-09 22:58:38 (UTC-7) will edited the summary of this revision. (Show Details)Apr 9 2024, 10:59 PM2024-04-09 22:59:11 (UTC-7) will added a parent revision: D11614: [sqlite] Implement C++ code for native to get sqlite thread activity entries. Harbormaster completed remote builds in B28118: Diff 38974.Apr 9 2024, 11:13 PM2024-04-09 23:13:51 (UTC-7) This revision is now accepted and ready to land.Apr 10 2024, 5:42 AM2024-04-10 05:42:18 (UTC-7) Closed by commit rCOMMc175e1714d27: [sqlite] Implement processing thread activity on web worker (authored by will). · Explain WhyApr 19 2024, 1:08 PM2024-04-19 13:08:55 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 39321 lib/types/store-ops-types.js
web/shared-worker/worker/process-operations.js
|