Open Bug 1949462 Opened 20 days ago Updated 20 days ago

Enhance createSyncAccessHandle to support options

Categories

(Core :: Storage: Bucket File System, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jjalkanen, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

FileSystemSyncAccessHandle in Firefox currently does not permit opening the same file in multiple contexts at once. The proposed "readwrite-unsafe" and "readonly" modes would lift this restriction, allowing concurrent access to the same file from multiple workers. This is already implemented in Chrome and is requested by developers of distributed web applications (e.g., WordPress Playground, WASM-based SQLite, and pglite). In the "readwrite-unsafe" mode, concurrency control becomes the application’s responsibility (e.g., delegated to SQLite’s transaction system). This feature could live behind a pref, enabled only in Nightly builds initially.

Depends on: 1949463
Depends on: 1949467
Blocks: 1934754
You need to log in before you can comment on or make changes to this bug.