Start using XPCOM streams in WritableFileStream implementation
Categories
(Core :: DOM: File, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: janv, Assigned: jjalkanen)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 9 obsolete files)
The goal here is almost the same as in bug 1790960. We need to change WritableFileStream implementation the same way as we changed FileSystemSyncAccessHandle. The good news is that all necessary infrastructure should already be there and we can use https://phabricator.services.mozilla.com/D157808 as a template.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Signaling finish to the child side is technically racey.
Depends on D161892
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D162319
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
OPFS disallows all overwrites but for web compatibility,
but in such a case, according to web platform tests
[move(dir) while the destination file has an open writable fails]
[move(dir, name) while the destination file has an open writable fails]
we should check if the destination is locked and return the appropriate error.
Comment 6•1 year ago
|
||
Comment on attachment 9304933 [details]
Bug 1798513 - Return invalid modification when trying to overwrite locked files. r=#dom-storage
Revision D162859 was moved to bug 1802278. Setting attachment 9304933 [details] to obsolete.
Comment 7•1 year ago
|
||
Comment on attachment 9303936 [details]
Bug 1798513 - Unlock file before resolving request at exit. r=#dom-storage
Revision D162318 was moved to bug 1802281. Setting attachment 9303936 [details] to obsolete.
Comment 8•1 year ago
|
||
Comment on attachment 9303938 [details]
Bug 1798513 - Prevent moving and removing directories containing locked files. r=#dom-storage
Revision D162320 was moved to bug 1802282. Setting attachment 9303938 [details] to obsolete.
Assignee | ||
Comment 9•1 year ago
|
||
Depends on D162328
Assignee | ||
Comment 10•1 year ago
|
||
To ensure proper shutdown, file manager must belong to a Navigator -> StorageManager chain.
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 11•1 year ago
|
||
Depends on D165730
Assignee | ||
Comment 12•1 year ago
|
||
Depends on D162328
Assignee | ||
Comment 13•1 year ago
|
||
Depends on D165732
Updated•1 year ago
|
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/428ea11e738d Replace USVString with UTF8String in union types with Blob getter. r=nika
Comment 15•1 year ago
|
||
Backed out 2 changesets (Bug 1798513, Bug 1808009) for causing failures in FileSystemDirectoryHandle-removeEntry.https.any.worker.html CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=401967351&repo=autoland&lineNumber=2217
Backout: https://hg.mozilla.org/integration/autoland/rev/044ca2c92694976dd00589c0b164de96206d4940
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Updated•1 year ago
|
Comment 17•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66365f933f12 Replace USVString with UTF8String in union types with Blob getter. r=nika
Comment 18•1 year ago
|
||
bugherder |
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37935 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Assignee | ||
Comment 21•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 22•1 year ago
|
||
Depends on D168796
Comment 23•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/988005a2523f Start using XPCOM streams in WritableFileStream implementation. r=dom-storage-reviewers,janv,ipc-reviewers,nika https://hg.mozilla.org/integration/autoland/rev/062ccfbbdc9a Perform stateful WritableFileStream shutdown. r=dom-storage-reviewers,janv
Comment 24•1 year ago
|
||
Comment on attachment 9316617 [details]
Bug 1798513 - Deserialize RandomAccessStream on WritableFileStream TaskQueue. r=#dom-storage
Revision D169226 was moved to bug 1815837. Setting attachment 9316617 [details] to obsolete.
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Comment 25•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/988005a2523f
https://hg.mozilla.org/mozilla-central/rev/062ccfbbdc9a
Updated•1 year ago
|
Description
•