Closed
Bug 1840810
Opened 2 years ago
Closed 2 years ago
Preserve known content type on OPFS move and rename without better information
Categories
(Core :: DOM: File, defect, P3)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: jjalkanen, Assigned: jjalkanen)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Currently, when file system entries are moved or renamed, the content types of files are guessed eagerly. If the new content type cannot be detemined, the value will be unset. Instead, it might be better to keep the old type to allow use cases such as naming "2023-06-28-12345.png" to "giraffes".
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D184966
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D184967
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D185428
Updated•2 years ago
|
Attachment #9346532 -
Attachment description: Bug 1840810 - Preserve old content type of OPFS files when new type cannot be determined. r=#dom-storage → WIP: Bug 1840810 - Preserve old content type of OPFS files when new type cannot be determined. r=#dom-storage
Updated•2 years ago
|
Attachment #9347390 -
Attachment description: Bug 1840810 - Use Verbose instead of Log Severity for QM_OR_ELSE_LOG_VERBOSE. r=#dom-storage → WIP: Bug 1840810 - Use Verbose instead of Log Severity for QM_OR_ELSE_LOG_VERBOSE. r=#dom-storage
Updated•2 years ago
|
Attachment #9347391 -
Attachment description: Bug 1840810 - Preserve file content type when new name is unreadable or has no extension. r=#dom-storage → WIP: Bug 1840810 - Preserve file content type when new name is unreadable or has no extension. r=#dom-storage
Updated•2 years ago
|
Attachment #9346532 -
Attachment description: WIP: Bug 1840810 - Preserve old content type of OPFS files when new type cannot be determined. r=#dom-storage → Bug 1840810 - Preserve old content type of OPFS files when new type cannot be determined. r=#dom-storage
Updated•2 years ago
|
Attachment #9347390 -
Attachment description: WIP: Bug 1840810 - Use Verbose instead of Log Severity for QM_OR_ELSE_LOG_VERBOSE. r=#dom-storage → Bug 1840810 - Use Verbose instead of Log Severity for QM_OR_ELSE_LOG_VERBOSE. r=#dom-storage
Updated•2 years ago
|
Attachment #9347391 -
Attachment description: WIP: Bug 1840810 - Preserve file content type when new name is unreadable or has no extension. r=#dom-storage → Bug 1840810 - Preserve file content type when new name is unreadable or has no extension. r=#dom-storage
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/933065470eb1
Preserve old content type of OPFS files when new type cannot be determined. r=dom-storage-reviewers,janv
https://hg.mozilla.org/integration/autoland/rev/58092ecd9ae1
Use Verbose instead of Log Severity for QM_OR_ELSE_LOG_VERBOSE. r=dom-storage-reviewers,janv
https://hg.mozilla.org/integration/autoland/rev/87c32bc1bde7
Preserve file content type when new name is unreadable or has no extension. r=dom-storage-reviewers,janv
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/933065470eb1
https://hg.mozilla.org/mozilla-central/rev/58092ecd9ae1
https://hg.mozilla.org/mozilla-central/rev/87c32bc1bde7
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•