Open
Bug 1949521
Opened 1 year ago
Updated 5 months ago
Implement passing createSyncAccessHandle options all the way to FileSystemDataManager
Categories
(Core :: Storage: Bucket File System, task)
Core
Storage: Bucket File System
Tracking
()
ASSIGNED
People
(Reporter: jari, Assigned: jari)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
Attachments
(2 files)
In the spec, the options are defined with
enum FileSystemSyncAccessHandleMode {
"readwrite",
"read-only",
"readwrite-unsafe",
};
dictionary FileSystemCreateSyncAccessHandleOptions {
FileSystemSyncAccessHandleMode mode = "readwrite";
};
interface FileSystemFileHandle : FileSystemHandle {
...
Promise<FileSystemSyncAccessHandle> createSyncAccessHandle(
optional FileSystemCreateSyncAccessHandleOptions options = {});
};
interface FileSystemSyncAccessHandle {
...
readonly attribute USVString mode; // available via attribute
};
The implementation should be gated behind the related preference.
In the scope of this bug, the options can be passed all the way to FileSystemDataManager where locking is done.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → jjalkanen
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•