Closed
Bug 1656099
Opened 4 years ago
Closed 4 years ago
AVIF (AV1 Image File Format): sniff MIME type from content
Categories
(Core :: Graphics: ImageLib, enhancement, P3)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: jbauman, Assigned: jbauman)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Since image/avif
is a new MIME type, it may be some time before web servers correctly populate the Content-Type
headers of AVIF responses. Additionally, web developers may not always have access to this level of configuration for the hosts serving their content. As such, examining the beginning of the content itself to determine whether we are receiving an AVIF image will lead to a more useful behavior for users.
The logic to do this for other image types is in imgLoader::GetMimeTypeFromContent
.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Severity: -- → S4
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D85503
Pushed by abutkovits@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24c3d2bc9951
AVIF (AV1 Image File Format): sniff MIME type from content. r=aosmond
https://hg.mozilla.org/integration/autoland/rev/dc86316b4008
Fix formatting r=aosmond
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/24c3d2bc9951
https://hg.mozilla.org/mozilla-central/rev/dc86316b4008
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•