Open
Bug 1444659
Opened 7 years ago
Updated 2 years ago
Use definitions in nsMimeTypes.h rather than hardcoded mime type strings
Categories
(Core :: Audio/Video: Playback, enhancement, P5)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: videetssinghai, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Expected results:
Mime type definitions are stored in network/mime/public/nsMimeTypes.h. There are various place in the source code where hardcoded mime type strings should be replaced by these definitions.
For eg. replace "audio/mp4" with the AUDIO_MP4.
For now, we can start with these files - https://searchfox.org/mozilla-central/search?q=MEDIAMIMETYPE&case=true®exp=false&path
Reporter | ||
Updated•7 years ago
|
Component: Untriaged → General
Version: 60 Branch → Trunk
Comment 1•7 years ago
|
||
Moving to the right component. Would you be willing to submit a patch for the AV team's consideration?
Component: General → Audio/Video: Playback
Product: Firefox → Core
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•